org.qi4j.api.structure
Interface Module
- All Superinterfaces:
- ActivationEventListenerRegistration, MetaInfoHolder, ObjectFactory, QueryBuilderFactory, ServiceFinder, TransientBuilderFactory, UnitOfWorkFactory, ValueBuilderFactory
public interface Module
- extends ActivationEventListenerRegistration, MetaInfoHolder, ObjectFactory, TransientBuilderFactory, ValueBuilderFactory, UnitOfWorkFactory, QueryBuilderFactory, ServiceFinder
API for interacting with a Module. Instances
of this can be accessed by using the Structure
injection scope.
name
java.lang.String name()
- Returns:
- the Module's name
classLoader
java.lang.ClassLoader classLoader()
- Returns:
- the Module's ClassLoader
transientDescriptor
TransientDescriptor transientDescriptor(java.lang.String typeName)
- Parameters:
typeName
- name of a transient composite type
- Returns:
- the descriptor for a transient composite or null if the class could not be found or the transient composite is not visible
entityDescriptor
EntityDescriptor entityDescriptor(java.lang.String typeName)
- Parameters:
typeName
- name of an entity composite type
- Returns:
- the descriptor for an entity composite or null if the class could not be found or the entity composite is not visible
objectDescriptor
ObjectDescriptor objectDescriptor(java.lang.String typeName)
- Parameters:
typeName
- name of an object type
- Returns:
- the descriptor for an object or null if the class could not be found or the object is not visible
valueDescriptor
ValueDescriptor valueDescriptor(java.lang.String typeName)
- Parameters:
typeName
- name of a value composite type
- Returns:
- the descriptor for a value composite or null if the class could not be found or the value composite is not visible