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