@Service @PerLookup public static class SecureAdminPrincipal.CrDecorator extends Object implements CreationDecorator<SecureAdminPrincipal>
CreationDecorator.NoDecoration| Constructor and Description |
|---|
CrDecorator() |
| Modifier and Type | Method and Description |
|---|---|
void |
decorate(AdminCommandContext context,
SecureAdminPrincipal instance)
The element instance has been created and added to the parent, it can be
customized.
|
public void decorate(AdminCommandContext context, SecureAdminPrincipal instance) throws TransactionFailure, PropertyVetoException
CreationDecoratorTransaction
and instance is therefore a writeable view on the configuration component.decorate in interface CreationDecorator<SecureAdminPrincipal>context - administration command contextinstance - newly created configuration elementTransactionFailure - if the transaction should be rollbackedPropertyVetoException - if one of the listener of Copyright © 2019. All rights reserved.