com.sun.enterprise.config.serverbeans
Class Cluster.Decorator

java.lang.Object
  extended by com.sun.enterprise.config.serverbeans.Cluster.Decorator
All Implemented Interfaces:
CreationDecorator<Cluster>
Enclosing interface:
Cluster

@Service
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
public static class Cluster.Decorator
extends java.lang.Object
implements CreationDecorator<Cluster>


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.glassfish.config.support.CreationDecorator
CreationDecorator.NoDecoration
 
Constructor Summary
Cluster.Decorator()
           
 
Method Summary
 void decorate(AdminCommandContext context, Cluster instance)
          Decorates the newly CRUD created cluster configuration instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cluster.Decorator

public Cluster.Decorator()
Method Detail

decorate

public void decorate(AdminCommandContext context,
                     Cluster instance)
              throws org.jvnet.hk2.config.TransactionFailure,
                     java.beans.PropertyVetoException
Decorates 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:
decorate in interface CreationDecorator<Cluster>
Parameters:
context - administration command context
instance - newly created configuration element
Throws:
org.jvnet.hk2.config.TransactionFailure
java.beans.PropertyVetoException


Copyright © 2012 GlassFish Community. All Rights Reserved.