Uses of Interface
com.sun.enterprise.module.ModuleDefinition
Packages that use ModuleDefinition
Package
Description
-
Uses of ModuleDefinition in com.sun.enterprise.module
Methods in com.sun.enterprise.module that return ModuleDefinitionModifier and TypeMethodDescriptionFinds and returns aDefaultModuleDefinitioninstance for a module given the name and version constraints.HK2Module.getModuleDefinition()Returns the module definition for this module instanceMethods in com.sun.enterprise.module that return types with arguments of type ModuleDefinitionModifier and TypeMethodDescriptionRepository.findAll()Returns a list of all modules available in this repositoryFinds 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 ModuleDefinitionModifier and TypeMethodDescriptionModulesRegistry.add(ModuleDefinition info) Registers a new DefaultModuleDefinition in this registry.ModulesRegistry.add(ModuleDefinition info, boolean resolve) Registers a new DefaultModuleDefinition in this registry.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 ModuleDefinitionModifier and TypeMethodDescriptionModulesRegistry.getModulesClassLoader(ClassLoader parent, Collection<ModuleDefinition> defs) Returns a ClassLoader capable of loading classes from a set of modules identified by their module definitionModulesRegistry.getModulesClassLoader(ClassLoader parent, Collection<ModuleDefinition> defs, 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 ModuleDefinitionModifier and TypeClassDescriptionclassModuleDefinitionimplementation that picks up most of the module properties from the manifest file of the jar, as baked in by the hk2-maven-plugin.Methods in com.sun.enterprise.module.common_impl that return ModuleDefinitionModifier and TypeMethodDescriptionprotected ModuleDefinitionLoads a jar file and builds aModuleDefinition.protected ModuleDefinitionAbstractRepositoryImpl.newModuleDefinition(File 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 ModuleDefinitionMethods in com.sun.enterprise.module.common_impl with parameters of type ModuleDefinitionModifier and TypeMethodDescriptionAbstractModulesRegistryImpl.add(ModuleDefinition info) Registers a new DefaultModuleDefinition in this registry.AbstractModulesRegistryImpl.add(ModuleDefinition info, boolean resolve) protected voidAbstractRepositoryImpl.add(ModuleDefinition def) abstract ModuleIdAbstractFactory.createModuleId(ModuleDefinition md) protected abstract HK2ModuleAbstractModulesRegistryImpl.newModule(ModuleDefinition moduleDef) Factory method for creating new instances of HK2Module.protected voidAbstractRepositoryImpl.remove(ModuleDefinition def) Method parameters in com.sun.enterprise.module.common_impl with type arguments of type ModuleDefinitionModifier and TypeMethodDescriptionprotected abstract voidAbstractRepositoryImpl.loadModuleDefs(Map<ModuleId, ModuleDefinition> moduleDefs, List<URI> libraries) Called fromAbstractRepositoryImpl.initialize()to load allModuleDefinitions and libraries defintionsprotected voidDirectoryBasedRepository.loadModuleDefs(Map<ModuleId, ModuleDefinition> moduleDefs, List<URI> libraries) Constructors in com.sun.enterprise.module.common_impl with parameters of type ModuleDefinition -
Uses of ModuleDefinition in com.sun.enterprise.module.impl
Classes in com.sun.enterprise.module.impl that implement ModuleDefinitionMethods in com.sun.enterprise.module.impl that return ModuleDefinitionModifier and TypeMethodDescriptionFinds and returns aDefaultModuleDefinitioninstance for a module given the name and version constraints.ModuleImpl.getModuleDefinition()Returns the module definition for this module instanceMethods in com.sun.enterprise.module.impl that return types with arguments of type ModuleDefinitionModifier and TypeMethodDescriptionabstract List<ModuleDefinition>CookedLibRepository.findAll()Returns a list of all modules available in this repositoryFinds 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 ModuleDefinitionModifier and TypeMethodDescriptionvoidCookedLibRepository.add(ModuleDefinition definition) Adds a new moduleHK2Factory.createModuleId(ModuleDefinition md) protected HK2ModuleModulesRegistryImpl.newModule(ModuleDefinition moduleDef) Method parameters in com.sun.enterprise.module.impl with type arguments of type ModuleDefinitionModifier and TypeMethodDescriptionModulesRegistryImpl.getModulesClassLoader(ClassLoader parent, Collection<ModuleDefinition> defs) Returns a ClassLoader capable of loading classes from a set of modules identified by their module definitionModulesRegistryImpl.getModulesClassLoader(ClassLoader parent, Collection<ModuleDefinition> defs, 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.single
Classes in com.sun.enterprise.module.single that implement ModuleDefinitionModifier and TypeClassDescriptionclassCreates a ModuleDefinition backed up by a a single classloader.Methods in com.sun.enterprise.module.single that return ModuleDefinitionConstructors in com.sun.enterprise.module.single with parameters of type ModuleDefinitionModifierConstructorDescriptionProxyModule(ModulesRegistry registry, ModuleDefinition moduleDef, ClassLoader cl)