Class Node.Decorator
- java.lang.Object
-
- com.sun.enterprise.config.serverbeans.Node.Decorator
-
- All Implemented Interfaces:
CreationDecorator<Node>
- Enclosing interface:
- Node
@Service @PerLookup public static class Node.Decorator extends Object implements CreationDecorator<Node>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.glassfish.config.support.CreationDecorator
CreationDecorator.NoDecoration
-
-
Constructor Summary
Constructors Constructor Description Decorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecorate(org.glassfish.api.admin.AdminCommandContext context, Node instance)Decorates the newly CRUD created cluster configuration instance.
-
-
-
Method Detail
-
decorate
public void decorate(org.glassfish.api.admin.AdminCommandContext context, Node instance) throws org.jvnet.hk2.config.TransactionFailure, PropertyVetoExceptionDecorates the newly CRUD created cluster configuration instance. tasks : - ensures that it references an existing configuration - creates a new config from the default-config if no config-ref was provided. - check for deprecated parameters.- Specified by:
decoratein interfaceCreationDecorator<Node>- Parameters:
context- administration command contextinstance- newly created configuration element- Throws:
org.jvnet.hk2.config.TransactionFailurePropertyVetoException
-
-