Top Description Fields Constructors Methods
com.sun.enterprise.module.single

public Class StaticModulesRegistry

extends SingleModulesRegistry
Class Inheritance
Imports
com.sun.enterprise.module.bootstrap.StartupContext, java.util.List, .Properties, org.glassfish.hk2.api.DynamicConfiguration, .DynamicConfigurationService, .MultiException, .ServiceLocator, org.glassfish.hk2.utilities.BuilderHelper, .IgnoringErrorService

Implementation of the modules registry that use a single class loader to load all available classes. There is one virtual module available in the modules registry and that module's class loader is the single class loader used to load all artifacts.
Author
Jerome Dochez

Field Summary

Modifier and TypeField and Description
private final StartupContext
Inherited from com.sun.enterprise.module.single.SingleModulesRegistry:
proxyModsingleClassLoader

Constructor Summary

AccessConstructor and Description
public
public
public

Method Summary

Modifier and TypeMethod and Description
public ServiceLocator
public void
Inherited from com.sun.enterprise.module.single.SingleModulesRegistry:
findgetModulesgetModulesmakeModuleForparseInhabitants

Field Detail

startupContextback to summary
private final StartupContext startupContext

Constructor Detail

StaticModulesRegistryback to summary
public StaticModulesRegistry(ClassLoader singleCL)
StaticModulesRegistryback to summary
public StaticModulesRegistry(ClassLoader singleCL, StartupContext startupContext)
StaticModulesRegistryback to summary
public StaticModulesRegistry(ClassLoader singleCL, List<ManifestProxy.SeparatorMappings> mappings, StartupContext startupContext)

Method Detail

createServiceLocatorback to summary
public ServiceLocator createServiceLocator(String name) throws MultiException

Overrides com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createServiceLocator.

Implements com.sun.enterprise.module.ModulesRegistry.createServiceLocator.

Doc from com.sun.enterprise.module.ModulesRegistry.createServiceLocator.

Creates a ServiceLocator from all the modules in this registry Cal;ling this method has the same effect of calling newServiceLocator() followed by org.glassfish.hk2.api.ServiceLocator, java.util.List.

Annotations
@Override
populateConfigback to summary
public void populateConfig(ServiceLocator serviceLocator)

Overrides com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.populateConfig.

Implements com.sun.enterprise.module.ModulesRegistry.populateConfig.

Annotations
@Override