A B C D E F G H I J L M N O P R S T U V W

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 Repository that statically enumerates all ModuleDefinition upfront.
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
Iterator implementation that works as a filter to another iterator.
AdapterIterator(Iterator<? extends U>) - Constructor for class com.sun.enterprise.module.common_impl.AdapterIterator
 
add(Module) - 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, boolean) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
 
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(List<URI>) - Method in class com.sun.enterprise.module.impl.CookedModuleDefinition
 
add(ModuleDefinition) - Method in interface com.sun.enterprise.module.ModulesRegistry
Registers a new DefaultModuleDefinition in this registry.
add(ModuleDefinition, boolean) - Method in interface com.sun.enterprise.module.ModulesRegistry
Registers a new DefaultModuleDefinition in this registry.
addDelegate(ClassLoader) - Method in class com.sun.enterprise.module.impl.ClassLoaderProxy
 
addDependency(ModuleDependency) - Method in class com.sun.enterprise.module.impl.CookedModuleDefinition
 
added(URI) - Method in interface com.sun.enterprise.module.RepositoryChangeListener
A new libary jar file was added to the repository.
addHabitat(String, InhabitantsDescriptor) - Method in class com.sun.enterprise.module.ModuleMetadata
 
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(Module) - Method in class com.sun.enterprise.module.impl.ModuleImpl
 
addImport(Module) - Method in interface com.sun.enterprise.module.Module
 
addImport(ModuleDependency) - Method in interface com.sun.enterprise.module.Module
Create and add a new module to this module's list of imports.
addImport(Module) - Method in class com.sun.enterprise.module.single.ProxyModule
 
addImport(ModuleDependency) - Method in class com.sun.enterprise.module.single.ProxyModule
 
addLibrary(URI) - Method in class com.sun.enterprise.module.common_impl.AbstractRepositoryImpl
 
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(ModuleChangeListener) - Method in class com.sun.enterprise.module.impl.ModuleImpl
Add a new module change listener
addListener(ModuleChangeListener) - Method in interface com.sun.enterprise.module.Module
Add a new module change listener
addListener(RepositoryChangeListener) - Method in interface com.sun.enterprise.module.Repository
Add a listener to changes happening to this repository.
addListener(ModuleChangeListener) - Method in class com.sun.enterprise.module.single.ProxyModule
 
addPublicInterface(String) - Method in class com.sun.enterprise.module.impl.CookedModuleDefinition
 
addRepository(Repository, int) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
Add a new Repository to this registry.
addRepository(Repository) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
Add a new Repository to this registry.
addRepository(Repository, int) - Method in interface com.sun.enterprise.module.ModulesRegistry
Add a new Repository to this registry.
addRepository(Repository) - Method in interface com.sun.enterprise.module.ModulesRegistry
Add a new Repository to this registry.
addRepositoryFactory(RepositoryFactory) - Method in class com.sun.enterprise.module.RepositoryFactories
Add a new RepositoryFactory to 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 InhabitantsDescriptor that 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(Module) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
Modules can notify their registry that they have changed (classes, resources,etc...).
changed(Module) - 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
 
ClasspathDescriptorFileFinder(ClassLoader) - Constructor for class org.glassfish.hk2.bootstrap.impl.ClasspathDescriptorFileFinder
 
ClasspathDescriptorFileFinder(ClassLoader, String) - Constructor for class org.glassfish.hk2.bootstrap.impl.ClasspathDescriptorFileFinder
 
ClasspathDescriptorFileFinder() - Constructor for class org.glassfish.hk2.bootstrap.impl.ClasspathDescriptorFileFinder
 
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
 
ContextDuplicatePostProcessor - Class in com.sun.enterprise.module.bootstrap
This class will weed out and duplicate implementations of anything populated into the locator.
ContextDuplicatePostProcessor() - Constructor for class com.sun.enterprise.module.bootstrap.ContextDuplicatePostProcessor
 
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 ModulesRegistryImpl in this ModulesRegistryImpl.
createChild() - Method in interface com.sun.enterprise.module.ModulesRegistry
Creates a new child ModulesRegistry in this ModulesRegistry.
createModuleId(String, String) - Method in class com.sun.enterprise.module.common_impl.AbstractFactory
 
createModuleId(ModuleDefinition) - Method in class com.sun.enterprise.module.common_impl.AbstractFactory
 
createModuleId(String, String) - Method in class com.sun.enterprise.module.impl.HK2Factory
 
createModuleId(ModuleDefinition) - 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 Repository with 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(ModulesRegistry, StartupContext, Binder, DescriptorFileFinder) - Method in class com.sun.enterprise.module.bootstrap.Main
 
createServiceLocator(ServiceLocator, String) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
 
createServiceLocator(String) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
 
createServiceLocator() - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
 
createServiceLocator() - Method in interface com.sun.enterprise.module.ModulesRegistry
Creates the default ServiceLocator from all the modules in this registry Calling this method has the same effect of calling #createServiceLocator("default")
createServiceLocator(String) - Method in interface com.sun.enterprise.module.ModulesRegistry
Creates a ServiceLocator from all the modules in this registry Cal;ling this method has the same effect of calling ModulesRegistry.newServiceLocator() followed by ModulesRegistry.populateServiceLocator(String, ServiceLocator).
createServiceLocator(ServiceLocator, String) - Method in interface com.sun.enterprise.module.ModulesRegistry
Creates a ServiceLocator with the provided parent.
createServiceLocator(String) - Method in class com.sun.enterprise.module.single.StaticModulesRegistry
 

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
 
DefaultErrorService - Class in com.sun.enterprise.module.bootstrap
 
DefaultErrorService() - Constructor for class com.sun.enterprise.module.bootstrap.DefaultErrorService
 
DefaultModuleDefinition - Class in com.sun.enterprise.module.common_impl
ModuleDefinition implementation 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
 
detach() - Method in class com.sun.enterprise.module.impl.ModuleImpl
Detach this module from its registry.
detach() - Method in interface com.sun.enterprise.module.Module
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 class com.sun.enterprise.module.impl.ModuleImpl
 
dumpState(PrintStream) - Method in interface com.sun.enterprise.module.Module
 
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
 
equals(Object) - Method in class com.sun.enterprise.module.common_impl.ModuleId
 

F

fileNames - Variable in class com.sun.enterprise.module.impl.CookedLibRepository
 
finalize() - Method in class com.sun.enterprise.module.impl.ClassLoaderProxy
 
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 DefaultModuleDefinition instance for a module given the name and version constraints.
find(Class) - Method in class com.sun.enterprise.module.impl.ModulesRegistryImpl
 
find(Class) - Method in interface com.sun.enterprise.module.ModulesRegistry
Finds the Module that owns the given class.
find(String, String) - Method in interface com.sun.enterprise.module.Repository
Finds and returns a DefaultModuleDefinition instance for a module given the name and version constraints.
find(Class) - Method in class com.sun.enterprise.module.single.ClassPathBasedModulesRegistry
 
find(Class) - Method in class com.sun.enterprise.module.single.SingleModulesRegistry
 
findAll() - Method in class com.sun.enterprise.module.common_impl.AbstractRepositoryImpl
 
findAll(String) - 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(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() - Method in interface com.sun.enterprise.module.Repository
Returns a list of all modules available in this repository
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 interface org.glassfish.hk2.bootstrap.DescriptorFileFinder
 
findDescriptorFiles() - Method in class org.glassfish.hk2.bootstrap.impl.ClasspathDescriptorFileFinder
 
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
Iterator implementation 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
 
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 class com.sun.enterprise.module.impl.ModuleImpl
Return the ClassLoader instance associated with this module.
getClassLoader() - Method in interface com.sun.enterprise.module.Module
Return the ClassLoader instance 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(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 RespositoryFactory factory instance capable of creating Repository repositories of the provided type
getHabitats(String) - Method in class com.sun.enterprise.module.ModuleMetadata
 
getImportPolicyClassName() - Method in class com.sun.enterprise.module.common_impl.DefaultModuleDefinition
Returns the class name implementing the ImportPolicy interface 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 class com.sun.enterprise.module.impl.ModuleImpl
Returns the list of imported modules
getImports() - Method in interface com.sun.enterprise.module.Module
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 LifecyclePolicy interface 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 class com.sun.enterprise.module.impl.ModuleImpl
Gets the metadata of this module.
getMetadata() - Method in interface com.sun.enterprise.module.Module
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 class com.sun.enterprise.module.impl.ModuleImpl
Returns the module definition for this module instance
getModuleDefinition() - Method in interface com.sun.enterprise.module.Module
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(String) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
 
getModules() - Method in interface com.sun.enterprise.module.ModulesRegistry
Returns the list of shared Modules registered in this instance.
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() - Method in class com.sun.enterprise.module.single.ClassPathBasedModulesRegistry
 
getModules(String) - Method in class com.sun.enterprise.module.single.SingleModulesRegistry
 
getModules() - Method in class com.sun.enterprise.module.single.SingleModulesRegistry
 
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>) - 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 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 Module 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 Module 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 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.Module
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 class com.sun.enterprise.module.impl.ModuleImpl
 
getProvidersClass(String) - Method in class com.sun.enterprise.module.impl.ModuleImpl
 
getProvidersClass(Class<T>) - Method in interface com.sun.enterprise.module.Module
 
getProvidersClass(String) - Method in interface com.sun.enterprise.module.Module
 
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 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 Module that 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 class com.sun.enterprise.module.impl.ModuleImpl
Returns the registry owning this module
getRegistry() - Method in interface com.sun.enterprise.module.Module
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 class com.sun.enterprise.module.impl.ModuleImpl
Returns the module's state
getState() - Method in interface com.sun.enterprise.module.Module
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(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 interface com.sun.enterprise.module.Module
Returns true if this module has any provider for the given service class.
hasProvider() - Method in class com.sun.enterprise.module.ModuleMetadata.Entry
 
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(ClassLoader) - Constructor for class org.glassfish.hk2.bootstrap.impl.Hk2LoaderPopulatorPostProcessor
Creates the post-processor to use the given classloader
Hk2LoaderPopulatorPostProcessor() - Constructor for class org.glassfish.hk2.bootstrap.impl.Hk2LoaderPopulatorPostProcessor
 
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 class com.sun.enterprise.module.impl.ModuleImpl
Returns true if this module is sharable.
isShared() - Method in interface com.sun.enterprise.module.Module
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 class com.sun.enterprise.module.impl.ModuleImpl
Returns true if the module is sticky.
isSticky() - Method in interface com.sun.enterprise.module.Module
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 JarFile so 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(ModulesRegistry, String, StartupContext) - Method in class com.sun.enterprise.module.bootstrap.Main
Launches the module system and hand over the execution to the ModuleStartup implementation of the main module.
launch(ModuleStartup, StartupContext) - Method in class com.sun.enterprise.module.bootstrap.Main
 
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 all ModuleDefinitions 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 - 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(String[]) - Static method in 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, String) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
Returns the Module instance giving a name and version constraints.
makeModuleFor(String, String, boolean) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
 
makeModuleFor(String) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
Find and return a loaded Module that has the package name in its list of exported interfaces.
makeModuleFor(String, String) - Method in interface com.sun.enterprise.module.ModulesRegistry
Returns the Module instance giving a name and version constraints.
makeModuleFor(String, String, boolean) - Method in interface com.sun.enterprise.module.ModulesRegistry
Returns the Module instance giving a name and version constraints.
makeModuleFor(String) - Method in interface com.sun.enterprise.module.ModulesRegistry
Find and return a loaded Module that has the package name in its list of exported interfaces.
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
 
ManifestProxy.SeparatorMappings(String, String) - Constructor for class com.sun.enterprise.module.single.ManifestProxy.SeparatorMappings
 
mappings - Variable in class com.sun.enterprise.module.single.ManifestProxy
 
Module - Interface in com.sun.enterprise.module
 
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 Module.
ModuleId() - 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
 
ModuleId(ModuleDefinition) - 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(Module) - 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
 
ModuleMetadata.Entry() - Constructor for class com.sun.enterprise.module.ModuleMetadata.Entry
 
moduleRemoved(ModuleDefinition) - Method in interface com.sun.enterprise.module.RepositoryChangeListener
A module file was removed from the repository
moduleResolved(Module) - 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(Module) - 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 in com.sun.enterprise.module
ModuleState define the state of a Module instance.
moduleStopped(Module) - Method in interface com.sun.enterprise.module.ModuleLifecycleListener
Callback after a module is stopped
moduleUpdated(Module) - 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
 
newModule(ModuleDefinition) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
Factory method for creating new instances of Module.
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 Habitat
newServiceLocator(ServiceLocator) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
Create a new ServiceLocator optionally providing a parent Services
newServiceLocator() - Method in interface com.sun.enterprise.module.ModulesRegistry
Creates an uninitialized ServiceLocator
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

onFailure(ErrorInformation) - Method in class com.sun.enterprise.module.bootstrap.DefaultErrorService
 
org.glassfish.hk2.bootstrap - package org.glassfish.hk2.bootstrap
 
org.glassfish.hk2.bootstrap.impl - package org.glassfish.hk2.bootstrap.impl
 

P

parent - Variable in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
ModulesRegistry can 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 from manifest attributes and updates URI list.
parseInhabitants(Module, String, ServiceLocator) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
 
parseInhabitants(Module, String, ServiceLocator) - Method in class com.sun.enterprise.module.impl.ModulesRegistryImpl
 
parseInhabitants(Module, String, ServiceLocator) - Method in class com.sun.enterprise.module.single.ClassPathBasedModulesRegistry
 
parseInhabitants(Module, String, ServiceLocator) - 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, DescriptorFileFinder, Binder) - 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 DescriptorImpl writeObject method.
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 DescriptorImpl writeObject method, looking in the classpath to locate these files
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
 
populateConfig(ServiceLocator) - Static method in class org.glassfish.hk2.bootstrap.HK2Populator
 
populateServiceLocator(String, ServiceLocator) - Method in class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
Creates a ServiceLocator from all the modules in this registry
populateServiceLocator(String, ServiceLocator) - Method in interface com.sun.enterprise.module.ModulesRegistry
Populates a ServiceLocator from all the modules in this registry.
PopulatorPostProcessor - Interface in org.glassfish.hk2.bootstrap
 
prepare(Module) - Method in interface com.sun.enterprise.module.ImportPolicy
callback from the module loading system when the module enters the PREPARING phase.
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(DescriptorImpl) - Method in class com.sun.enterprise.module.bootstrap.ContextDuplicatePostProcessor
 
process(DescriptorImpl) - Method in class org.glassfish.hk2.bootstrap.impl.Hk2LoaderPopulatorPostProcessor
Uses the given classloader to load the class from the descriptor
process(DescriptorImpl) - Method in interface org.glassfish.hk2.bootstrap.PopulatorPostProcessor
This method can be used to alter the descriptor read in.
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 Module 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
 
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 interface com.sun.enterprise.module.Module
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 ModuleLifecycleListener to this registry.
register(ModuleLifecycleListener) - Method in interface com.sun.enterprise.module.ModulesRegistry
Add a ModuleLifecycleListener to 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.
remove(Module) - 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
 
remove() - Method in class com.sun.enterprise.module.common_impl.AdapterIterator
 
remove() - Method in class com.sun.enterprise.module.common_impl.FlattenIterator
 
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(RepositoryChangeListener) - Method in class com.sun.enterprise.module.common_impl.AbstractRepositoryImpl
Removes a previously registered listener
removeListener(ModuleChangeListener) - Method in class com.sun.enterprise.module.impl.ModuleImpl
Unregister a module change listener
removeListener(ModuleChangeListener) - Method in interface com.sun.enterprise.module.Module
Unregister a module change listener
removeListener(RepositoryChangeListener) - Method in interface com.sun.enterprise.module.Repository
Removes a previously registered listener
removeListener(ModuleChangeListener) - Method in class com.sun.enterprise.module.single.ProxyModule
 
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 class com.sun.enterprise.module.impl.ModuleImpl
Ensure that this module is resolved.
resolve() - Method in interface com.sun.enterprise.module.Module
Ensure that this module is resolved.
resolve() - Method in class com.sun.enterprise.module.single.ProxyModule
 
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
 
RESOURCE_BASE - Static variable in interface org.glassfish.hk2.bootstrap.DescriptorFileFinder
 
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

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 class com.sun.enterprise.module.impl.ModuleImpl
Sets the sticky flag.
setSticky(boolean) - Method in interface com.sun.enterprise.module.Module
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(String[]) - Method in class com.sun.enterprise.module.bootstrap.Main
Start the server from the command line
start() - Method in interface com.sun.enterprise.module.bootstrap.ModuleStartup
 
start(Properties) - Method in class com.sun.enterprise.module.bootstrap.PlatformMain
Starts the main entry point using this platform implementation.
start() - Method in class com.sun.enterprise.module.impl.ModuleImpl
Forces module startup.
start(Module) - Method in interface com.sun.enterprise.module.LifecyclePolicy
Callback when the module enters the READY state.
start() - Method in interface com.sun.enterprise.module.Module
Forces module startup.
start() - Method in class com.sun.enterprise.module.single.ProxyModule
 
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 class com.sun.enterprise.module.impl.ClassLoaderProxy
called by the facade class loader when it is garbage collected.
stop() - Method in class com.sun.enterprise.module.impl.ModuleImpl
Forces module stop.
stop(Module) - Method in interface com.sun.enterprise.module.LifecyclePolicy
Callback before the module starts being unloaded.
stop() - Method in interface com.sun.enterprise.module.Module
Forces module stop.
stop() - Method in class com.sun.enterprise.module.single.ProxyModule
 
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 class com.sun.enterprise.module.impl.ModuleImpl
 
uninstall() - Method in interface com.sun.enterprise.module.Module
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.single.ProxyModule
 
unregister(ModuleLifecycleListener) - Method in class com.sun.enterprise.module.impl.ModulesRegistryImpl
Removes an ModuleLifecycleListener from this registry.
unregister(ModuleLifecycleListener) - Method in interface com.sun.enterprise.module.ModulesRegistry
Removes an ModuleLifecycleListener from 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 com.sun.enterprise.module.ModuleState
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.sun.enterprise.module.ModuleState
Returns an array containing the constants of this enum type, 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
 

A B C D E F G H I J L M N O P R S T U V W

Copyright © 2012 Oracle Corporation. All Rights Reserved.