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 theModulethat owns the given class.ModulesRegistry.getProvidingModule(String providerClassName) Gets theModulethat 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 theModuleinstance giving a name and version constraints.ModulesRegistry.makeModuleFor(String name, 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 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 TypeMethodDescriptionvoidvoida 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.voidcallback from the module loading system when the module enters thePREPARINGphase.voidCallback when the module enters theREADYstate.voidCallback 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.moduleDescriptorsprotected final ConcurrentMap<ModuleId, Module> AbstractModulesRegistryImpl.modulesAbstractModulesRegistryImpl.providersService 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 ModuleAbstractModulesRegistryImpl.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 theModuleinstance giving a name and version constraints.AbstractModulesRegistryImpl.makeModuleFor(String name, 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 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 voidAdd a new module to this registry.voidModules 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) voidRemoves 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 classA 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 ModuleModulesRegistryImpl.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 TypeMethodDescriptionvoidprotected List<ActiveDescriptor> ModulesRegistryImpl.parseInhabitants(Module module, String name, ServiceLocator serviceLocator, List<PopulatorPostProcessor> postProcessors) private static booleanUtils.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 booleanUtils.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 TypeClassDescriptionclassCreates 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 TypeMethodDescriptionvoidprotected 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)