org.qi4j.api.structure
Interface Application
- All Superinterfaces:
- Activation, ActivationEventListenerRegistration, MetaInfoHolder
public interface Application
- extends ActivationEventListenerRegistration, Activation, MetaInfoHolder
The Application represents a whole Qi4j application.
name
java.lang.String name()
version
java.lang.String version()
- The version of the application. This can be in any format, but
most likely will follow the Dewey format, i.e. x.y.z.
- Returns:
- the version of the application
mode
Application.Mode mode()
findLayer
Layer findLayer(java.lang.String layerName)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
findModule
Module findModule(java.lang.String layerName,
java.lang.String moduleName)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
descriptor
ApplicationDescriptor descriptor()