Uses of Interface
com.sun.enterprise.module.ModuleDefinition
-
Packages that use ModuleDefinition Package Description com.sun.enterprise.module com.sun.enterprise.module.common_impl com.sun.enterprise.module.impl com.sun.enterprise.module.single -
-
Uses of ModuleDefinition in com.sun.enterprise.module
Methods in com.sun.enterprise.module that return ModuleDefinition Modifier and Type Method Description ModuleDefinition
Repository. find(java.lang.String name, java.lang.String version)
Finds and returns aDefaultModuleDefinition
instance for a module given the name and version constraints.ModuleDefinition
Module. getModuleDefinition()
Returns the module definition for this module instanceMethods in com.sun.enterprise.module that return types with arguments of type ModuleDefinition Modifier and Type Method Description java.util.List<ModuleDefinition>
Repository. findAll()
Returns a list of all modules available in this repositoryjava.util.List<ModuleDefinition>
Repository. findAll(java.lang.String name)
Finds and returns a list of all the available versions of a module given its name.Methods in com.sun.enterprise.module with parameters of type ModuleDefinition Modifier and Type Method Description Module
ModulesRegistry. add(ModuleDefinition info)
Registers a new DefaultModuleDefinition in this registry.Module
ModulesRegistry. add(ModuleDefinition info, boolean resolve)
Registers a new DefaultModuleDefinition in this registry.void
RepositoryChangeListener. moduleAdded(ModuleDefinition definition)
A new module jar file was added to the repository.void
RepositoryChangeListener. moduleRemoved(ModuleDefinition definition)
A module file was removed from the repositoryMethod parameters in com.sun.enterprise.module with type arguments of type ModuleDefinition Modifier and Type Method Description java.lang.ClassLoader
ModulesRegistry. getModulesClassLoader(java.lang.ClassLoader parent, java.util.Collection<ModuleDefinition> defs)
Returns a ClassLoader capable of loading classes from a set of modules identified by their module definitionjava.lang.ClassLoader
ModulesRegistry. getModulesClassLoader(java.lang.ClassLoader parent, java.util.Collection<ModuleDefinition> defs, java.net.URL[] urls)
Returns a ClassLoader capable of loading classes from a set of modules identified by their module definition and also load new urls. -
Uses of ModuleDefinition in com.sun.enterprise.module.common_impl
Classes in com.sun.enterprise.module.common_impl that implement ModuleDefinition Modifier and Type Class Description class
DefaultModuleDefinition
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.Fields in com.sun.enterprise.module.common_impl with type parameters of type ModuleDefinition Modifier and Type Field Description private java.util.Map<ModuleId,ModuleDefinition>
AbstractRepositoryImpl. moduleDefs
Methods in com.sun.enterprise.module.common_impl that return ModuleDefinition Modifier and Type Method Description ModuleDefinition
AbstractRepositoryImpl. find(java.lang.String name, java.lang.String version)
protected ModuleDefinition
AbstractRepositoryImpl. loadJar(java.io.File jar)
Loads a jar file and builds aModuleDefinition
.protected ModuleDefinition
AbstractRepositoryImpl. newModuleDefinition(java.io.File jar, java.util.jar.Attributes attr)
Extensibility point for subclasses to create a different instance ofModuleDefinition
.Methods in com.sun.enterprise.module.common_impl that return types with arguments of type ModuleDefinition Modifier and Type Method Description java.util.List<ModuleDefinition>
AbstractRepositoryImpl. findAll()
java.util.List<ModuleDefinition>
AbstractRepositoryImpl. findAll(java.lang.String name)
Methods in com.sun.enterprise.module.common_impl with parameters of type ModuleDefinition Modifier and Type Method Description Module
AbstractModulesRegistryImpl. add(ModuleDefinition info)
Registers a new DefaultModuleDefinition in this registry.Module
AbstractModulesRegistryImpl. add(ModuleDefinition info, boolean resolve)
protected void
AbstractRepositoryImpl. add(ModuleDefinition def)
abstract ModuleId
AbstractFactory. createModuleId(ModuleDefinition md)
protected abstract Module
AbstractModulesRegistryImpl. newModule(ModuleDefinition moduleDef)
Factory method for creating new instances of Module.protected void
AbstractRepositoryImpl. remove(ModuleDefinition def)
Method parameters in com.sun.enterprise.module.common_impl with type arguments of type ModuleDefinition Modifier and Type Method Description protected abstract void
AbstractRepositoryImpl. loadModuleDefs(java.util.Map<ModuleId,ModuleDefinition> moduleDefs, java.util.List<java.net.URI> libraries)
Called fromAbstractRepositoryImpl.initialize()
to load allModuleDefinition
s and libraries defintionsprotected void
DirectoryBasedRepository. loadModuleDefs(java.util.Map<ModuleId,ModuleDefinition> moduleDefs, java.util.List<java.net.URI> libraries)
Constructors in com.sun.enterprise.module.common_impl with parameters of type ModuleDefinition Constructor Description ModuleId(ModuleDefinition md)
-
Uses of ModuleDefinition in com.sun.enterprise.module.impl
Classes in com.sun.enterprise.module.impl that implement ModuleDefinition Modifier and Type Class Description class
CookedModuleDefinition
Fields in com.sun.enterprise.module.impl declared as ModuleDefinition Modifier and Type Field Description private ModuleDefinition
ModuleImpl. moduleDef
Methods in com.sun.enterprise.module.impl that return ModuleDefinition Modifier and Type Method Description ModuleDefinition
CookedLibRepository. find(java.lang.String name, java.lang.String version)
Finds and returns aDefaultModuleDefinition
instance for a module given the name and version constraints.ModuleDefinition
ModuleImpl. getModuleDefinition()
Returns the module definition for this module instanceMethods in com.sun.enterprise.module.impl that return types with arguments of type ModuleDefinition Modifier and Type Method Description abstract java.util.List<ModuleDefinition>
CookedLibRepository. findAll()
Returns a list of all modules available in this repositoryjava.util.List<ModuleDefinition>
CookedLibRepository. findAll(java.lang.String name)
Finds and returns a list of all the available versions of a module given its name.Methods in com.sun.enterprise.module.impl with parameters of type ModuleDefinition Modifier and Type Method Description void
CookedLibRepository. add(ModuleDefinition definition)
Adds a new moduleModuleId
HK2Factory. createModuleId(ModuleDefinition md)
protected Module
ModulesRegistryImpl. newModule(ModuleDefinition moduleDef)
Method parameters in com.sun.enterprise.module.impl with type arguments of type ModuleDefinition Modifier and Type Method Description java.lang.ClassLoader
ModulesRegistryImpl. getModulesClassLoader(java.lang.ClassLoader parent, java.util.Collection<ModuleDefinition> defs)
Returns a ClassLoader capable of loading classes from a set of modules identified by their module definitionjava.lang.ClassLoader
ModulesRegistryImpl. getModulesClassLoader(java.lang.ClassLoader parent, java.util.Collection<ModuleDefinition> defs, java.net.URL[] urls)
Returns a ClassLoader capable of loading classes from a set of modules identified by their module definition and also load new urls.Constructors in com.sun.enterprise.module.impl with parameters of type ModuleDefinition Constructor Description ModuleImpl(ModulesRegistryImpl registry, ModuleDefinition info)
Creates a new instance of Module -
Uses of ModuleDefinition in com.sun.enterprise.module.single
Classes in com.sun.enterprise.module.single that implement ModuleDefinition Modifier and Type Class Description class
ProxyModuleDefinition
Creates a ModuleDefinition backed up by a a single classloader.Fields in com.sun.enterprise.module.single declared as ModuleDefinition Modifier and Type Field Description (package private) ModuleDefinition
ProxyModule. moduleDef
Fields in com.sun.enterprise.module.single with type parameters of type ModuleDefinition Modifier and Type Field Description (package private) java.util.List<ModuleDefinition>
ClassPathBasedModulesRegistry. moduleDefs
Methods in com.sun.enterprise.module.single that return ModuleDefinition Modifier and Type Method Description ModuleDefinition
ProxyModule. getModuleDefinition()
Constructors in com.sun.enterprise.module.single with parameters of type ModuleDefinition Constructor Description ProxyModule(ModulesRegistry registry, ModuleDefinition moduleDef, java.lang.ClassLoader cl)
-