Class Server.CreateDecorator
java.lang.Object
com.sun.enterprise.config.serverbeans.Server.CreateDecorator
- All Implemented Interfaces:
CreationDecorator<Server>
- Enclosing interface:
Server
@Service
@PerLookup
public static class Server.CreateDecorator
extends Object
implements CreationDecorator<Server>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.glassfish.config.support.CreationDecorator
CreationDecorator.NoDecoration -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
terse
-
-
Constructor Details
-
CreateDecorator
public CreateDecorator()
-
-
Method Details
-
decorate
public void decorate(org.glassfish.api.admin.AdminCommandContext context, Server instance) throws org.jvnet.hk2.config.TransactionFailure, PropertyVetoException Description copied from interface:CreationDecoratorThe element instance has been created and added to the parent, it can be customized. This method is called within aTransactionand instance is therefore a writeable view on the configuration component.- Specified by:
decoratein interfaceCreationDecorator<Server>- Parameters:
context- administration command contextinstance- newly created configuration element- Throws:
org.jvnet.hk2.config.TransactionFailure- if the transaction should be rollbackedPropertyVetoException- if one of the listener ofis throwing a veto exception
-