Class Cluster.Decorator
java.lang.Object
com.sun.enterprise.config.serverbeans.Cluster.Decorator
- All Implemented Interfaces:
CreationDecorator<Cluster>
- Enclosing interface:
- Cluster
@Service
@PerLookup
public static class Cluster.Decorator
extends Object
implements CreationDecorator<Cluster>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.glassfish.config.support.CreationDecorator
CreationDecorator.NoDecoration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDecorates the newly CRUD created cluster configuration instance. tasks : - ensures that it references an existing configuration - creates a new config from thedefault-configif noconfig-refwas provided. - check for deprecated parameters.
-
Constructor Details
-
Decorator
public Decorator()
-
-
Method Details
-
decorate
public void decorate(org.glassfish.api.admin.AdminCommandContext context, Cluster instance) throws org.jvnet.hk2.config.TransactionFailure, PropertyVetoException Decorates the newly CRUD created cluster configuration instance. tasks : - ensures that it references an existing configuration - creates a new config from thedefault-configif noconfig-refwas provided. - check for deprecated parameters.- Specified by:
decoratein interfaceCreationDecorator<Cluster>- Parameters:
context- administration command contextinstance- newly created configuration element- Throws:
org.jvnet.hk2.config.TransactionFailure- if the transaction should be rollbackedPropertyVetoException- if one of the listener ofis throwing a veto exception
-