@PerLookup
public interface CreationDecorator<T extends org.jvnet.hk2.config.ConfigBeanProxy>
| Modifier and Type | Interface and Description |
|---|---|
static class |
CreationDecorator.NoDecoration
Default implementation of a decorator that does nothing.
|
| Modifier and Type | Method and Description |
|---|---|
void |
decorate(org.glassfish.api.admin.AdminCommandContext context,
T instance)
The element instance has been created and added to the parent, it can be
customized.
|
void decorate(org.glassfish.api.admin.AdminCommandContext context,
T instance)
throws org.jvnet.hk2.config.TransactionFailure,
PropertyVetoException
Transaction
and instance is therefore a writeable view on the configuration component.context - administration command contextinstance - newly created configuration elementorg.jvnet.hk2.config.TransactionFailure - if the transaction should be rollbackedPropertyVetoException - if one of the listener of Copyright © 2017–2020 Eclipse Foundation. All rights reserved.