Class Server.DeleteDecorator
java.lang.Object
com.sun.enterprise.config.serverbeans.Server.DeleteDecorator
- All Implemented Interfaces:
DeletionDecorator<Servers,Server>
- Enclosing interface:
- Server
@Service
@PerLookup
public static class Server.DeleteDecorator
extends Object
implements DeletionDecorator<Servers,Server>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.glassfish.config.support.DeletionDecorator
DeletionDecorator.NoDecoration -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DeleteDecorator
public DeleteDecorator()
-
-
Method Details
-
decorate
public void decorate(org.glassfish.api.admin.AdminCommandContext context, Servers parent, Server child) throws PropertyVetoException, org.jvnet.hk2.config.TransactionFailure Description copied from interface:DeletionDecoratornotification of a configuration element of type U deletion. Note that this notification is called within the boundaries of the configuration transaction, therefore the parent instance is a writable copy and further changes to the parent can be made without enrolling it inside a transaction.- Specified by:
decoratein interfaceDeletionDecorator<Servers,Server> - Parameters:
context- the command context to lead to the element deletionparent- the parent instance the element was removed fromchild- the deleted instance- Throws:
PropertyVetoExceptionorg.jvnet.hk2.config.TransactionFailure
-