Class SecureAdminPrincipal.CrDecorator
- java.lang.Object
-
- com.sun.enterprise.config.serverbeans.SecureAdminPrincipal.CrDecorator
-
- All Implemented Interfaces:
CreationDecorator<SecureAdminPrincipal>
- Enclosing interface:
- SecureAdminPrincipal
@Service @PerLookup 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
Constructors Constructor Description CrDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
decorate(AdminCommandContext context, SecureAdminPrincipal instance)
The element instance has been created and added to the parent, it can be customized.
-
-
-
Method Detail
-
decorate
public void decorate(AdminCommandContext context, SecureAdminPrincipal instance) throws 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 aTransaction
and instance is therefore a writeable view on the configuration component.- Specified by:
decorate
in interfaceCreationDecorator<SecureAdminPrincipal>
- Parameters:
context
- administration command contextinstance
- newly created configuration element- Throws:
TransactionFailure
- if the transaction should be rollbackedPropertyVetoException
- if one of the listener ofis throwing a veto exception
-
-