@Service @PerLookup public static class Server.CreateDecorator extends Object implements CreationDecorator<Server>
CreationDecorator.NoDecoration| Constructor and Description |
|---|
CreateDecorator() |
| Modifier and Type | Method and Description |
|---|---|
void |
decorate(AdminCommandContext context,
Server instance)
The element instance has been created and added to the parent, it can be
customized.
|
public Boolean terse
public void decorate(AdminCommandContext context, Server instance) throws TransactionFailure, PropertyVetoException
CreationDecoratorTransaction
and instance is therefore a writeable view on the configuration component.decorate in interface CreationDecorator<Server>context - administration command contextinstance - newly created configuration elementTransactionFailure - if the transaction should be rollbackedPropertyVetoException - if one of the listener of Copyright © 2019. All rights reserved.