@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.
|
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 © 2013. All Rights Reserved.