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 ModuleDefinitionRepository. find(java.lang.String name, java.lang.String version)Finds and returns aDefaultModuleDefinitioninstance for a module given the name and version constraints.ModuleDefinitionModule. 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 ModuleModulesRegistry. add(ModuleDefinition info)Registers a new DefaultModuleDefinition in this registry.ModuleModulesRegistry. add(ModuleDefinition info, boolean resolve)Registers a new DefaultModuleDefinition in this registry.voidRepositoryChangeListener. moduleAdded(ModuleDefinition definition)A new module jar file was added to the repository.voidRepositoryChangeListener. 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.ClassLoaderModulesRegistry. 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.ClassLoaderModulesRegistry. 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 classDefaultModuleDefinitionModuleDefinitionimplementation 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. moduleDefsMethods in com.sun.enterprise.module.common_impl that return ModuleDefinition Modifier and Type Method Description ModuleDefinitionAbstractRepositoryImpl. find(java.lang.String name, java.lang.String version)protected ModuleDefinitionAbstractRepositoryImpl. loadJar(java.io.File jar)Loads a jar file and builds aModuleDefinition.protected ModuleDefinitionAbstractRepositoryImpl. 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 ModuleAbstractModulesRegistryImpl. add(ModuleDefinition info)Registers a new DefaultModuleDefinition in this registry.ModuleAbstractModulesRegistryImpl. add(ModuleDefinition info, boolean resolve)protected voidAbstractRepositoryImpl. add(ModuleDefinition def)abstract ModuleIdAbstractFactory. createModuleId(ModuleDefinition md)protected abstract ModuleAbstractModulesRegistryImpl. newModule(ModuleDefinition moduleDef)Factory method for creating new instances of Module.protected voidAbstractRepositoryImpl. 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 voidAbstractRepositoryImpl. loadModuleDefs(java.util.Map<ModuleId,ModuleDefinition> moduleDefs, java.util.List<java.net.URI> libraries)Called fromAbstractRepositoryImpl.initialize()to load allModuleDefinitions and libraries defintionsprotected voidDirectoryBasedRepository. 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 classCookedModuleDefinitionFields in com.sun.enterprise.module.impl declared as ModuleDefinition Modifier and Type Field Description private ModuleDefinitionModuleImpl. moduleDefMethods in com.sun.enterprise.module.impl that return ModuleDefinition Modifier and Type Method Description ModuleDefinitionCookedLibRepository. find(java.lang.String name, java.lang.String version)Finds and returns aDefaultModuleDefinitioninstance for a module given the name and version constraints.ModuleDefinitionModuleImpl. 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 voidCookedLibRepository. add(ModuleDefinition definition)Adds a new moduleModuleIdHK2Factory. createModuleId(ModuleDefinition md)protected ModuleModulesRegistryImpl. newModule(ModuleDefinition moduleDef)Method parameters in com.sun.enterprise.module.impl with type arguments of type ModuleDefinition Modifier and Type Method Description java.lang.ClassLoaderModulesRegistryImpl. 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.ClassLoaderModulesRegistryImpl. 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 classProxyModuleDefinitionCreates 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) ModuleDefinitionProxyModule. moduleDefFields in com.sun.enterprise.module.single with type parameters of type ModuleDefinition Modifier and Type Field Description (package private) java.util.List<ModuleDefinition>ClassPathBasedModulesRegistry. moduleDefsMethods in com.sun.enterprise.module.single that return ModuleDefinition Modifier and Type Method Description ModuleDefinitionProxyModule. getModuleDefinition()Constructors in com.sun.enterprise.module.single with parameters of type ModuleDefinition Constructor Description ProxyModule(ModulesRegistry registry, ModuleDefinition moduleDef, java.lang.ClassLoader cl)
-