org.qi4j.api.structure

## Interface Module

- All Superinterfaces:
    ActivationEventListenerRegistration, MetaInfoHolder, ObjectFactory, QueryBuilderFactory, ServiceFinder, TransientBuilderFactory, UnitOfWorkFactory, ValueBuilderFactory
  All Known Subinterfaces:
    ModuleSpi

      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.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ClassLoader` | `classLoader()`
    `EntityDescriptor` | `entityDescriptor(String typeName)`
    `String` | `name()`
    `ObjectDescriptor` | `objectDescriptor(String typeName)`
    `TransientDescriptor` | `transientDescriptor(String typeName)`
    `ValueDescriptor` | `valueDescriptor(String typeName)`

    - ### Methods inherited from interface org.qi4j.api.activation.ActivationEventListenerRegistration

      `deregisterActivationEventListener, registerActivationEventListener`

    - ### Methods inherited from interface org.qi4j.api.structure.MetaInfoHolder

      `metaInfo`

    - ### Methods inherited from interface org.qi4j.api.object.ObjectFactory

      `injectTo, newObject`

    - ### Methods inherited from interface org.qi4j.api.composite.TransientBuilderFactory

      `newTransient, newTransientBuilder`

    - ### Methods inherited from interface org.qi4j.api.value.ValueBuilderFactory

      `newValue, newValueBuilder, newValueBuilderWithPrototype, newValueBuilderWithState, newValueFromSerializedState`

    - ### Methods inherited from interface org.qi4j.api.unitofwork.UnitOfWorkFactory

      `currentUnitOfWork, getUnitOfWork, isUnitOfWorkActive, newUnitOfWork, newUnitOfWork, newUnitOfWork, newUnitOfWork`

    - ### Methods inherited from interface org.qi4j.api.query.QueryBuilderFactory

      `newQueryBuilder`

    - ### Methods inherited from interface org.qi4j.api.service.ServiceFinder

      `findService, findService, findServices, findServices`

- - ### Method Detail

    - #### name

          String name()

      Returns:
        the Module's name

    - #### classLoader

          ClassLoader classLoader()

      Returns:
        the Module's ClassLoader

    - #### transientDescriptor

          TransientDescriptor transientDescriptor(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(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(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(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