File | Line |
---|
org/apache/geronimo/deployment/PluginBootstrap.java | 74 |
org/apache/geronimo/deployment/PluginBootstrap2.java | 77 |
Maven2Repository repository = new Maven2Repository(localRepo);
GBeanBuilder gBeanBuilder = new GBeanBuilder(null, null);
ServiceConfigBuilder builder = new ServiceConfigBuilder(null, Collections.singleton(repository), Collections.singleton(gBeanBuilder), new Jsr77Naming());
ConfigurationStore targetConfigurationStore = new NullConfigurationStore() {
public File createNewConfigurationDir(Artifact configId) throws ConfigurationAlreadyExistsException {
return buildDir;
}
};
ArtifactManager artifactManager = new DefaultArtifactManager();
ArtifactResolver artifactResolver = new DefaultArtifactResolver(artifactManager, Collections.singleton(repository), null);
DeploymentContext context = builder.buildConfiguration(
false,
builder.getConfigurationID(config, null, new ModuleIDBuilder()),
config,
null,
Collections.singleton(targetConfigurationStore),
artifactResolver,
targetConfigurationStore); |