Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractFactory - Class in com.sun.enterprise.module.common_impl
- AbstractFactory() - Constructor for class com.sun.enterprise.module.common_impl.AbstractFactory
- AbstractModulesRegistryImpl - Class in com.sun.enterprise.module.common_impl
-
The Modules Registry maintains the registry of all available module.
- AbstractModulesRegistryImpl(ModulesRegistry) - Constructor for class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
- AbstractRepositoryImpl - Class in com.sun.enterprise.module.common_impl
-
Partial implementation of
Repositorythat statically enumerates allModuleDefinitionupfront. - AbstractRepositoryImpl(String, URI) - Constructor for class com.sun.enterprise.module.common_impl.AbstractRepositoryImpl
- adapt(U) - Method in class com.sun.enterprise.module.common_impl.AdapterIterator
- AdapterIterator<T,
U> - Class in com.sun.enterprise.module.common_impl -
Iteratorimplementation that works as a filter to another iterator. - AdapterIterator(Iterator<? extends U>) - Constructor for class com.sun.enterprise.module.common_impl.AdapterIterator
- add(HK2Module) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
-
Add a new module to this registry.
- add(ModuleDefinition) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
-
Registers a new DefaultModuleDefinition in this registry.
- add(ModuleDefinition) - Method in class com.sun.enterprise.module.common_impl.AbstractRepositoryImpl
- add(ModuleDefinition) - Method in class com.sun.enterprise.module.impl.CookedLibRepository
-
Adds a new module
- add(ModuleDefinition) - Method in interface com.sun.enterprise.module.ModulesRegistry
-
Registers a new DefaultModuleDefinition in this registry.
- add(ModuleDefinition, boolean) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
- add(ModuleDefinition, boolean) - Method in interface com.sun.enterprise.module.ModulesRegistry
-
Registers a new DefaultModuleDefinition in this registry.
- add(List<URI>) - Method in class com.sun.enterprise.module.impl.CookedModuleDefinition
- addDelegate(ClassLoader) - Method in class com.sun.enterprise.module.impl.ClassLoaderProxy
- addDependency(ModuleDependency) - Method in class com.sun.enterprise.module.impl.CookedModuleDefinition
- addDescriptors(String, Collection<Descriptor>) - Method in class com.sun.enterprise.module.ModuleMetadata
- added(URI) - Method in interface com.sun.enterprise.module.RepositoryChangeListener
-
A new libary jar file was added to the repository.
- addImport(HK2Module) - Method in interface com.sun.enterprise.module.HK2Module
- addImport(HK2Module) - Method in class com.sun.enterprise.module.impl.ModuleImpl
- addImport(HK2Module) - Method in class com.sun.enterprise.module.single.ProxyModule
- addImport(ModuleDependency) - Method in interface com.sun.enterprise.module.HK2Module
-
Create and add a new module to this module's list of imports.
- addImport(ModuleDependency) - Method in class com.sun.enterprise.module.impl.ModuleImpl
-
Create and add a new module to this module's list of imports.
- addImport(ModuleDependency) - Method in class com.sun.enterprise.module.single.ProxyModule
- addLibrary(URI) - Method in class com.sun.enterprise.module.common_impl.AbstractRepositoryImpl
- addListener(ModuleChangeListener) - Method in interface com.sun.enterprise.module.HK2Module
-
Add a new module change listener
- addListener(ModuleChangeListener) - Method in class com.sun.enterprise.module.impl.ModuleImpl
-
Add a new module change listener
- addListener(ModuleChangeListener) - Method in class com.sun.enterprise.module.single.ProxyModule
- addListener(RepositoryChangeListener) - Method in class com.sun.enterprise.module.common_impl.AbstractRepositoryImpl
-
Add a listener to changes happening to this repository.
- addListener(RepositoryChangeListener) - Method in class com.sun.enterprise.module.common_impl.DirectoryBasedRepository
- addListener(RepositoryChangeListener) - Method in interface com.sun.enterprise.module.Repository
-
Add a listener to changes happening to this repository.
- addPublicInterface(String) - Method in class com.sun.enterprise.module.impl.CookedModuleDefinition
- addRepository(Repository) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
-
Add a new
Repositoryto this registry. - addRepository(Repository) - Method in interface com.sun.enterprise.module.ModulesRegistry
-
Add a new
Repositoryto this registry. - addRepository(Repository, int) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
-
Add a new
Repositoryto this registry. - addRepository(Repository, int) - Method in interface com.sun.enterprise.module.ModulesRegistry
-
Add a new
Repositoryto this registry. - addRepositoryFactory(RepositoryFactory) - Method in class com.sun.enterprise.module.RepositoryFactories
-
Add a new
RepositoryFactoryto the list of repository factories. - addURL(URL) - Method in class com.sun.enterprise.module.impl.ClassLoaderProxy
-
Appends the specified URL to the list of URLs to search for classes and resources.
- argsToMap(String[]) - Static method in class com.sun.enterprise.module.bootstrap.ArgumentManager
- argsToMap(List<String>) - Static method in class com.sun.enterprise.module.bootstrap.ArgumentManager
- ArgumentManager - Class in com.sun.enterprise.module.bootstrap
-
API -- For now sticking with the draft1 API and behavior This class will be handy for fixing error detection of bad input as below.
- attributes - Variable in class com.sun.enterprise.module.single.ManifestProxy
B
- BootException - Exception in com.sun.enterprise.module.bootstrap
-
Signals a fatal error in the module system launch.
- BootException(String) - Constructor for exception com.sun.enterprise.module.bootstrap.BootException
- BootException(String, Throwable) - Constructor for exception com.sun.enterprise.module.bootstrap.BootException
- BootException(Throwable) - Constructor for exception com.sun.enterprise.module.bootstrap.BootException
- BUNDLE_IMPORT_NAME - Static variable in class com.sun.enterprise.module.ManifestConstants
-
List of modules that this module depends on.
- BUNDLE_NAME - Static variable in class com.sun.enterprise.module.ManifestConstants
-
Module name.
- BUNDLE_VERSION - Static variable in class com.sun.enterprise.module.ManifestConstants
-
Bundle Version
- ByteArrayInhabitantsDescriptor - Class in com.sun.enterprise.module.common_impl
-
Implementation of
InhabitantsDescriptorthat loads the inhabitants meta-data from a byte array (usually coming from a inhabitant file). - ByteArrayInhabitantsDescriptor(String, byte[]) - Constructor for class com.sun.enterprise.module.common_impl.ByteArrayInhabitantsDescriptor
- ByteArrayInhabitantsDescriptor(URL, byte[]) - Constructor for class com.sun.enterprise.module.common_impl.ByteArrayInhabitantsDescriptor
C
- changed(HK2Module) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
-
Modules can notify their registry that they have changed (classes, resources,etc...).
- changed(HK2Module) - Method in interface com.sun.enterprise.module.ModuleChangeListener
-
a module has detected that one or more of its resources (classes, jar...) has changed and should be reloaded.
- CLASS_PATH - Static variable in class com.sun.enterprise.module.ManifestConstants
-
List of other jar files in this module.
- CLASS_PATH_ID - Static variable in class com.sun.enterprise.module.ManifestConstants
-
List of other jar files in this module.
- ClassLoaderProxy - Class in com.sun.enterprise.module.impl
-
ClassLoaderProxy capable of loading classes from itself but also from other class loaders
- ClassLoaderProxy(URL[], ClassLoader) - Constructor for class com.sun.enterprise.module.impl.ClassLoaderProxy
-
Creates a new instance of ClassLoader
- classPath - Variable in class com.sun.enterprise.module.common_impl.DefaultModuleDefinition
- ClassPathBasedModulesRegistry - Class in com.sun.enterprise.module.single
-
Implements a modules registry based on a class-path style of module description using a single class loader (capable of loading the entire class-path)
- ClassPathBasedModulesRegistry(ClassLoader, String) - Constructor for class com.sun.enterprise.module.single.ClassPathBasedModulesRegistry
- ClasspathDescriptorFileFinder - Class in org.glassfish.hk2.bootstrap.impl
-
Deprecated.Use org.glassfish.hk2.utilities.ClasspathDescriptorFileFinder
- ClasspathDescriptorFileFinder() - Constructor for class org.glassfish.hk2.bootstrap.impl.ClasspathDescriptorFileFinder
-
Deprecated.
- ClasspathDescriptorFileFinder(ClassLoader) - Constructor for class org.glassfish.hk2.bootstrap.impl.ClasspathDescriptorFileFinder
-
Deprecated.
- ClasspathDescriptorFileFinder(ClassLoader, String) - Constructor for class org.glassfish.hk2.bootstrap.impl.ClasspathDescriptorFileFinder
-
Deprecated.
- clear() - Method in class com.sun.enterprise.module.single.ManifestProxy
- close() - Method in class com.sun.enterprise.module.bootstrap.EarlyLogHandler
-
Called to close this log handler.
- com.sun.enterprise.module - package com.sun.enterprise.module
- com.sun.enterprise.module.bootstrap - package com.sun.enterprise.module.bootstrap
- com.sun.enterprise.module.common_impl - package com.sun.enterprise.module.common_impl
- com.sun.enterprise.module.impl - package com.sun.enterprise.module.impl
- com.sun.enterprise.module.single - package com.sun.enterprise.module.single
- CompositeEnumeration - Class in com.sun.enterprise.module.common_impl
-
We need a compound enumeration so that we can aggregate the results from various delegates.
- CompositeEnumeration(List<Enumeration<URL>>) - Constructor for class com.sun.enterprise.module.common_impl.CompositeEnumeration
- ConfigPopulator - Interface in org.glassfish.hk2.bootstrap
-
Basic interface for populating a service locator with configuration data
- ContextDuplicatePostProcessor - Class in com.sun.enterprise.module.bootstrap
-
Deprecated.Use DuplicatePostProcessor instead
- ContextDuplicatePostProcessor() - Constructor for class com.sun.enterprise.module.bootstrap.ContextDuplicatePostProcessor
-
Deprecated.
- CookedLibRepository - Class in com.sun.enterprise.module.impl
- CookedLibRepository(String) - Constructor for class com.sun.enterprise.module.impl.CookedLibRepository
-
Creates a new instance of CookedLibRepository
- CookedModuleDefinition - Class in com.sun.enterprise.module.impl
- CookedModuleDefinition(File, Attributes) - Constructor for class com.sun.enterprise.module.impl.CookedModuleDefinition
-
Creates a new instance of CookedModuleDefinitionefinition
- create(File) - Static method in class com.sun.enterprise.module.common_impl.Jar
- createChild() - Method in class com.sun.enterprise.module.impl.ModulesRegistryImpl
-
Creates a new child
ModulesRegistryImplin thisModulesRegistryImpl. - createChild() - Method in interface com.sun.enterprise.module.ModulesRegistry
-
Creates a new child
ModulesRegistryin thisModulesRegistry. - createModuleId(ModuleDefinition) - Method in class com.sun.enterprise.module.common_impl.AbstractFactory
- createModuleId(ModuleDefinition) - Method in class com.sun.enterprise.module.impl.HK2Factory
- createModuleId(String, String) - Method in class com.sun.enterprise.module.common_impl.AbstractFactory
- createModuleId(String, String) - Method in class com.sun.enterprise.module.impl.HK2Factory
- createModulesRegistry() - Method in class com.sun.enterprise.module.common_impl.AbstractFactory
- createModulesRegistry() - Method in class com.sun.enterprise.module.impl.HK2Factory
- createRepository(Repository, String, URI) - Method in class com.sun.enterprise.module.RepositoryFactory
-
Creates a new
Repositorywith a parent (for delegating module resolutions) and a name. - createRepository(String, URI) - Method in class com.sun.enterprise.module.RepositoryFactory
-
Creates a new
Repository. - createServiceLocator() - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
- createServiceLocator() - Method in interface com.sun.enterprise.module.ModulesRegistry
-
Creates the default
ServiceLocatorfrom all the modules in this registry Calling this method has the same effect of calling {@link #createServiceLocator("default")} - createServiceLocator(ModulesRegistry, StartupContext, List<PopulatorPostProcessor>, DescriptorFileFinder) - Method in class com.sun.enterprise.module.bootstrap.Main
- createServiceLocator(String) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
- createServiceLocator(String) - Method in interface com.sun.enterprise.module.ModulesRegistry
-
Creates a
ServiceLocatorfrom all the modules in this registry Cal;ling this method has the same effect of callingModulesRegistry.newServiceLocator()followed by {@link #populateServiceLocator(String, org.glassfish.hk2.api.ServiceLocator, java.util.List}. - createServiceLocator(String) - Method in class com.sun.enterprise.module.single.StaticModulesRegistry
- createServiceLocator(ServiceLocator, String, List<PopulatorPostProcessor>) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
- createServiceLocator(ServiceLocator, String, List<PopulatorPostProcessor>) - Method in interface com.sun.enterprise.module.ModulesRegistry
-
Creates a
ServiceLocatorwith the provided parent.
D
- decorateClassPath(String) - Method in class com.sun.enterprise.module.common_impl.DefaultModuleDefinition
-
Extension point to manipulate the classpath element before it's parsed.
- DEFAULT_NAME - Static variable in class com.sun.enterprise.module.bootstrap.Main
- DefaultModuleDefinition - Class in com.sun.enterprise.module.common_impl
-
ModuleDefinitionimplementation that picks up most of the module properties from the manifest file of the jar, as baked in by the hk2-maven-plugin. - DefaultModuleDefinition(File) - Constructor for class com.sun.enterprise.module.common_impl.DefaultModuleDefinition
-
TO DO need to support a URI constructor
- DefaultModuleDefinition(File, Attributes) - Constructor for class com.sun.enterprise.module.common_impl.DefaultModuleDefinition
- defineParentClassLoader() - Method in class com.sun.enterprise.module.bootstrap.Main
- dependencies - Variable in class com.sun.enterprise.module.common_impl.DefaultModuleDefinition
- DescriptorFileFinder - Interface in org.glassfish.hk2.bootstrap
-
Deprecated.use
DescriptorFileFinderinstead - detach() - Method in interface com.sun.enterprise.module.HK2Module
-
Detach this module from its registry.
- detach() - Method in class com.sun.enterprise.module.impl.ModuleImpl
-
Detach this module from its registry.
- detach() - Method in class com.sun.enterprise.module.single.ProxyModule
- detachAll() - Method in class com.sun.enterprise.module.impl.ModulesRegistryImpl
-
Detaches all the modules from this registry.
- detachAll() - Method in interface com.sun.enterprise.module.ModulesRegistry
-
Detaches all the modules from this registry.
- DirectoryBasedRepository - Class in com.sun.enterprise.module.common_impl
-
This class is a directory based repository implementation.
- DirectoryBasedRepository(String, File) - Constructor for class com.sun.enterprise.module.common_impl.DirectoryBasedRepository
-
Creates a new instance of DirectoryBasedRepository
- DirectoryBasedRepository(String, File, boolean) - Constructor for class com.sun.enterprise.module.common_impl.DirectoryBasedRepository
- dumpState(PrintStream) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
- dumpState(PrintStream) - Method in interface com.sun.enterprise.module.HK2Module
- dumpState(PrintStream) - Method in class com.sun.enterprise.module.impl.ModuleImpl
- dumpState(PrintStream) - Method in interface com.sun.enterprise.module.ModulesRegistry
- dumpState(PrintStream) - Method in class com.sun.enterprise.module.single.ProxyModule
E
- EarlyLogHandler - Class in com.sun.enterprise.module.bootstrap
- EarlyLogHandler() - Constructor for class com.sun.enterprise.module.bootstrap.EarlyLogHandler
- earlyMessages - Static variable in class com.sun.enterprise.module.bootstrap.EarlyLogHandler
- Entry() - Constructor for class com.sun.enterprise.module.ModuleMetadata.Entry
- equals(Object) - Method in class com.sun.enterprise.module.common_impl.ModuleId
- ERROR - Enum constant in enum class com.sun.enterprise.module.ModuleState
-
a Module is in ERROR state when its class loader cannot be constructed or when any of its dependent module is in ERROR state.
F
- fileNames - Variable in class com.sun.enterprise.module.impl.CookedLibRepository
- find(Class) - Method in class com.sun.enterprise.module.impl.ModulesRegistryImpl
- find(Class) - Method in interface com.sun.enterprise.module.ModulesRegistry
-
Finds the
HK2Modulethat owns the given class. - find(Class) - Method in class com.sun.enterprise.module.single.ClassPathBasedModulesRegistry
- find(Class) - Method in class com.sun.enterprise.module.single.SingleModulesRegistry
- find(String, String) - Method in class com.sun.enterprise.module.common_impl.AbstractRepositoryImpl
- find(String, String) - Method in class com.sun.enterprise.module.impl.CookedLibRepository
-
Finds and returns a
DefaultModuleDefinitioninstance for a module given the name and version constraints. - find(String, String) - Method in interface com.sun.enterprise.module.Repository
-
Finds and returns a
DefaultModuleDefinitioninstance for a module given the name and version constraints. - findAll() - Method in class com.sun.enterprise.module.common_impl.AbstractRepositoryImpl
- findAll() - Method in class com.sun.enterprise.module.impl.CookedLibRepository
-
Returns a list of all modules available in this repository
- findAll() - Method in interface com.sun.enterprise.module.Repository
-
Returns a list of all modules available in this repository
- findAll(String) - Method in class com.sun.enterprise.module.common_impl.AbstractRepositoryImpl
- findAll(String) - Method in class com.sun.enterprise.module.impl.CookedLibRepository
-
Finds and returns a list of all the available versions of a module given its name.
- findAll(String) - Method in interface com.sun.enterprise.module.Repository
-
Finds and returns a list of all the available versions of a module given its name.
- findClass(String) - Method in class com.sun.enterprise.module.impl.ClassLoaderProxy
- findClass(String, boolean) - Method in class com.sun.enterprise.module.impl.ClassLoaderProxy
- findDescriptorFiles() - Method in class org.glassfish.hk2.bootstrap.impl.URLDescriptorFileFinder
- findResource(String) - Method in class com.sun.enterprise.module.impl.ClassLoaderProxy
- findResourceDirect(String) - Method in class com.sun.enterprise.module.impl.ClassLoaderProxy
-
Works like
ClassLoaderProxy.findResource(String)but only looks at this module, without delegating to ancestors. - findResources(String) - Method in class com.sun.enterprise.module.impl.ClassLoaderProxy
- findStartupService(ModulesRegistry, ServiceLocator, String, StartupContext) - Method in class com.sun.enterprise.module.bootstrap.Main
-
Return the ModuleStartup service configured to be used to start the system.
- fireChangeEvent() - Method in class com.sun.enterprise.module.impl.ModuleImpl
-
fires a ModuleChange event to all listeners
- FlattenEnumeration<T> - Class in com.sun.enterprise.module.common_impl
-
Equivalent of FlattenIterator for enumeration
- FlattenEnumeration(Enumeration<Enumeration<T>>) - Constructor for class com.sun.enterprise.module.common_impl.FlattenEnumeration
- FlattenIterator<T> - Class in com.sun.enterprise.module.common_impl
-
Iteratorimplementation that works like Lisp "flatten" function. - FlattenIterator(Iterator<? extends Iterator<? extends T>>) - Constructor for class com.sun.enterprise.module.common_impl.FlattenIterator
- flush() - Method in class com.sun.enterprise.module.bootstrap.EarlyLogHandler
-
Called to flush any cached data that this log handler may contain.
G
- generate(ModuleMetadata) - Method in class com.sun.enterprise.module.single.ProxyModuleDefinition
- getAllServiceLocators() - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
- getArguments() - Method in class com.sun.enterprise.module.bootstrap.StartupContext
-
Return the properties that constitues this context.
- getAttributes(String) - Method in class com.sun.enterprise.module.single.ManifestProxy
- getBaseName() - Method in class com.sun.enterprise.module.common_impl.Jar
-
Gets the base name of the jar.
- getBootstrapFile() - Method in class com.sun.enterprise.module.bootstrap.Main
-
We need to determine which jar file has been used to load this class Using the getResourceURL we can get this information, after that, it is just a bit of detective work to get the file path for the jar file.
- getClassLoader() - Method in interface com.sun.enterprise.module.HK2Module
-
Return the
ClassLoaderinstance associated with this module. - getClassLoader() - Method in class com.sun.enterprise.module.impl.ModuleImpl
-
Return the
ClassLoaderinstance associated with this module. - getClassLoader() - Method in class com.sun.enterprise.module.single.ProxyModule
- getContext(Class<T>) - Method in class com.sun.enterprise.module.bootstrap.PlatformMain
- getContexts() - Method in class com.sun.enterprise.module.bootstrap.PlatformMain
- getCreationTime() - Method in class com.sun.enterprise.module.bootstrap.StartupContext
-
Returns the time at which this StartupContext instance was created.
- getDefaultLogger() - Static method in class com.sun.enterprise.module.common_impl.LogHelper
- getDelegates() - Method in class com.sun.enterprise.module.impl.ClassLoaderProxy
- getDependencies() - Method in class com.sun.enterprise.module.common_impl.DefaultModuleDefinition
-
Returns the list of module dependencies
- getDependencies() - Method in class com.sun.enterprise.module.impl.CookedModuleDefinition
- getDependencies() - Method in interface com.sun.enterprise.module.ModuleDefinition
-
Returns the list of this module's dependencies.
- getDependencies() - Method in class com.sun.enterprise.module.single.ProxyModuleDefinition
- getDescriptors() - Method in class com.sun.enterprise.module.ModuleMetadata
- getDescriptors(String) - Method in class com.sun.enterprise.module.ModuleMetadata
- getEntries() - Method in class com.sun.enterprise.module.ModuleMetadata
- getEntries() - Method in class com.sun.enterprise.module.single.ManifestProxy
- getEntry(String) - Method in class com.sun.enterprise.module.ModuleMetadata
- getFactories() - Method in class com.sun.enterprise.module.RepositoryFactories
-
Returns an interator of registered
ReposistoryFactory - getFactoryFor(String) - Method in class com.sun.enterprise.module.RepositoryFactories
-
Returns a
RespositoryFactoryfactory instance capable of creatingRepositoryrepositories of the provided type - getImportPolicyClassName() - Method in class com.sun.enterprise.module.common_impl.DefaultModuleDefinition
-
Returns the class name implementing the
ImportPolicyinterface for this module or null if there is no such implementation - getImportPolicyClassName() - Method in interface com.sun.enterprise.module.ModuleDefinition
-
Returns the import policy class name.
- getImportPolicyClassName() - Method in class com.sun.enterprise.module.single.ProxyModuleDefinition
- getImports() - Method in interface com.sun.enterprise.module.HK2Module
-
Returns the list of imported modules.
- getImports() - Method in class com.sun.enterprise.module.impl.ModuleImpl
-
Returns the list of imported modules
- getImports() - Method in class com.sun.enterprise.module.single.ProxyModule
- getInputStream() - Method in class com.sun.enterprise.module.common_impl.ByteArrayInhabitantsDescriptor
- getInstance() - Static method in class com.sun.enterprise.module.common_impl.AbstractFactory
- getInstance() - Static method in class com.sun.enterprise.module.RepositoryFactories
-
Return the instance holding registered repository factories
- getJarLocations() - Method in class com.sun.enterprise.module.common_impl.AbstractRepositoryImpl
-
Returns the plain jar files installed in this repository.
- getJarLocations() - Method in interface com.sun.enterprise.module.Repository
-
Returns the plain jar files installed in this repository.
- getLifecycleListeners() - Method in class com.sun.enterprise.module.impl.ModulesRegistryImpl
- getLifecyclePolicyClassName() - Method in class com.sun.enterprise.module.common_impl.DefaultModuleDefinition
-
Returns the class name implementing the
LifecyclePolicyinterface for this module or null if there is no such implementation - getLifecyclePolicyClassName() - Method in interface com.sun.enterprise.module.ModuleDefinition
-
Returns the lifecycle policy class name.
- getLifecyclePolicyClassName() - Method in class com.sun.enterprise.module.single.ProxyModuleDefinition
- getLocation() - Method in class com.sun.enterprise.module.common_impl.AbstractRepositoryImpl
- getLocation() - Static method in class com.sun.enterprise.module.common_impl.TracingUtilities
- getLocation() - Method in class com.sun.enterprise.module.impl.CookedLibRepository
-
Returns the repository location
- getLocation() - Method in interface com.sun.enterprise.module.Repository
-
Returns the repository location
- getLocations() - Method in class com.sun.enterprise.module.common_impl.DefaultModuleDefinition
-
Returns the list of URI locations forming the classpath for this module.
- getLocations() - Method in interface com.sun.enterprise.module.ModuleDefinition
-
A Module is implemented by one to many jar files.
- getLocations() - Method in class com.sun.enterprise.module.single.ProxyModuleDefinition
- getLogger() - Method in class com.sun.enterprise.module.bootstrap.PlatformMain
- getMainAttributes() - Method in class com.sun.enterprise.module.single.ManifestProxy
- getManifest() - Method in class com.sun.enterprise.module.common_impl.DefaultModuleDefinition
-
Returns the manifest file from the module's implementation jar file
- getManifest() - Method in class com.sun.enterprise.module.common_impl.Jar
-
See
JarFile.getManifest()for the contract. - getManifest() - Method in interface com.sun.enterprise.module.ModuleDefinition
-
Returns the manifest file for the main module jar file
- getManifest() - Method in class com.sun.enterprise.module.single.ProxyModuleDefinition
- getMetadata() - Method in class com.sun.enterprise.module.common_impl.DefaultModuleDefinition
- getMetadata() - Method in interface com.sun.enterprise.module.HK2Module
-
Gets the metadata of this module.
- getMetadata() - Method in class com.sun.enterprise.module.impl.ModuleImpl
-
Gets the metadata of this module.
- getMetadata() - Method in interface com.sun.enterprise.module.ModuleDefinition
-
Gets the metadata that describes various components and services in this module.
- getMetadata() - Method in class com.sun.enterprise.module.single.ProxyModule
- getMetadata() - Method in class com.sun.enterprise.module.single.ProxyModuleDefinition
- getModuleDefinition() - Method in interface com.sun.enterprise.module.HK2Module
-
Returns the module definition for this module instance
- getModuleDefinition() - Method in class com.sun.enterprise.module.impl.ModuleImpl
-
Returns the module definition for this module instance
- getModuleDefinition() - Method in class com.sun.enterprise.module.single.ProxyModule
- getModules() - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
-
Returns the list of shared Modules registered in this instance.
- getModules() - Method in interface com.sun.enterprise.module.ModulesRegistry
-
Returns the list of shared Modules registered in this instance.
- getModules() - Method in class com.sun.enterprise.module.single.ClassPathBasedModulesRegistry
- getModules() - Method in class com.sun.enterprise.module.single.SingleModulesRegistry
- getModules(String) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
- getModules(String) - Method in interface com.sun.enterprise.module.ModulesRegistry
-
Returns the list of shared Modules registered in this instance whose name matches the given name
- getModules(String) - Method in class com.sun.enterprise.module.single.ClassPathBasedModulesRegistry
- getModules(String) - Method in class com.sun.enterprise.module.single.SingleModulesRegistry
- getModulesClassLoader(ClassLoader, Collection<ModuleDefinition>) - Method in class com.sun.enterprise.module.impl.ModulesRegistryImpl
-
Returns a ClassLoader capable of loading classes from a set of modules identified by their module definition
- getModulesClassLoader(ClassLoader, Collection<ModuleDefinition>) - Method in interface com.sun.enterprise.module.ModulesRegistry
-
Returns a ClassLoader capable of loading classes from a set of modules identified by their module definition
- getModulesClassLoader(ClassLoader, Collection<ModuleDefinition>, URL[]) - Method in class com.sun.enterprise.module.impl.ModulesRegistryImpl
-
Returns a ClassLoader capable of loading classes from a set of modules identified by their module definition and also load new urls.
- getModulesClassLoader(ClassLoader, Collection<ModuleDefinition>, URL[]) - Method in interface com.sun.enterprise.module.ModulesRegistry
-
Returns a ClassLoader capable of loading classes from a set of modules identified by their module definition and also load new urls.
- getModulesProvider(Class) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
-
Returns a collection of HK2Module containing at least one implementation of the passed service interface class.
- getModulesProvider(Class) - Method in interface com.sun.enterprise.module.ModulesRegistry
-
Returns a collection of HK2Module containing at least one implementation of the passed service interface class.
- getName() - Method in class com.sun.enterprise.module.bootstrap.PlatformMain
-
Returns the platform name associated with this main.
- getName() - Method in class com.sun.enterprise.module.common_impl.AbstractRepositoryImpl
- getName() - Method in class com.sun.enterprise.module.common_impl.DefaultModuleDefinition
-
Returns the name of the module
- getName() - Method in interface com.sun.enterprise.module.HK2Module
-
Short-cut for
getModuleDefinition().getName(). - getName() - Method in class com.sun.enterprise.module.impl.CookedLibRepository
-
Returns the repository name
- getName() - Method in class com.sun.enterprise.module.impl.ModuleImpl
-
Short-cut for
getModuleDefinition().getName(). - getName() - Method in interface com.sun.enterprise.module.ModuleDefinition
-
Returns the module name, usually this is the same name as the jar file name containing the module's implementation.
- getName() - Method in class com.sun.enterprise.module.ModuleDependency
-
Returns the module name
- getName() - Method in interface com.sun.enterprise.module.Repository
-
Returns the repository name
- getName() - Method in class com.sun.enterprise.module.single.ProxyModule
- getName() - Method in class com.sun.enterprise.module.single.ProxyModuleDefinition
- getParentClassLoader() - Method in class com.sun.enterprise.module.bootstrap.Main
- getParentClassLoader() - Method in class com.sun.enterprise.module.impl.ModulesRegistryImpl
-
Returns the parent class loader parenting the class loaders created by modules associated with this registry.
- getParentClassLoader() - Method in interface com.sun.enterprise.module.ModulesRegistry
- getPlatformMainServiceName() - Method in class com.sun.enterprise.module.bootstrap.StartupContext
- getProvidersClass(Class<T>) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
- getProvidersClass(Class<T>) - Method in interface com.sun.enterprise.module.HK2Module
- getProvidersClass(Class<T>) - Method in class com.sun.enterprise.module.impl.ModuleImpl
- getProvidersClass(Class<T>) - Method in interface com.sun.enterprise.module.ModulesRegistry
- getProvidersClass(Class<T>) - Method in class com.sun.enterprise.module.single.ProxyModule
- getProvidersClass(String) - Method in interface com.sun.enterprise.module.HK2Module
- getProvidersClass(String) - Method in class com.sun.enterprise.module.impl.ModuleImpl
- getProvidersClass(String) - Method in class com.sun.enterprise.module.single.ProxyModule
- getProvidingModule(String) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
- getProvidingModule(String) - Method in class com.sun.enterprise.module.impl.ModulesRegistryImpl
- getProvidingModule(String) - Method in interface com.sun.enterprise.module.ModulesRegistry
-
Gets the
HK2Modulethat provides the provider of the given name. - getPublicInterfaces() - Method in class com.sun.enterprise.module.common_impl.DefaultModuleDefinition
-
Returns the list of classes and packages that have been designated as public interfaces of this module.
- getPublicInterfaces() - Method in class com.sun.enterprise.module.impl.CookedModuleDefinition
- getPublicInterfaces() - Method in interface com.sun.enterprise.module.ModuleDefinition
-
Returns a list of public interfaces for this module.
- getPublicInterfaces() - Method in class com.sun.enterprise.module.single.ProxyModuleDefinition
- getRegistry() - Method in interface com.sun.enterprise.module.HK2Module
-
Returns the registry owning this module
- getRegistry() - Method in class com.sun.enterprise.module.impl.ModuleImpl
-
Returns the registry owning this module
- getRegistry() - Method in class com.sun.enterprise.module.single.ProxyModule
- getRepository(String) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
-
Get a repository from the list of attached repositories
- getRepository(String) - Method in interface com.sun.enterprise.module.ModulesRegistry
-
Get a repository from the list of attached repositories
- getRunningServices(Class<T>) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
-
Returns all running services implementation of the passed service interface
- getRunningServices(Class<T>) - Method in interface com.sun.enterprise.module.ModulesRegistry
-
Returns all running services implementation of the passed service interface
- getServiceLocator() - Method in class com.sun.enterprise.module.bootstrap.Main
- getStartedService(Class<T>) - Method in class com.sun.enterprise.module.bootstrap.PlatformMain
-
Optional method.
- getStartupModuleName() - Method in class com.sun.enterprise.module.bootstrap.StartupContext
- getState() - Method in interface com.sun.enterprise.module.HK2Module
-
Returns the module's state
- getState() - Method in class com.sun.enterprise.module.impl.ModuleImpl
-
Returns the module's state
- getState() - Method in class com.sun.enterprise.module.single.ProxyModule
- getSystemId() - Method in class com.sun.enterprise.module.common_impl.ByteArrayInhabitantsDescriptor
- getSystemId() - Method in interface com.sun.enterprise.module.InhabitantsDescriptor
-
Return the unique identifier
- getVersion() - Method in class com.sun.enterprise.module.common_impl.DefaultModuleDefinition
-
Returns the module's version
- getVersion() - Method in interface com.sun.enterprise.module.ModuleDefinition
-
Returns the version of this module's implementation
- getVersion() - Method in class com.sun.enterprise.module.ModuleDependency
-
Returns the module version
- getVersion() - Method in class com.sun.enterprise.module.single.ProxyModuleDefinition
H
- handleType(String) - Method in class com.sun.enterprise.module.RepositoryFactory
-
Returns true if this factory can handle this type of repository
- hashCode() - Method in class com.sun.enterprise.module.common_impl.ModuleId
- hasMoreElements() - Method in class com.sun.enterprise.module.common_impl.CompositeEnumeration
- hasMoreElements() - Method in class com.sun.enterprise.module.common_impl.FlattenEnumeration
- hasNext() - Method in class com.sun.enterprise.module.common_impl.AdapterIterator
- hasNext() - Method in class com.sun.enterprise.module.common_impl.FlattenIterator
- hasProvider() - Method in class com.sun.enterprise.module.ModuleMetadata.Entry
- hasProvider(Class) - Method in interface com.sun.enterprise.module.HK2Module
-
Returns true if this module has any provider for the given service class.
- hasProvider(Class) - Method in class com.sun.enterprise.module.impl.ModuleImpl
-
Returns true if this module has any provider for the given service class.
- hasProvider(Class) - Method in class com.sun.enterprise.module.single.ProxyModule
- HK2Factory - Class in com.sun.enterprise.module.impl
- HK2Factory() - Constructor for class com.sun.enterprise.module.impl.HK2Factory
- Hk2LoaderPopulatorPostProcessor - Class in org.glassfish.hk2.bootstrap.impl
-
A Simple PopulatorPostProcessor that uses the given classloader to override default HK2Loader behavior
- Hk2LoaderPopulatorPostProcessor() - Constructor for class org.glassfish.hk2.bootstrap.impl.Hk2LoaderPopulatorPostProcessor
- Hk2LoaderPopulatorPostProcessor(ClassLoader) - Constructor for class org.glassfish.hk2.bootstrap.impl.Hk2LoaderPopulatorPostProcessor
-
Creates the post-processor to use the given classloader
- HK2Module - Interface in com.sun.enterprise.module
- HK2Populator - Class in org.glassfish.hk2.bootstrap
- HK2Populator() - Constructor for class org.glassfish.hk2.bootstrap.HK2Populator
I
- identifyCyclicDependency(ModuleImpl, Logger) - Static method in class com.sun.enterprise.module.impl.Utils
- IMPORT_POLICY - Static variable in class com.sun.enterprise.module.ManifestConstants
-
See
ImportPolicy. - ImportPolicy - Interface in com.sun.enterprise.module
-
Modules that wish to programmatically control their list of imports can implement this interface.
- InhabitantsDescriptor - Interface in com.sun.enterprise.module
-
Inhabitants Descriptor is an abstraction on how the inhabitants are represented in a module.
- init(String, String) - Method in class com.sun.enterprise.module.common_impl.ModuleId
- initialize() - Method in class com.sun.enterprise.module.common_impl.AbstractRepositoryImpl
- initialize() - Method in class com.sun.enterprise.module.impl.CookedLibRepository
-
Initialize the repository for use.
- initialize() - Static method in class com.sun.enterprise.module.impl.HK2Factory
- initialize() - Method in interface com.sun.enterprise.module.Repository
-
Initialize the repository for use.
- initializeServiceLocator(ServiceLocator) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
- Instance - Static variable in class com.sun.enterprise.module.common_impl.AbstractFactory
- isDisabled(File) - Method in class com.sun.enterprise.module.common_impl.DirectoryBasedRepository
-
Checks the xyz.disabled file for xyz.jar and return true if the file exists.
- isEnabled() - Static method in class com.sun.enterprise.module.common_impl.TracingUtilities
- isLoggable(Level) - Static method in class com.sun.enterprise.module.common_impl.LogHelper
- isReexporting() - Method in class com.sun.enterprise.module.ModuleDependency
-
Returns true if the containing module is reexporting the public interfaces of the sub module
- isShared() - Method in interface com.sun.enterprise.module.HK2Module
-
Returns true if this module is sharable.
- isShared() - Method in class com.sun.enterprise.module.impl.ModuleImpl
-
Returns true if this module is sharable.
- isShared() - Method in class com.sun.enterprise.module.ModuleDependency
-
Returns true if the containing module accept a shared implementation of the sub module
- isShared() - Method in class com.sun.enterprise.module.single.ProxyModule
- isSticky() - Method in interface com.sun.enterprise.module.HK2Module
-
Returns true if the module is sticky.
- isSticky() - Method in class com.sun.enterprise.module.impl.ModuleImpl
-
Returns true if the module is sticky.
- isSticky() - Method in class com.sun.enterprise.module.single.ProxyModule
- iterator() - Method in class com.sun.enterprise.module.common_impl.Tokenizer
J
- Jar - Class in com.sun.enterprise.module.common_impl
-
Abstraction of
JarFileso that we can handle both a jar file and a directory image transparently. - Jar() - Constructor for class com.sun.enterprise.module.common_impl.Jar
- jarFile(Class) - Static method in class com.sun.enterprise.module.bootstrap.Which
L
- launch(ModuleStartup, StartupContext) - Method in class com.sun.enterprise.module.bootstrap.Main
- launch(ModulesRegistry, String, StartupContext) - Method in class com.sun.enterprise.module.bootstrap.Main
-
Launches the module system and hand over the execution to the
ModuleStartupimplementation of the main module. - LifecyclePolicy - Interface in com.sun.enterprise.module
-
Modules that wish to invoke special logic when it is loaded, started or stopped should implement this interface.
- LIFECYLE_POLICY - Static variable in class com.sun.enterprise.module.ManifestConstants
-
See
LifecyclePolicy. - listeners - Variable in class com.sun.enterprise.module.common_impl.AbstractRepositoryImpl
- load(URL, String) - Method in class com.sun.enterprise.module.ModuleMetadata
- load(URL, String, InputStream) - Method in class com.sun.enterprise.module.ModuleMetadata
- loadClass(String) - Method in interface com.sun.enterprise.module.common_impl.TracingUtilities.Loader
- loadClass(String, boolean, boolean) - Method in class com.sun.enterprise.module.impl.ClassLoaderProxy
- loadFromRepository(String, String) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
- loadJar(File) - Method in class com.sun.enterprise.module.common_impl.AbstractRepositoryImpl
-
Loads a jar file and builds a
ModuleDefinition. - loadMetadata(ModuleMetadata) - Method in class com.sun.enterprise.module.common_impl.Jar
-
Loads all META-INF/habitats entries and store them to the list.
- loadModuleDefs(Map<ModuleId, ModuleDefinition>, List<URI>) - Method in class com.sun.enterprise.module.common_impl.AbstractRepositoryImpl
-
Called from
AbstractRepositoryImpl.initialize()to load allModuleDefinitions and libraries defintions - loadModuleDefs(Map<ModuleId, ModuleDefinition>, List<URI>) - Method in class com.sun.enterprise.module.common_impl.DirectoryBasedRepository
- logger - Variable in class com.sun.enterprise.module.bootstrap.PlatformMain
- LogHelper - Class in com.sun.enterprise.module.common_impl
-
The logging relataed methods have been refactored out of Utils class which exists in impl module.
- LogHelper() - Constructor for class com.sun.enterprise.module.common_impl.LogHelper
- logMessage(Level, String) - Method in class com.sun.enterprise.module.bootstrap.EarlyLogHandler
M
- main(String[]) - Static method in class com.sun.enterprise.module.bootstrap.Main
- Main - Class in com.sun.enterprise.module.bootstrap
-
CLI entry point that will setup the module subsystem and delegate the main execution to the first archive in its import list...
- Main() - Constructor for class com.sun.enterprise.module.bootstrap.Main
- MAIN_BUNDLE - Static variable in class com.sun.enterprise.module.ManifestConstants
-
Module name that we'll launch.
- mainAttributes - Variable in class com.sun.enterprise.module.common_impl.DefaultModuleDefinition
-
Main attributes section of the manifest.
- mainAttributes - Variable in class com.sun.enterprise.module.single.ManifestProxy
- makeModuleFor(String) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
-
Find and return a loaded HK2Module that has the package name in its list of exported interfaces.
- makeModuleFor(String) - Method in interface com.sun.enterprise.module.ModulesRegistry
-
Find and return a loaded HK2Module that has the package name in its list of exported interfaces.
- makeModuleFor(String, String) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
-
Returns the
HK2Moduleinstance giving a name and version constraints. - makeModuleFor(String, String) - Method in interface com.sun.enterprise.module.ModulesRegistry
-
Returns the
HK2Moduleinstance giving a name and version constraints. - makeModuleFor(String, String, boolean) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
- makeModuleFor(String, String, boolean) - Method in interface com.sun.enterprise.module.ModulesRegistry
-
Returns the
HK2Moduleinstance giving a name and version constraints. - makeModuleFor(String, String, boolean) - Method in class com.sun.enterprise.module.single.ClassPathBasedModulesRegistry
- makeModuleFor(String, String, boolean) - Method in class com.sun.enterprise.module.single.SingleModulesRegistry
- ManifestConstants - Class in com.sun.enterprise.module
-
Constants used in the module manifest.
- ManifestProxy - Class in com.sun.enterprise.module.single
-
Implements a manifest proxying
- ManifestProxy(ClassLoader, List<ManifestProxy.SeparatorMappings>) - Constructor for class com.sun.enterprise.module.single.ManifestProxy
- ManifestProxy.SeparatorMappings - Class in com.sun.enterprise.module.single
- mappings - Variable in class com.sun.enterprise.module.single.ManifestProxy
- moduleAdded(ModuleDefinition) - Method in interface com.sun.enterprise.module.RepositoryChangeListener
-
A new module jar file was added to the repository.
- ModuleChangeListener - Interface in com.sun.enterprise.module
-
Objects interested in monitoring module changes events should implement this interface
- ModuleDefinition - Interface in com.sun.enterprise.module
-
A module definition contains all information about a module existence, its dependencies and its exported interfaces.
- ModuleDependency - Class in com.sun.enterprise.module
-
A ModuleDependency instance holds all information necessary to identify a dependency between modules.
- ModuleDependency(String, String) - Constructor for class com.sun.enterprise.module.ModuleDependency
-
Create a new instance of ModuleDependency, where the sub module is idenfied by its name and version.
- ModuleDependency(String, String, boolean, boolean) - Constructor for class com.sun.enterprise.module.ModuleDependency
-
Create a new instance of ModuleDependency, where the sub module is idenfied by its name and version and wheter the containing module requires a private copy or not
- ModuleId - Class in com.sun.enterprise.module.common_impl
-
Class representing the primary Key for a
com.sun.enterprise.module.Module. - ModuleId() - Constructor for class com.sun.enterprise.module.common_impl.ModuleId
- ModuleId(ModuleDefinition) - Constructor for class com.sun.enterprise.module.common_impl.ModuleId
- ModuleId(String) - Constructor for class com.sun.enterprise.module.common_impl.ModuleId
- ModuleId(String, String) - Constructor for class com.sun.enterprise.module.common_impl.ModuleId
- ModuleImpl - Class in com.sun.enterprise.module.impl
-
A module represents a set of resources accessible to third party modules.
- moduleInstalled(HK2Module) - Method in interface com.sun.enterprise.module.ModuleLifecycleListener
-
Callback after a module is installed
- ModuleLifecycleListener - Interface in com.sun.enterprise.module
-
Listener interface that can be registered on the registry to listen to notification of module startup and shutdown.
- ModuleMetadata - Class in com.sun.enterprise.module
-
Holds information about /META-INF/services and /META-INF/inhabitants for a
Module. - ModuleMetadata() - Constructor for class com.sun.enterprise.module.ModuleMetadata
- ModuleMetadata.Entry - Class in com.sun.enterprise.module
- moduleRemoved(ModuleDefinition) - Method in interface com.sun.enterprise.module.RepositoryChangeListener
-
A module file was removed from the repository
- moduleResolved(HK2Module) - Method in interface com.sun.enterprise.module.ModuleLifecycleListener
-
Callback after a module is resolved
- modules - Variable in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
- ModulesRegistry - Interface in com.sun.enterprise.module
- ModulesRegistryImpl - Class in com.sun.enterprise.module.impl
- ModulesRegistryImpl(ModulesRegistry) - Constructor for class com.sun.enterprise.module.impl.ModulesRegistryImpl
- moduleStarted(HK2Module) - Method in interface com.sun.enterprise.module.ModuleLifecycleListener
-
Callback after a module is started.
- ModuleStartup - Interface in com.sun.enterprise.module.bootstrap
-
Interface server startup need to implement
- ModuleState - Enum Class in com.sun.enterprise.module
-
ModuleState define the state of a Module instance.
- moduleStopped(HK2Module) - Method in interface com.sun.enterprise.module.ModuleLifecycleListener
-
Callback after a module is stopped
- moduleUpdated(HK2Module) - Method in interface com.sun.enterprise.module.ModuleLifecycleListener
-
Callback after a module is updated.
N
- name - Variable in class com.sun.enterprise.module.common_impl.ModuleId
- NEW - Enum constant in enum class com.sun.enterprise.module.ModuleState
-
a Module is in NEW state when the module object is constructed but not initialized
- newModule(ModuleDefinition) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
-
Factory method for creating new instances of HK2Module.
- newModule(ModuleDefinition) - Method in class com.sun.enterprise.module.impl.ModulesRegistryImpl
- newModuleDefinition(File, Attributes) - Method in class com.sun.enterprise.module.common_impl.AbstractRepositoryImpl
-
Extensibility point for subclasses to create a different instance of
ModuleDefinition. - newServiceLocator() - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
-
Creates an uninitialized
ServiceLocator - newServiceLocator() - Method in interface com.sun.enterprise.module.ModulesRegistry
-
Creates an uninitialized
ServiceLocator - newServiceLocator(ServiceLocator) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
-
Create a new ServiceLocator optionally providing a parent Services
- newServiceLocator(ServiceLocator) - Method in interface com.sun.enterprise.module.ModulesRegistry
- next() - Method in class com.sun.enterprise.module.common_impl.AdapterIterator
- next() - Method in class com.sun.enterprise.module.common_impl.FlattenIterator
- nextElement() - Method in class com.sun.enterprise.module.common_impl.CompositeEnumeration
- nextElement() - Method in class com.sun.enterprise.module.common_impl.FlattenEnumeration
O
- org.glassfish.hk2.bootstrap - package org.glassfish.hk2.bootstrap
- org.glassfish.hk2.bootstrap.impl - package org.glassfish.hk2.bootstrap.impl
- org.glassfish.hk2.core - module org.glassfish.hk2.core
P
- parent - Variable in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
-
ModulesRegistrycan form a tree structure by using this pointer. - parseAttributes(Attributes) - Method in class com.sun.enterprise.module.common_impl.DefaultModuleDefinition
-
Extensibility point to parse more information from Manifest attributes.
- parseClassPath(Attributes, URI) - Method in class com.sun.enterprise.module.common_impl.DefaultModuleDefinition
-
Parses "Class-Path" from manifest attributes and updates URI list.
- parseInhabitants(HK2Module, String, ServiceLocator, List<PopulatorPostProcessor>) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
- parseInhabitants(HK2Module, String, ServiceLocator, List<PopulatorPostProcessor>) - Method in class com.sun.enterprise.module.impl.ModulesRegistryImpl
- parseInhabitants(HK2Module, String, ServiceLocator, List<PopulatorPostProcessor>) - Method in class com.sun.enterprise.module.single.ClassPathBasedModulesRegistry
- parseInhabitants(HK2Module, String, ServiceLocator, List<PopulatorPostProcessor>) - Method in class com.sun.enterprise.module.single.SingleModulesRegistry
- PKG_EXPORT_NAME - Static variable in class com.sun.enterprise.module.ManifestConstants
-
Exported package list.
- PlatformMain - Class in com.sun.enterprise.module.bootstrap
-
Useful delegation model for starting a hk2 instance using a service based lookup
- PlatformMain() - Constructor for class com.sun.enterprise.module.bootstrap.PlatformMain
- populate(ServiceLocator) - Static method in class org.glassfish.hk2.bootstrap.HK2Populator
-
This method can be used to populate the service locator with files that have been written out using the
DescriptorImplwriteObject method, looking in the classpath to locate these files - populate(ServiceLocator, DescriptorFileFinder, List<? extends PopulatorPostProcessor>) - Static method in class org.glassfish.hk2.bootstrap.HK2Populator
-
This method can be used to populate the service locator with files that have been written out using the
DescriptorImplwriteObject method. - populateConfig(ServiceLocator) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
- populateConfig(ServiceLocator) - Method in interface com.sun.enterprise.module.ModulesRegistry
- populateConfig(ServiceLocator) - Method in class com.sun.enterprise.module.single.StaticModulesRegistry
- populateConfig(ServiceLocator) - Method in interface org.glassfish.hk2.bootstrap.ConfigPopulator
-
Called during the creation sequence of a service locator, and can be used to populate configuration data
- populateConfig(ServiceLocator) - Static method in class org.glassfish.hk2.bootstrap.HK2Populator
- populateServiceLocator(String, ServiceLocator, List<PopulatorPostProcessor>) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
-
Creates a
ServiceLocatorfrom all the modules in this registry - populateServiceLocator(String, ServiceLocator, List<PopulatorPostProcessor>) - Method in interface com.sun.enterprise.module.ModulesRegistry
-
Populates a
ServiceLocatorfrom all the modules in this registry. - PopulatorPostProcessor - Interface in org.glassfish.hk2.bootstrap
-
Deprecated.use
PopulatorPostProcessorinstead - prepare(HK2Module) - Method in interface com.sun.enterprise.module.ImportPolicy
-
callback from the module loading system when the module enters the
PREPARINGphase. - PREPARING - Enum constant in enum class com.sun.enterprise.module.ModuleState
-
a Module is in PREPARING state when the module looks for its import policy class if any or use the default import policy to construct the network of dependency modules.
- print(Logger) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
-
Print a Registry dump to the logger
- print(Logger) - Method in interface com.sun.enterprise.module.ModulesRegistry
-
Print a Registry dump to the logger
- process(ServiceLocator, DescriptorImpl) - Method in class org.glassfish.hk2.bootstrap.impl.Hk2LoaderPopulatorPostProcessor
-
Uses the given classloader to load the class from the descriptor
- providerNames - Variable in class com.sun.enterprise.module.ModuleMetadata.Entry
- providers - Variable in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
-
Service provider class names and which modules they are in.
- ProxyModule - Class in com.sun.enterprise.module.single
-
Creates a HK2Module implementation based on a single class loader
- ProxyModule(ModulesRegistry, ModuleDefinition, ClassLoader) - Constructor for class com.sun.enterprise.module.single.ProxyModule
- ProxyModuleDefinition - Class in com.sun.enterprise.module.single
-
Creates a ModuleDefinition backed up by a a single classloader.
- ProxyModuleDefinition(ClassLoader) - Constructor for class com.sun.enterprise.module.single.ProxyModuleDefinition
- ProxyModuleDefinition(ClassLoader, List<ManifestProxy.SeparatorMappings>) - Constructor for class com.sun.enterprise.module.single.ProxyModuleDefinition
- publish(LogRecord) - Method in class com.sun.enterprise.module.bootstrap.EarlyLogHandler
R
- read(InputStream) - Method in class com.sun.enterprise.module.single.ManifestProxy
- READY - Enum constant in enum class com.sun.enterprise.module.ModuleState
-
the Module has been started as all its dependencies were satisfied
- refresh() - Method in interface com.sun.enterprise.module.HK2Module
-
Trigger manual refresh mechanism, the module will check all its URLs and generate change events if any of them has changed.
- refresh() - Method in class com.sun.enterprise.module.impl.ModuleImpl
-
Trigger manual refresh mechanism, the module will check all its URLs and generate change events if any of them has changed.
- refresh() - Method in class com.sun.enterprise.module.single.ProxyModule
- register(ModuleLifecycleListener) - Method in class com.sun.enterprise.module.impl.ModulesRegistryImpl
-
Add a
ModuleLifecycleListenerto this registry. - register(ModuleLifecycleListener) - Method in interface com.sun.enterprise.module.ModulesRegistry
-
Add a
ModuleLifecycleListenerto this registry. - registerRunningService(Class<T>, T) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
-
Registers a running service, this is useful when other components need to have access to a provider of a service without having to create a new instance and initialize it.
- registerRunningService(Class<T>, T) - Method in interface com.sun.enterprise.module.ModulesRegistry
-
Registers a running service, this is useful when other components need to have access to a provider of a service without having to create a new instance and initialize it.
- registerStopEvent() - Method in class com.sun.enterprise.module.impl.ClassLoaderProxy
-
called by the facade class loader when it is garbage collected.
- remove() - Method in class com.sun.enterprise.module.common_impl.AdapterIterator
- remove() - Method in class com.sun.enterprise.module.common_impl.FlattenIterator
- remove(HK2Module) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
-
Removes a module from the registry.
- remove(ModuleDefinition) - Method in class com.sun.enterprise.module.common_impl.AbstractRepositoryImpl
- removed(URI) - Method in interface com.sun.enterprise.module.RepositoryChangeListener
-
A library jar file was removed from the repository
- removeDelegate(ClassLoader) - Method in class com.sun.enterprise.module.impl.ClassLoaderProxy
- removeImport(ModuleImpl) - Method in class com.sun.enterprise.module.impl.ModuleImpl
- removeLibrary(URI) - Method in class com.sun.enterprise.module.common_impl.AbstractRepositoryImpl
- removeListener(ModuleChangeListener) - Method in interface com.sun.enterprise.module.HK2Module
-
Unregister a module change listener
- removeListener(ModuleChangeListener) - Method in class com.sun.enterprise.module.impl.ModuleImpl
-
Unregister a module change listener
- removeListener(ModuleChangeListener) - Method in class com.sun.enterprise.module.single.ProxyModule
- removeListener(RepositoryChangeListener) - Method in class com.sun.enterprise.module.common_impl.AbstractRepositoryImpl
-
Removes a previously registered listener
- removeListener(RepositoryChangeListener) - Method in interface com.sun.enterprise.module.Repository
-
Removes a previously registered listener
- removeRepository(String) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
-
Remove a repository from the list of attached repositories to this instances.
- removeRepository(String) - Method in interface com.sun.enterprise.module.ModulesRegistry
-
Remove a repository from the list of attached repositories to this instances.
- repositories - Variable in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
- REPOSITORIES - Static variable in class com.sun.enterprise.module.ManifestConstants
-
List of repositories that should be set up before launching the main module
- repository - Variable in class com.sun.enterprise.module.common_impl.DirectoryBasedRepository
- Repository - Interface in com.sun.enterprise.module
-
A Repository instance is an abstraction of a set of accessible modules.
- RepositoryChangeListener - Interface in com.sun.enterprise.module
-
Listener interface to listen to repository changes.
- RepositoryFactories - Class in com.sun.enterprise.module
-
Registry for RepositoryFactory instances
- RepositoryFactory - Class in com.sun.enterprise.module
-
Factory to create repositories.
- RepositoryFactory() - Constructor for class com.sun.enterprise.module.RepositoryFactory
- resolve() - Method in interface com.sun.enterprise.module.HK2Module
-
Ensure that this module is
resolved. - resolve() - Method in class com.sun.enterprise.module.impl.ModuleImpl
-
Ensure that this module is
resolved. - resolve() - Method in class com.sun.enterprise.module.single.ProxyModule
- RESOLVED - Enum constant in enum class com.sun.enterprise.module.ModuleState
-
a Module is in RESOLVED state when the validation is finished and successful and before the module is started
- ResolveError - Error in com.sun.enterprise.module
-
Thrown to indicate that a module dependency could not be satisfied
- ResolveError(String) - Constructor for error com.sun.enterprise.module.ResolveError
- ResolveError(String, Throwable) - Constructor for error com.sun.enterprise.module.ResolveError
- ResolveError(Throwable) - Constructor for error com.sun.enterprise.module.ResolveError
- resources - Variable in class com.sun.enterprise.module.ModuleMetadata.Entry
- root - Variable in class com.sun.enterprise.module.bootstrap.PlatformMain
- rootLocation - Variable in class com.sun.enterprise.module.impl.CookedLibRepository
- run(String[]) - Method in class com.sun.enterprise.module.bootstrap.Main
S
- SeparatorMappings(String, String) - Constructor for class com.sun.enterprise.module.single.ManifestProxy.SeparatorMappings
- setContext(Object) - Method in class com.sun.enterprise.module.bootstrap.PlatformMain
- setLogger(Logger) - Method in class com.sun.enterprise.module.bootstrap.PlatformMain
- setParentClassLoader(ClassLoader) - Method in class com.sun.enterprise.module.impl.ModulesRegistryImpl
-
Sets the classloader parenting the class loaders created by the modules associated with this registry.
- setParentClassLoader(ClassLoader) - Method in interface com.sun.enterprise.module.ModulesRegistry
- setStartupContext(StartupContext) - Method in interface com.sun.enterprise.module.bootstrap.ModuleStartup
- setSticky(boolean) - Method in interface com.sun.enterprise.module.HK2Module
-
Sets the sticky flag.
- setSticky(boolean) - Method in class com.sun.enterprise.module.impl.ModuleImpl
-
Sets the sticky flag.
- setSticky(boolean) - Method in class com.sun.enterprise.module.single.ProxyModule
- shutdown() - Method in class com.sun.enterprise.module.common_impl.AbstractRepositoryImpl
- shutdown() - Method in class com.sun.enterprise.module.common_impl.DirectoryBasedRepository
- shutdown() - Method in class com.sun.enterprise.module.impl.CookedLibRepository
-
Shutdown the repository.
- shutdown() - Method in class com.sun.enterprise.module.impl.ModulesRegistryImpl
-
Shuts down this module's registry, apply housekeeping tasks
- shutdown() - Method in interface com.sun.enterprise.module.ModulesRegistry
-
Shuts down this module's registry, apply housekeeping tasks
- shutdown() - Method in interface com.sun.enterprise.module.Repository
-
Shutdown the repository.
- SingleModulesRegistry - Class in com.sun.enterprise.module.single
-
Normal modules registry with configuration handling backed up by a single class loader.
- SingleModulesRegistry(ClassLoader) - Constructor for class com.sun.enterprise.module.single.SingleModulesRegistry
- SingleModulesRegistry(ClassLoader, List<ManifestProxy.SeparatorMappings>) - Constructor for class com.sun.enterprise.module.single.SingleModulesRegistry
- start() - Method in interface com.sun.enterprise.module.bootstrap.ModuleStartup
- start() - Method in interface com.sun.enterprise.module.HK2Module
-
Forces module startup.
- start() - Method in class com.sun.enterprise.module.impl.ModuleImpl
-
Forces module startup.
- start() - Method in class com.sun.enterprise.module.single.ProxyModule
- start(HK2Module) - Method in interface com.sun.enterprise.module.LifecyclePolicy
-
Callback when the module enters the
READYstate. - start(String[]) - Method in class com.sun.enterprise.module.bootstrap.Main
-
Start the server from the command line
- start(Properties) - Method in class com.sun.enterprise.module.bootstrap.PlatformMain
-
Starts the main entry point using this platform implementation.
- STARTUP_MODULE_NAME - Static variable in class com.sun.enterprise.module.bootstrap.StartupContext
- STARTUP_MODULESTARTUP_NAME - Static variable in class com.sun.enterprise.module.bootstrap.StartupContext
- StartupContext - Class in com.sun.enterprise.module.bootstrap
-
This class contains important information about the startup process.
- StartupContext() - Constructor for class com.sun.enterprise.module.bootstrap.StartupContext
- StartupContext(Properties) - Constructor for class com.sun.enterprise.module.bootstrap.StartupContext
- StaticModulesRegistry - Class in com.sun.enterprise.module.single
-
Implementation of the modules registry that use a single class loader to load all available classes.
- StaticModulesRegistry(ClassLoader) - Constructor for class com.sun.enterprise.module.single.StaticModulesRegistry
- StaticModulesRegistry(ClassLoader, StartupContext) - Constructor for class com.sun.enterprise.module.single.StaticModulesRegistry
- StaticModulesRegistry(ClassLoader, List<ManifestProxy.SeparatorMappings>, StartupContext) - Constructor for class com.sun.enterprise.module.single.StaticModulesRegistry
- stop() - Method in interface com.sun.enterprise.module.bootstrap.ModuleStartup
- stop() - Method in interface com.sun.enterprise.module.HK2Module
-
Forces module stop.
- stop() - Method in class com.sun.enterprise.module.impl.ClassLoaderProxy
- stop() - Method in class com.sun.enterprise.module.impl.ModuleImpl
-
Forces module stop.
- stop() - Method in class com.sun.enterprise.module.single.ProxyModule
- stop(HK2Module) - Method in interface com.sun.enterprise.module.LifecyclePolicy
-
Callback before the module starts being unloaded.
- systemId - Variable in class com.sun.enterprise.module.common_impl.ByteArrayInhabitantsDescriptor
T
- TIME_ZERO_NAME - Static variable in class com.sun.enterprise.module.bootstrap.StartupContext
- Tokenizer - Class in com.sun.enterprise.module.common_impl
-
JDK5-friendly string tokenizer.
- Tokenizer(String, String) - Constructor for class com.sun.enterprise.module.common_impl.Tokenizer
- toString() - Method in class com.sun.enterprise.module.common_impl.AbstractRepositoryImpl
- toString() - Method in class com.sun.enterprise.module.common_impl.DefaultModuleDefinition
-
Assists debugging.
- toString() - Method in class com.sun.enterprise.module.common_impl.ModuleId
- toString() - Method in class com.sun.enterprise.module.impl.ClassLoaderProxy
- toString() - Method in class com.sun.enterprise.module.impl.CookedLibRepository
- toString() - Method in class com.sun.enterprise.module.impl.ModuleImpl
-
Return a String representation
- toString() - Method in class com.sun.enterprise.module.ModuleDependency
-
Returns a string representation
- traceResolution(ModulesRegistry, long, String, TracingUtilities.Loader) - Static method in class com.sun.enterprise.module.common_impl.TracingUtilities
- traceStarted(ModulesRegistry, long, String, TracingUtilities.Loader) - Static method in class com.sun.enterprise.module.common_impl.TracingUtilities
- traceState(ModulesRegistry, String, long, String, TracingUtilities.Loader) - Static method in class com.sun.enterprise.module.common_impl.TracingUtilities
- TracingUtilities - Class in com.sun.enterprise.module.common_impl
-
hk2 and modules usage tracing utilities.
- TracingUtilities() - Constructor for class com.sun.enterprise.module.common_impl.TracingUtilities
- TracingUtilities.Loader - Interface in com.sun.enterprise.module.common_impl
U
- uninstall() - Method in interface com.sun.enterprise.module.HK2Module
-
Removes the module from the registry backing store, the module will need be reinstalled to be loaded.
- uninstall() - Method in class com.sun.enterprise.module.impl.ModuleImpl
- uninstall() - Method in class com.sun.enterprise.module.single.ProxyModule
- unregister(ModuleLifecycleListener) - Method in class com.sun.enterprise.module.impl.ModulesRegistryImpl
-
Removes an
ModuleLifecycleListenerfrom this registry. - unregister(ModuleLifecycleListener) - Method in interface com.sun.enterprise.module.ModulesRegistry
-
Removes an
ModuleLifecycleListenerfrom this registry. - unregisterRunningService(Class<T>, T) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
-
Removes a running service, this is useful when a service instance is no longer available as a provider of a service.
- unregisterRunningService(Class<T>, T) - Method in interface com.sun.enterprise.module.ModulesRegistry
-
Removes a running service, this is useful when a service instance is no longer available as a provider of a service.
- URLDescriptorFileFinder - Class in org.glassfish.hk2.bootstrap.impl
- URLDescriptorFileFinder(URL) - Constructor for class org.glassfish.hk2.bootstrap.impl.URLDescriptorFileFinder
- Utils - Class in com.sun.enterprise.module.impl
V
- valueOf(String) - Static method in enum class com.sun.enterprise.module.ModuleState
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.sun.enterprise.module.ModuleState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- version - Variable in class com.sun.enterprise.module.common_impl.ModuleId
W
- Which - Class in com.sun.enterprise.module.bootstrap
-
Finds out where a class file is loaded from.
- Which() - Constructor for class com.sun.enterprise.module.bootstrap.Which
- write(OutputStream) - Method in class com.sun.enterprise.module.single.ManifestProxy
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form