com.sun.enterprise.config.serverbeans
Class Server.CreateDecorator
java.lang.Object
com.sun.enterprise.config.serverbeans.Server.CreateDecorator
- All Implemented Interfaces:
- CreationDecorator<Server>
- Enclosing interface:
- Server
@Service
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
public static class Server.CreateDecorator
- extends Object
- implements CreationDecorator<Server>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
terse
public Boolean terse
Server.CreateDecorator
public Server.CreateDecorator()
decorate
public void decorate(AdminCommandContext context,
Server instance)
throws org.jvnet.hk2.config.TransactionFailure,
PropertyVetoException
- Description copied from interface:
CreationDecorator
- The element instance has been created and added to the parent, it can be
customized. This method is called within a
Transaction
and instance is therefore a writeable view on the configuration component.
- Specified by:
decorate in interface CreationDecorator<Server>
- Parameters:
context - administration command contextinstance - newly created configuration element
- Throws:
org.jvnet.hk2.config.TransactionFailure - if the transaction should be rollbacked
PropertyVetoException - if one of the listener of is throwing a veto exception
Copyright © 2012 GlassFish Community. All Rights Reserved.