Uses of Interface
com.sun.enterprise.module.HK2Module
Packages that use HK2Module
Package
Description
-
Uses of HK2Module in com.sun.enterprise.module
Methods in com.sun.enterprise.module that return HK2ModuleModifier 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.HK2Module.addImport(ModuleDependency dependency) Create and add a new module to this module's list of imports.Finds theHK2Modulethat owns the given class.ModulesRegistry.getProvidingModule(String providerClassName) Gets theHK2Modulethat provides the provider of the given name.ModulesRegistry.makeModuleFor(String packageName) Find and return a loaded HK2Module that has the package name in its list of exported interfaces.ModulesRegistry.makeModuleFor(String name, String version) Returns theHK2Moduleinstance giving a name and version constraints.ModulesRegistry.makeModuleFor(String name, String version, boolean resolve) Returns theHK2Moduleinstance giving a name and version constraints.Methods in com.sun.enterprise.module that return types with arguments of type HK2ModuleModifier and TypeMethodDescriptionHK2Module.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 HK2Module containing at least one implementation of the passed service interface class.Methods in com.sun.enterprise.module with parameters of type HK2ModuleModifier and TypeMethodDescriptionvoidvoida module has detected that one or more of its resources (classes, jar...) has changed and should be reloaded.voidModuleLifecycleListener.moduleInstalled(HK2Module module) Callback after a module is installedvoidModuleLifecycleListener.moduleResolved(HK2Module module) Callback after a module is resolvedvoidModuleLifecycleListener.moduleStarted(HK2Module module) Callback after a module is started.voidModuleLifecycleListener.moduleStopped(HK2Module module) Callback after a module is stoppedvoidModuleLifecycleListener.moduleUpdated(HK2Module 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 HK2Module in com.sun.enterprise.module.common_impl
Fields in com.sun.enterprise.module.common_impl with type parameters of type HK2ModuleModifier and TypeFieldDescriptionprotected final ConcurrentMap<ModuleId,HK2Module> AbstractModulesRegistryImpl.modulesAbstractModulesRegistryImpl.providersService provider class names and which modules they are in.Methods in com.sun.enterprise.module.common_impl that return HK2ModuleModifier and TypeMethodDescriptionAbstractModulesRegistryImpl.add(ModuleDefinition info) Registers a new DefaultModuleDefinition in this registry.AbstractModulesRegistryImpl.add(ModuleDefinition info, boolean resolve) AbstractModulesRegistryImpl.getProvidingModule(String providerClassName) protected HK2ModuleAbstractModulesRegistryImpl.loadFromRepository(String name, String version) AbstractModulesRegistryImpl.makeModuleFor(String packageName) Find and return a loaded HK2Module that has the package name in its list of exported interfaces.AbstractModulesRegistryImpl.makeModuleFor(String name, String version) Returns theHK2Moduleinstance giving a name and version constraints.AbstractModulesRegistryImpl.makeModuleFor(String name, String version, boolean resolve) protected abstract HK2ModuleAbstractModulesRegistryImpl.newModule(ModuleDefinition moduleDef) Factory method for creating new instances of HK2Module.Methods in com.sun.enterprise.module.common_impl that return types with arguments of type HK2ModuleModifier 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 HK2Module containing at least one implementation of the passed service interface class.Methods in com.sun.enterprise.module.common_impl with parameters of type HK2ModuleModifier and TypeMethodDescriptionprotected voidAdd a new module to this registry.voidModules can notify their registry that they have changed (classes, resources,etc...).protected abstract List<org.glassfish.hk2.api.ActiveDescriptor>AbstractModulesRegistryImpl.parseInhabitants(HK2Module module, String name, org.glassfish.hk2.api.ServiceLocator serviceLocator, List<org.glassfish.hk2.api.PopulatorPostProcessor> postProcessors) voidRemoves a module from the registry. -
Uses of HK2Module in com.sun.enterprise.module.impl
Classes in com.sun.enterprise.module.impl that implement HK2ModuleModifier and TypeClassDescriptionfinal classA module represents a set of resources accessible to third party modules.Methods in com.sun.enterprise.module.impl that return HK2ModuleModifier and TypeMethodDescriptionModuleImpl.addImport(ModuleDependency dependency) Create and add a new module to this module's list of imports.protected HK2ModuleModulesRegistryImpl.newModule(ModuleDefinition moduleDef) Methods in com.sun.enterprise.module.impl that return types with arguments of type HK2ModuleMethods in com.sun.enterprise.module.impl with parameters of type HK2ModuleModifier and TypeMethodDescriptionvoidprotected List<org.glassfish.hk2.api.ActiveDescriptor>ModulesRegistryImpl.parseInhabitants(HK2Module module, String name, org.glassfish.hk2.api.ServiceLocator serviceLocator, List<org.glassfish.hk2.api.PopulatorPostProcessor> postProcessors) -
Uses of HK2Module in com.sun.enterprise.module.single
Classes in com.sun.enterprise.module.single that implement HK2ModuleModifier and TypeClassDescriptionclassCreates a HK2Module implementation based on a single class loaderMethods in com.sun.enterprise.module.single that return HK2ModuleModifier 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 HK2ModuleModifier 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 HK2ModuleModifier and TypeMethodDescriptionvoidprotected List<org.glassfish.hk2.api.ActiveDescriptor>ClassPathBasedModulesRegistry.parseInhabitants(HK2Module module, String name, org.glassfish.hk2.api.ServiceLocator serviceLocator, List<org.glassfish.hk2.api.PopulatorPostProcessor> postProcessors) protected List<org.glassfish.hk2.api.ActiveDescriptor>SingleModulesRegistry.parseInhabitants(HK2Module module, String name, org.glassfish.hk2.api.ServiceLocator serviceLocator, List<org.glassfish.hk2.api.PopulatorPostProcessor> postProcessors)