Class Node.DeleteDecorator
- java.lang.Object
-
- com.sun.enterprise.config.serverbeans.Node.DeleteDecorator
-
- All Implemented Interfaces:
DeletionDecorator<Nodes,Node>
- Enclosing interface:
- Node
@Service @PerLookup public static class Node.DeleteDecorator extends Object implements DeletionDecorator<Nodes,Node>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.glassfish.config.support.DeletionDecorator
DeletionDecorator.NoDecoration
-
-
Constructor Summary
Constructors Constructor Description DeleteDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
decorate(AdminCommandContext context, Nodes parent, Node child)
notification of a configuration element of type U deletion.
-
-
-
Method Detail
-
decorate
public void decorate(AdminCommandContext context, Nodes parent, Node child) throws TransactionFailure
Description copied from interface:DeletionDecorator
notification 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:
decorate
in interfaceDeletionDecorator<Nodes,Node>
- Parameters:
context
- the command context to lead to the element deletionparent
- the parent instance the element was removed fromchild
- the deleted instance- Throws:
TransactionFailure
-
-