public interface AssemblyVisitor<ThrowableType extends Throwable>
Implement this interface and call visit() on ApplicationAssembly, LayerAssembly or ModuleAssembly.
This can be used to, for example, add metadata to all entities, add concerns on composites, or similar.
| Modifier and Type | Method and Description |
|---|---|
void |
visitApplication(ApplicationAssembly assembly) |
void |
visitComposite(TransientDeclaration declaration) |
void |
visitEntity(EntityDeclaration declaration) |
void |
visitImportedService(ImportedServiceDeclaration declaration) |
void |
visitLayer(LayerAssembly assembly) |
void |
visitModule(ModuleAssembly assembly) |
void |
visitObject(ObjectDeclaration declaration) |
void |
visitService(ServiceDeclaration declaration) |
void |
visitValue(ValueDeclaration declaration) |
void visitApplication(ApplicationAssembly assembly) throws ThrowableType extends Throwable
ThrowableType extends Throwablevoid visitLayer(LayerAssembly assembly) throws ThrowableType extends Throwable
ThrowableType extends Throwablevoid visitModule(ModuleAssembly assembly) throws ThrowableType extends Throwable
ThrowableType extends Throwablevoid visitComposite(TransientDeclaration declaration) throws ThrowableType extends Throwable
ThrowableType extends Throwablevoid visitEntity(EntityDeclaration declaration) throws ThrowableType extends Throwable
ThrowableType extends Throwablevoid visitService(ServiceDeclaration declaration) throws ThrowableType extends Throwable
ThrowableType extends Throwablevoid visitImportedService(ImportedServiceDeclaration declaration) throws ThrowableType extends Throwable
ThrowableType extends Throwablevoid visitValue(ValueDeclaration declaration) throws ThrowableType extends Throwable
ThrowableType extends Throwablevoid visitObject(ObjectDeclaration declaration) throws ThrowableType extends Throwable
ThrowableType extends Throwable