|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LayerAssembly
Fluid API for declaring a layer in an application. This is obtained by calling ApplicationAssembly.layer(String)
.
Method Summary | ||
---|---|---|
ApplicationAssembly |
application()
|
|
EntityDeclaration |
entities(Specification<? super EntityAssembly> specification)
Given a Specification for EntityAssembly's, returns a EntityDeclaration that can be used to work with all of the assemblies in this Layer matched by the specification. |
|
ImportedServiceDeclaration |
importedServices(Specification<? super ImportedServiceAssembly> specification)
Given a Specification for ImportedServiceAssembly's, returns a ImportedServiceDeclaration that can be used to work with all of the assemblies in this Layer matched by the specification. |
|
ModuleAssembly |
module(String name)
Get an assembly for a particular Module. |
|
String |
name()
|
|
ObjectDeclaration |
objects(Specification<? super ObjectAssembly> specification)
Given a Specification for ObjectAssembly's, returns a ObjectDeclaration that can be used to work with all of the assemblies in this Layer matched by the specification. |
|
ServiceDeclaration |
services(Specification<? super ServiceAssembly> specification)
Given a Specification for ServiceAssembly's, returns a ServiceDeclaration that can be used to work with all of the assemblies in this Layer matched by the specification. |
|
LayerAssembly |
setMetaInfo(Object info)
|
|
LayerAssembly |
setName(String name)
|
|
TransientDeclaration |
transients(Specification<? super TransientAssembly> specification)
Given a Specification for TransientAssembly's, returns a TransientDeclaration that can be used to work with all of the assemblies in this Layer matched by the specification. |
|
LayerAssembly |
uses(LayerAssembly... layerAssembly)
|
|
ValueDeclaration |
values(Specification<? super ValueAssembly> specification)
Given a Specification for ValueAssembly's, returns a ValueDeclaration that can be used to work with all of the assemblies in this Layer matched by the specification. |
|
|
visit(AssemblyVisitor<ThrowableType> visitor)
|
Method Detail |
---|
ModuleAssembly module(String name)
name
-
ApplicationAssembly application()
String name()
LayerAssembly setName(String name)
LayerAssembly setMetaInfo(Object info)
LayerAssembly uses(LayerAssembly... layerAssembly)
<ThrowableType extends Throwable> void visit(AssemblyVisitor<ThrowableType> visitor) throws ThrowableType extends Throwable
ThrowableType extends Throwable
EntityDeclaration entities(Specification<? super EntityAssembly> specification)
specification
-
ServiceDeclaration services(Specification<? super ServiceAssembly> specification)
specification
-
TransientDeclaration transients(Specification<? super TransientAssembly> specification)
specification
-
ValueDeclaration values(Specification<? super ValueAssembly> specification)
specification
-
ObjectDeclaration objects(Specification<? super ObjectAssembly> specification)
specification
-
ImportedServiceDeclaration importedServices(Specification<? super ImportedServiceAssembly> specification)
specification
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |