Uses of Interface
com.sun.enterprise.module.Module
-
Packages that use Module Package Description 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 Modifier and Type Method Description 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 theModule
that owns the given class.Module
ModulesRegistry. getProvidingModule(String providerClassName)
Gets theModule
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 theModule
instance giving a name and version constraints.Module
ModulesRegistry. makeModuleFor(String name, String version, boolean resolve)
Returns theModule
instance giving a name and version constraints.Methods in com.sun.enterprise.module that return types with arguments of type Module Modifier and Type Method Description 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 nameIterable<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 Modifier and Type Method Description 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 installedvoid
ModuleLifecycleListener. moduleResolved(Module module)
Callback after a module is resolvedvoid
ModuleLifecycleListener. moduleStarted(Module module)
Callback after a module is started.void
ModuleLifecycleListener. moduleStopped(Module module)
Callback after a module is stoppedvoid
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 thePREPARING
phase.void
LifecyclePolicy. start(Module module)
Callback when the module enters theREADY
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 Modifier and Type Field Description 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 Modifier and Type Method Description 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 theModule
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 Modifier and Type Method Description 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 Modifier and Type Method Description 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, List<PopulatorPostProcessor> postProcessors)
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 Modifier and Type Class Description class
ModuleImpl
A module represents a set of resources accessible to third party modules.Methods in com.sun.enterprise.module.impl that return Module Modifier and Type Method Description 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 Modifier and Type Method Description List<Module>
ModuleImpl. getImports()
Returns the list of imported modulesMethods in com.sun.enterprise.module.impl with parameters of type Module Modifier and Type Method Description void
ModuleImpl. addImport(Module module)
protected List<ActiveDescriptor>
ModulesRegistryImpl. parseInhabitants(Module module, String name, ServiceLocator serviceLocator, List<PopulatorPostProcessor> postProcessors)
-
Uses of Module in com.sun.enterprise.module.single
Classes in com.sun.enterprise.module.single that implement Module Modifier and Type Class Description class
ProxyModule
Creates a Module implementation based on a single class loaderMethods in com.sun.enterprise.module.single that return Module Modifier and Type Method Description 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 Modifier and Type Method Description List<Module>
ProxyModule. getImports()
Collection<Module>
ClassPathBasedModulesRegistry. getModules()
Collection<Module>
ClassPathBasedModulesRegistry. getModules(String moduleName)
Collection<Module>
SingleModulesRegistry. getModules()
Collection<Module>
SingleModulesRegistry. getModules(String moduleName)
Methods in com.sun.enterprise.module.single with parameters of type Module Modifier and Type Method Description void
ProxyModule. addImport(Module module)
protected List<ActiveDescriptor>
ClassPathBasedModulesRegistry. parseInhabitants(Module module, String name, ServiceLocator serviceLocator, List<PopulatorPostProcessor> postProcessors)
protected List<ActiveDescriptor>
SingleModulesRegistry. parseInhabitants(Module module, String name, ServiceLocator serviceLocator, List<PopulatorPostProcessor> postProcessors)
-