Class SecureAdminInternalUser.CrDecorator

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

@Service @PerLookup public static class SecureAdminInternalUser.CrDecorator extends Object implements CreationDecorator<SecureAdminInternalUser>
  • Constructor Details

    • CrDecorator

      public CrDecorator()
  • Method Details

    • decorate

      public void decorate(org.glassfish.api.admin.AdminCommandContext context, SecureAdminInternalUser user) 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<SecureAdminInternalUser>
      Parameters:
      context - administration command context
      user - 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