@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(org.glassfish.api.admin.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(org.glassfish.api.admin.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–2020 Eclipse Foundation. All rights reserved.