org.glassfish.config.support
Class DeletionDecorator.NoDecoration

java.lang.Object
  extended by org.glassfish.config.support.DeletionDecorator.NoDecoration
All Implemented Interfaces:
DeletionDecorator<org.jvnet.hk2.config.ConfigBeanProxy,org.jvnet.hk2.config.ConfigBeanProxy>
Enclosing interface:
DeletionDecorator<T extends org.jvnet.hk2.config.ConfigBeanProxy,U extends org.jvnet.hk2.config.ConfigBeanProxy>

@Service
public static class DeletionDecorator.NoDecoration
extends java.lang.Object
implements DeletionDecorator<org.jvnet.hk2.config.ConfigBeanProxy,org.jvnet.hk2.config.ConfigBeanProxy>


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.glassfish.config.support.DeletionDecorator
DeletionDecorator.NoDecoration
 
Constructor Summary
DeletionDecorator.NoDecoration()
           
 
Method Summary
 void decorate(AdminCommandContext context, org.jvnet.hk2.config.ConfigBeanProxy parent, org.jvnet.hk2.config.ConfigBeanProxy 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

DeletionDecorator.NoDecoration

public DeletionDecorator.NoDecoration()
Method Detail

decorate

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


Copyright © 2012 GlassFish Community. All Rights Reserved.