Class Cluster.DeleteDecorator

java.lang.Object
com.sun.enterprise.config.serverbeans.Cluster.DeleteDecorator
All Implemented Interfaces:
DeletionDecorator<Clusters,Cluster>
Enclosing interface:
Cluster

@Service @PerLookup public static class Cluster.DeleteDecorator extends Object implements DeletionDecorator<Clusters,Cluster>
  • Constructor Details

    • DeleteDecorator

      public DeleteDecorator()
  • Method Details

    • decorate

      public void decorate(org.glassfish.api.admin.AdminCommandContext context, Clusters parent, Cluster child) throws PropertyVetoException, org.jvnet.hk2.config.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 interface DeletionDecorator<Clusters,Cluster>
      Parameters:
      context - the command context to lead to the element deletion
      parent - the parent instance the element was removed from
      child - the deleted instance
      Throws:
      PropertyVetoException
      org.jvnet.hk2.config.TransactionFailure