com.sun.enterprise.config.serverbeans
Class LbConfig.DeleteDecorator

java.lang.Object
  extended by com.sun.enterprise.config.serverbeans.LbConfig.DeleteDecorator
All Implemented Interfaces:
DeletionDecorator<LbConfigs,LbConfig>
Enclosing interface:
LbConfig

@Service
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
public static class LbConfig.DeleteDecorator
extends java.lang.Object
implements DeletionDecorator<LbConfigs,LbConfig>


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.glassfish.config.support.DeletionDecorator
DeletionDecorator.NoDecoration
 
Constructor Summary
LbConfig.DeleteDecorator()
           
 
Method Summary
 void decorate(AdminCommandContext context, LbConfigs parent, LbConfig child)
          notification of a configuration element of type U deletion.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LbConfig.DeleteDecorator

public LbConfig.DeleteDecorator()
Method Detail

decorate

public void decorate(AdminCommandContext context,
                     LbConfigs parent,
                     LbConfig child)
              throws java.beans.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<LbConfigs,LbConfig>
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:
java.beans.PropertyVetoException
org.jvnet.hk2.config.TransactionFailure


Copyright © 2012 GlassFish Community. All Rights Reserved.