com.sun.enterprise.config.serverbeans
Class SecureAdminPrincipal.CrDecorator

java.lang.Object
  extended by com.sun.enterprise.config.serverbeans.SecureAdminPrincipal.CrDecorator
All Implemented Interfaces:
CreationDecorator<SecureAdminPrincipal>
Enclosing interface:
SecureAdminPrincipal

@Service
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
public static class SecureAdminPrincipal.CrDecorator
extends Object
implements CreationDecorator<SecureAdminPrincipal>

Invoked during creation of a new SecureAdminPrincipal.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.glassfish.config.support.CreationDecorator
CreationDecorator.NoDecoration
 
Constructor Summary
SecureAdminPrincipal.CrDecorator()
           
 
Method Summary
 void decorate(AdminCommandContext context, SecureAdminPrincipal instance)
          The element instance has been created and added to the parent, it can be customized.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecureAdminPrincipal.CrDecorator

public SecureAdminPrincipal.CrDecorator()
Method Detail

decorate

public void decorate(AdminCommandContext context,
                     SecureAdminPrincipal instance)
              throws org.jvnet.hk2.config.TransactionFailure,
                     PropertyVetoException
Description copied from interface: CreationDecorator
The element instance has been created and added to the parent, it can be customized. This method is called within a Transaction and instance is therefore a writeable view on the configuration component.

Specified by:
decorate in interface CreationDecorator<SecureAdminPrincipal>
Parameters:
context - administration command context
instance - newly created configuration element
Throws:
org.jvnet.hk2.config.TransactionFailure - if the transaction should be rollbacked
PropertyVetoException - if one of the listener of is throwing a veto exception


Copyright © 2012 GlassFish Community. All Rights Reserved.