Uses of Interface
com.sun.enterprise.module.Module
Packages that use Module
Package
Description
-
Uses of Module in com.sun.enterprise.module
Methods in com.sun.enterprise.module that return ModuleModifier and TypeMethodDescriptionModulesRegistry.add
(ModuleDefinition info) Registers a new DefaultModuleDefinition in this registry.ModulesRegistry.add
(ModuleDefinition info, boolean resolve) Registers a new DefaultModuleDefinition in this registry.Module.addImport
(ModuleDependency dependency) Create and add a new module to this module's list of imports.Finds theModule
that owns the given class.ModulesRegistry.getProvidingModule
(String providerClassName) Gets theModule
that provides the provider of the given name.ModulesRegistry.makeModuleFor
(String packageName) Find and return a loaded Module that has the package name in its list of exported interfaces.ModulesRegistry.makeModuleFor
(String name, String version) Returns theModule
instance giving a name and version constraints.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 ModuleModifier and TypeMethodDescriptionModule.getImports()
Returns the list of imported modules.ModulesRegistry.getModules()
Returns the list of shared Modules registered in this instance.ModulesRegistry.getModules
(String moduleName) Returns the list of shared Modules registered in this instance whose name matches the given nameModulesRegistry.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 ModuleModifier and TypeMethodDescriptionvoid
void
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
callback from the module loading system when the module enters thePREPARING
phase.void
Callback when the module enters theREADY
state.void
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 ModuleModifier and TypeFieldDescription(package private) Map
<Module, Map<ServiceLocator, List<ActiveDescriptor>>> AbstractModulesRegistryImpl.moduleDescriptors
protected final ConcurrentMap
<ModuleId, Module> AbstractModulesRegistryImpl.modules
AbstractModulesRegistryImpl.providers
Service provider class names and which modules they are in.Methods in com.sun.enterprise.module.common_impl that return ModuleModifier and TypeMethodDescriptionAbstractModulesRegistryImpl.add
(ModuleDefinition info) Registers a new DefaultModuleDefinition in this registry.AbstractModulesRegistryImpl.add
(ModuleDefinition info, boolean resolve) AbstractModulesRegistryImpl.getProvidingModule
(String providerClassName) protected Module
AbstractModulesRegistryImpl.loadFromRepository
(String name, String version) AbstractModulesRegistryImpl.makeModuleFor
(String packageName) Find and return a loaded Module that has the package name in its list of exported interfaces.AbstractModulesRegistryImpl.makeModuleFor
(String name, String version) Returns theModule
instance giving a name and version constraints.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 ModuleModifier and TypeMethodDescriptionAbstractModulesRegistryImpl.getModules()
Returns the list of shared Modules registered in this instance.AbstractModulesRegistryImpl.getModules
(String moduleName) 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 ModuleModifier and TypeMethodDescriptionprotected void
Add a new module to this registry.void
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
Removes a module from the registry. -
Uses of Module in com.sun.enterprise.module.impl
Classes in com.sun.enterprise.module.impl that implement ModuleModifier and TypeClassDescriptionfinal class
A module represents a set of resources accessible to third party modules.Methods in com.sun.enterprise.module.impl that return ModuleModifier and TypeMethodDescriptionModuleImpl.addImport
(ModuleDependency dependency) Create and add a new module to this module's list of imports.protected Module
ModulesRegistryImpl.newModule
(ModuleDefinition moduleDef) Methods in com.sun.enterprise.module.impl that return types with arguments of type ModuleMethods in com.sun.enterprise.module.impl with parameters of type ModuleModifier and TypeMethodDescriptionvoid
protected List
<ActiveDescriptor> ModulesRegistryImpl.parseInhabitants
(Module module, String name, ServiceLocator serviceLocator, List<PopulatorPostProcessor> postProcessors) private static boolean
Utils.traverseAndFind
(Module toTraverse, ModuleImpl toFind, Vector<Module> traversed) Method parameters in com.sun.enterprise.module.impl with type arguments of type ModuleModifier and TypeMethodDescriptionprivate static boolean
Utils.traverseAndFind
(Module toTraverse, ModuleImpl toFind, Vector<Module> traversed) -
Uses of Module in com.sun.enterprise.module.single
Classes in com.sun.enterprise.module.single that implement ModuleModifier and TypeClassDescriptionclass
Creates a Module implementation based on a single class loaderFields in com.sun.enterprise.module.single declared as ModuleFields in com.sun.enterprise.module.single with type parameters of type ModuleMethods in com.sun.enterprise.module.single that return ModuleModifier and TypeMethodDescriptionProxyModule.addImport
(ModuleDependency dependency) ClassPathBasedModulesRegistry.makeModuleFor
(String name, String version, boolean resolve) SingleModulesRegistry.makeModuleFor
(String name, String version, boolean resolve) Methods in com.sun.enterprise.module.single that return types with arguments of type ModuleModifier and TypeMethodDescriptionProxyModule.getImports()
ClassPathBasedModulesRegistry.getModules()
ClassPathBasedModulesRegistry.getModules
(String moduleName) SingleModulesRegistry.getModules()
SingleModulesRegistry.getModules
(String moduleName) Methods in com.sun.enterprise.module.single with parameters of type ModuleModifier and TypeMethodDescriptionvoid
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)