|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Module | |
|---|---|
| com.sun.enterprise.module | |
| com.sun.enterprise.module.common_impl | |
| com.sun.enterprise.module.impl | |
| com.sun.enterprise.module.single | |
| Uses of Module in com.sun.enterprise.module |
|---|
| Methods in com.sun.enterprise.module that return Module | |
|---|---|
Module |
ModulesRegistry.add(ModuleDefinition info)
Registers a new DefaultModuleDefinition in this registry. |
Module |
ModulesRegistry.add(ModuleDefinition info,
boolean resolve)
Registers a new DefaultModuleDefinition in this registry. |
Module |
Module.addImport(ModuleDependency dependency)
Create and add a new module to this module's list of imports. |
Module |
ModulesRegistry.find(Class clazz)
Finds the Module that owns the given class. |
Module |
ModulesRegistry.getProvidingModule(String providerClassName)
Gets the Module that provides the provider of the given name. |
Module |
ModulesRegistry.makeModuleFor(String packageName)
Find and return a loaded Module that has the package name in its list of exported interfaces. |
Module |
ModulesRegistry.makeModuleFor(String name,
String version)
Returns the Module instance giving a name and version
constraints. |
Module |
ModulesRegistry.makeModuleFor(String name,
String version,
boolean resolve)
Returns the Module instance giving a name and version
constraints. |
| Methods in com.sun.enterprise.module that return types with arguments of type Module | |
|---|---|
List<Module> |
Module.getImports()
Returns the list of imported modules. |
Collection<Module> |
ModulesRegistry.getModules()
Returns the list of shared Modules registered in this instance. |
Collection<Module> |
ModulesRegistry.getModules(String moduleName)
Returns the list of shared Modules registered in this instance whose name matches the given name |
Iterable<Module> |
ModulesRegistry.getModulesProvider(Class serviceClass)
Returns a collection of Module containing at least one implementation of the passed service interface class. |
| Methods in com.sun.enterprise.module with parameters of type Module | |
|---|---|
void |
Module.addImport(Module module)
|
void |
ModuleChangeListener.changed(Module sender)
a module has detected that one or more of its resources (classes, jar...) has changed and should be reloaded. |
void |
ModuleLifecycleListener.moduleInstalled(Module module)
Callback after a module is installed |
void |
ModuleLifecycleListener.moduleResolved(Module module)
Callback after a module is resolved |
void |
ModuleLifecycleListener.moduleStarted(Module module)
Callback after a module is started. |
void |
ModuleLifecycleListener.moduleStopped(Module module)
Callback after a module is stopped |
void |
ModuleLifecycleListener.moduleUpdated(Module module)
Callback after a module is updated. |
void |
ImportPolicy.prepare(Module module)
callback from the module loading system when the module enters the PREPARING phase. |
void |
LifecyclePolicy.start(Module module)
Callback when the module enters the READY state. |
void |
LifecyclePolicy.stop(Module module)
Callback before the module starts being unloaded. |
| Uses of Module in com.sun.enterprise.module.common_impl |
|---|
| Fields in com.sun.enterprise.module.common_impl with type parameters of type Module | |
|---|---|
protected ConcurrentMap<ModuleId,Module> |
AbstractModulesRegistryImpl.modules
|
protected Map<String,Module> |
AbstractModulesRegistryImpl.providers
Service provider class names and which modules they are in. |
| Methods in com.sun.enterprise.module.common_impl that return Module | |
|---|---|
Module |
AbstractModulesRegistryImpl.add(ModuleDefinition info)
Registers a new DefaultModuleDefinition in this registry. |
Module |
AbstractModulesRegistryImpl.add(ModuleDefinition info,
boolean resolve)
|
Module |
AbstractModulesRegistryImpl.getProvidingModule(String providerClassName)
|
protected Module |
AbstractModulesRegistryImpl.loadFromRepository(String name,
String version)
|
Module |
AbstractModulesRegistryImpl.makeModuleFor(String packageName)
Find and return a loaded Module that has the package name in its list of exported interfaces. |
Module |
AbstractModulesRegistryImpl.makeModuleFor(String name,
String version)
Returns the Module instance giving a name and version
constraints. |
Module |
AbstractModulesRegistryImpl.makeModuleFor(String name,
String version,
boolean resolve)
|
protected abstract Module |
AbstractModulesRegistryImpl.newModule(ModuleDefinition moduleDef)
Factory method for creating new instances of Module. |
| Methods in com.sun.enterprise.module.common_impl that return types with arguments of type Module | |
|---|---|
Collection<Module> |
AbstractModulesRegistryImpl.getModules()
Returns the list of shared Modules registered in this instance. |
Collection<Module> |
AbstractModulesRegistryImpl.getModules(String moduleName)
|
Iterable<Module> |
AbstractModulesRegistryImpl.getModulesProvider(Class serviceClass)
Returns a collection of Module containing at least one implementation of the passed service interface class. |
| Methods in com.sun.enterprise.module.common_impl with parameters of type Module | |
|---|---|
protected void |
AbstractModulesRegistryImpl.add(Module newModule)
Add a new module to this registry. |
void |
AbstractModulesRegistryImpl.changed(Module service)
Modules can notify their registry that they have changed (classes, resources,etc...). |
protected abstract List<ActiveDescriptor> |
AbstractModulesRegistryImpl.parseInhabitants(Module module,
String name,
ServiceLocator serviceLocator)
|
void |
AbstractModulesRegistryImpl.remove(Module module)
Removes a module from the registry. |
| Uses of Module in com.sun.enterprise.module.impl |
|---|
| Classes in com.sun.enterprise.module.impl that implement Module | |
|---|---|
class |
ModuleImpl
A module represents a set of resources accessible to third party modules. |
| Methods in com.sun.enterprise.module.impl that return Module | |
|---|---|
Module |
ModuleImpl.addImport(ModuleDependency dependency)
Create and add a new module to this module's list of imports. |
Module |
ModulesRegistryImpl.find(Class clazz)
|
protected Module |
ModulesRegistryImpl.newModule(ModuleDefinition moduleDef)
|
| Methods in com.sun.enterprise.module.impl that return types with arguments of type Module | |
|---|---|
List<Module> |
ModuleImpl.getImports()
Returns the list of imported modules |
| Methods in com.sun.enterprise.module.impl with parameters of type Module | |
|---|---|
void |
ModuleImpl.addImport(Module module)
|
protected List<ActiveDescriptor> |
ModulesRegistryImpl.parseInhabitants(Module module,
String name,
ServiceLocator serviceLocator)
|
| Uses of Module in com.sun.enterprise.module.single |
|---|
| Classes in com.sun.enterprise.module.single that implement Module | |
|---|---|
class |
ProxyModule
Creates a Module implementation based on a single class loader |
| Methods in com.sun.enterprise.module.single that return Module | |
|---|---|
Module |
ProxyModule.addImport(ModuleDependency dependency)
|
Module |
ClassPathBasedModulesRegistry.find(Class clazz)
|
Module |
SingleModulesRegistry.find(Class clazz)
|
Module |
ClassPathBasedModulesRegistry.makeModuleFor(String name,
String version,
boolean resolve)
|
Module |
SingleModulesRegistry.makeModuleFor(String name,
String version,
boolean resolve)
|
| Methods in com.sun.enterprise.module.single that return types with arguments of type Module | |
|---|---|
List<Module> |
ProxyModule.getImports()
|
Collection<Module> |
ClassPathBasedModulesRegistry.getModules()
|
Collection<Module> |
SingleModulesRegistry.getModules()
|
Collection<Module> |
ClassPathBasedModulesRegistry.getModules(String moduleName)
|
Collection<Module> |
SingleModulesRegistry.getModules(String moduleName)
|
| Methods in com.sun.enterprise.module.single with parameters of type Module | |
|---|---|
void |
ProxyModule.addImport(Module module)
|
protected List<ActiveDescriptor> |
ClassPathBasedModulesRegistry.parseInhabitants(Module module,
String name,
ServiceLocator serviceLocator)
|
protected List<ActiveDescriptor> |
SingleModulesRegistry.parseInhabitants(Module module,
String name,
ServiceLocator serviceLocator)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||