@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 org.jvnet.hk2.config.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 elementorg.jvnet.hk2.config.TransactionFailure - if the transaction should be rollbackedPropertyVetoException - if one of the listener of Copyright © 2017. All rights reserved.