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 ModuleModulesRegistry. add(ModuleDefinition info)Registers a new DefaultModuleDefinition in this registry.ModuleModulesRegistry. add(ModuleDefinition info, boolean resolve)Registers a new DefaultModuleDefinition in this registry.ModuleModule. addImport(ModuleDependency dependency)Create and add a new module to this module's list of imports.ModuleModulesRegistry. find(java.lang.Class clazz)Finds theModulethat owns the given class.ModuleModulesRegistry. getProvidingModule(java.lang.String providerClassName)Gets theModulethat provides the provider of the given name.ModuleModulesRegistry. makeModuleFor(java.lang.String packageName)Find and return a loaded Module that has the package name in its list of exported interfaces.ModuleModulesRegistry. makeModuleFor(java.lang.String name, java.lang.String version)Returns theModuleinstance giving a name and version constraints.ModuleModulesRegistry. makeModuleFor(java.lang.String name, java.lang.String version, boolean resolve)Returns theModuleinstance 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 java.util.List<Module>Module. getImports()Returns the list of imported modules.java.util.Collection<Module>ModulesRegistry. getModules()Returns the list of shared Modules registered in this instance.java.util.Collection<Module>ModulesRegistry. getModules(java.lang.String moduleName)Returns the list of shared Modules registered in this instance whose name matches the given namejava.lang.Iterable<Module>ModulesRegistry. getModulesProvider(java.lang.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 voidModule. addImport(Module module)voidModuleChangeListener. changed(Module sender)a module has detected that one or more of its resources (classes, jar...) has changed and should be reloaded.voidModuleLifecycleListener. moduleInstalled(Module module)Callback after a module is installedvoidModuleLifecycleListener. moduleResolved(Module module)Callback after a module is resolvedvoidModuleLifecycleListener. moduleStarted(Module module)Callback after a module is started.voidModuleLifecycleListener. moduleStopped(Module module)Callback after a module is stoppedvoidModuleLifecycleListener. moduleUpdated(Module module)Callback after a module is updated.voidImportPolicy. prepare(Module module)callback from the module loading system when the module enters thePREPARINGphase.voidLifecyclePolicy. start(Module module)Callback when the module enters theREADYstate.voidLifecyclePolicy. 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 (package private) java.util.Map<Module,java.util.Map<ServiceLocator,java.util.List<ActiveDescriptor>>>AbstractModulesRegistryImpl. moduleDescriptorsprotected java.util.concurrent.ConcurrentMap<ModuleId,Module>AbstractModulesRegistryImpl. modulesprotected java.util.Map<java.lang.String,Module>AbstractModulesRegistryImpl. providersService 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 ModuleAbstractModulesRegistryImpl. add(ModuleDefinition info)Registers a new DefaultModuleDefinition in this registry.ModuleAbstractModulesRegistryImpl. add(ModuleDefinition info, boolean resolve)ModuleAbstractModulesRegistryImpl. getProvidingModule(java.lang.String providerClassName)protected ModuleAbstractModulesRegistryImpl. loadFromRepository(java.lang.String name, java.lang.String version)ModuleAbstractModulesRegistryImpl. makeModuleFor(java.lang.String packageName)Find and return a loaded Module that has the package name in its list of exported interfaces.ModuleAbstractModulesRegistryImpl. makeModuleFor(java.lang.String name, java.lang.String version)Returns theModuleinstance giving a name and version constraints.ModuleAbstractModulesRegistryImpl. makeModuleFor(java.lang.String name, java.lang.String version, boolean resolve)protected abstract ModuleAbstractModulesRegistryImpl. 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 java.util.Collection<Module>AbstractModulesRegistryImpl. getModules()Returns the list of shared Modules registered in this instance.java.util.Collection<Module>AbstractModulesRegistryImpl. getModules(java.lang.String moduleName)java.lang.Iterable<Module>AbstractModulesRegistryImpl. getModulesProvider(java.lang.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 voidAbstractModulesRegistryImpl. add(Module newModule)Add a new module to this registry.voidAbstractModulesRegistryImpl. changed(Module service)Modules can notify their registry that they have changed (classes, resources,etc...).protected abstract java.util.List<ActiveDescriptor>AbstractModulesRegistryImpl. parseInhabitants(Module module, java.lang.String name, ServiceLocator serviceLocator, java.util.List<PopulatorPostProcessor> postProcessors)voidAbstractModulesRegistryImpl. 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 classModuleImplA 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 ModuleModuleImpl. addImport(ModuleDependency dependency)Create and add a new module to this module's list of imports.ModuleModulesRegistryImpl. find(java.lang.Class clazz)protected ModuleModulesRegistryImpl. newModule(ModuleDefinition moduleDef)Methods in com.sun.enterprise.module.impl that return types with arguments of type Module Modifier and Type Method Description java.util.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 voidModuleImpl. addImport(Module module)protected java.util.List<ActiveDescriptor>ModulesRegistryImpl. parseInhabitants(Module module, java.lang.String name, ServiceLocator serviceLocator, java.util.List<PopulatorPostProcessor> postProcessors)private static booleanUtils. traverseAndFind(Module toTraverse, ModuleImpl toFind, java.util.Vector<Module> traversed)Method parameters in com.sun.enterprise.module.impl with type arguments of type Module Modifier and Type Method Description private static booleanUtils. traverseAndFind(Module toTraverse, ModuleImpl toFind, java.util.Vector<Module> traversed) -
Uses of Module in com.sun.enterprise.module.single
Classes in com.sun.enterprise.module.single that implement Module Modifier and Type Class Description classProxyModuleCreates a Module implementation based on a single class loaderFields in com.sun.enterprise.module.single declared as Module Modifier and Type Field Description (package private) Module[]SingleModulesRegistry. proxyModFields in com.sun.enterprise.module.single with type parameters of type Module Modifier and Type Field Description (package private) java.util.List<Module>ClassPathBasedModulesRegistry. modulesMethods in com.sun.enterprise.module.single that return Module Modifier and Type Method Description ModuleProxyModule. addImport(ModuleDependency dependency)ModuleClassPathBasedModulesRegistry. find(java.lang.Class clazz)ModuleSingleModulesRegistry. find(java.lang.Class clazz)ModuleClassPathBasedModulesRegistry. makeModuleFor(java.lang.String name, java.lang.String version, boolean resolve)ModuleSingleModulesRegistry. makeModuleFor(java.lang.String name, java.lang.String version, boolean resolve)Methods in com.sun.enterprise.module.single that return types with arguments of type Module Modifier and Type Method Description java.util.List<Module>ProxyModule. getImports()java.util.Collection<Module>ClassPathBasedModulesRegistry. getModules()java.util.Collection<Module>ClassPathBasedModulesRegistry. getModules(java.lang.String moduleName)java.util.Collection<Module>SingleModulesRegistry. getModules()java.util.Collection<Module>SingleModulesRegistry. getModules(java.lang.String moduleName)Methods in com.sun.enterprise.module.single with parameters of type Module Modifier and Type Method Description voidProxyModule. addImport(Module module)protected java.util.List<ActiveDescriptor>ClassPathBasedModulesRegistry. parseInhabitants(Module module, java.lang.String name, ServiceLocator serviceLocator, java.util.List<PopulatorPostProcessor> postProcessors)protected java.util.List<ActiveDescriptor>SingleModulesRegistry. parseInhabitants(Module module, java.lang.String name, ServiceLocator serviceLocator, java.util.List<PopulatorPostProcessor> postProcessors)
-