com.sun.enterprise.config.serverbeans
Class Server.CreateDecorator

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

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


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.glassfish.config.support.CreationDecorator
CreationDecorator.NoDecoration
 
Field Summary
 java.lang.Boolean terse
           
 
Constructor Summary
Server.CreateDecorator()
           
 
Method Summary
 void decorate(AdminCommandContext context, Server instance)
          The element instance has been created and added to the parent, it can be customized.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

terse

public java.lang.Boolean terse
Constructor Detail

Server.CreateDecorator

public Server.CreateDecorator()
Method Detail

decorate

public void decorate(AdminCommandContext context,
                     Server instance)
              throws org.jvnet.hk2.config.TransactionFailure,
                     java.beans.PropertyVetoException
Description copied from interface: CreationDecorator
The element instance has been created and added to the parent, it can be customized. This method is called within a Transaction and instance is therefore a writeable view on the configuration component.

Specified by:
decorate in interface CreationDecorator<Server>
Parameters:
context - administration command context
instance - newly created configuration element
Throws:
org.jvnet.hk2.config.TransactionFailure - if the transaction should be rollbacked
java.beans.PropertyVetoException - if one of the listener of is throwing a veto exception


Copyright © 2012 GlassFish Community. All Rights Reserved.