|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ApplicationAssembly
An application assembly. This can be used by Assemblers to programmatically set the name of the application and create new layers.
Method Summary | ||
---|---|---|
LayerAssembly |
layer(java.lang.String name)
Create a new layer assembly |
|
Application.Mode |
mode()
Get the currently set mode of the application |
|
java.lang.String |
name()
Get the currently set name of the application |
|
ApplicationAssembly |
setMetaInfo(java.lang.Object info)
|
|
ApplicationAssembly |
setMode(Application.Mode mode)
Set the application mode. |
|
ApplicationAssembly |
setName(java.lang.String name)
Set the name of the application |
|
ApplicationAssembly |
setVersion(java.lang.String version)
Set the version of the application. |
|
|
visit(AssemblyVisitor<ThrowableType> visitor)
|
|
ApplicationAssembly |
withActivators(java.lang.Class<? extends Activator<Application>>... activators)
Set the application activators. |
Method Detail |
---|
LayerAssembly layer(java.lang.String name)
name
- of the new layer
java.lang.String name()
Application.Mode mode()
ApplicationAssembly setName(java.lang.String name)
name
- of the application
ApplicationAssembly setVersion(java.lang.String version)
version
- of the application
ApplicationAssembly setMode(Application.Mode mode)
mode
- the application mode
ApplicationAssembly setMetaInfo(java.lang.Object info)
ApplicationAssembly withActivators(java.lang.Class<? extends Activator<Application>>... activators)
activators
- the application activators
<ThrowableType extends java.lang.Throwable> void visit(AssemblyVisitor<ThrowableType> visitor) throws ThrowableType extends java.lang.Throwable
ThrowableType extends java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |