org.glassfish.paas.gfplugin.customizer
Class GlassFishTemplateCustomizer

java.lang.Object
  extended by org.glassfish.paas.gfplugin.customizer.GlassFishTemplateCustomizer
All Implemented Interfaces:
GlassFishPluginConstants, TemplateCustomizer

@Service(name="JavaEE")
public class GlassFishTemplateCustomizer
extends Object
implements TemplateCustomizer, GlassFishPluginConstants

Customization of the GlassFish template for all virtualizations except Native.

Author:
Jerome Dochez, Bhavanishankar S

Field Summary
 
Fields inherited from interface org.glassfish.paas.gfplugin.GlassFishPluginConstants
ASADMIN_COMMAND, CLASSNAME, CLUSTER_ARG, CREATE_ELASTIC_SERVICE, CREATE_INSTANCE, CREATE_LOCAL_INSTANCE, CREATE_NODE_SSH, DATABASE_SERVICE_TYPE, DEFAULT_DAS_PORT, DEFAULT_MAX_CLUSTERSIZE, DEFAULT_MIN_CLUSTERSIZE, DELETE_ELASTIC_SERVICE, DELETE_INSTANCE, DELETE_NODE_SSH, DEPLOYMENT_PLAN_DIR, DISABLE_AUTO_SCALING, ENABLE_AUTO_SCALING, FS, HOST, INIT_TYPE_LAZY, INSTALL_DIR_ARG, INSTANCE_NAME_FORMAT, IP_ADDRESS, JAR_EXTN, JAVAEE_SERVICE_TYPE, JDBC_CONNECTION_POOL, JDBC_DATASOURCE, JDBC_DS_CLASSNAME, JDBC_DS_RESTYPE, JDBC_RESOURCE, JDBC_SERVERNAME, JDBC_URL, JNDI_NAME, LOCALHOST, MAX_CLUSTERSIZE, MIN_CLUSTERSIZE, NATIVE_VIRTUALIZATION, NODE_ARG, NODE_HOST_ARG, NODE_NAME_FORMAT, NODE_TYPE_SSH, NON_CONNECTOR_RESOURCES, PLAIN_ACTION_REPORT, POOL_NAME, provisionDAS, RESOURCE_TYPE, RESOURCE_XML_PARSERS, SERVICE_NAME, SERVICE_TYPE, SETUP_SSH, SSH_USER_ARG, START_CLUSTER, START_INSTANCE, START_LOCAL_INSTANCE, STOP_CLUSTER, STOP_INSTANCE, TMR_DIR, VM_SHUTDOWN_ARG
 
Constructor Summary
GlassFishTemplateCustomizer()
           
 
Method Summary
 void clean(VirtualMachine virtualMachine)
           
 void customize(VirtualCluster cluster, VirtualMachine virtualMachine)
           
 boolean isActive(VirtualCluster virtualCluster, VirtualMachine virtualMachine)
           
 void start(VirtualMachine virtualMachine, boolean firstStart)
           
 void stop(VirtualMachine virtualMachine)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlassFishTemplateCustomizer

public GlassFishTemplateCustomizer()
Method Detail

customize

public void customize(VirtualCluster cluster,
                      VirtualMachine virtualMachine)
               throws VirtException
Specified by:
customize in interface TemplateCustomizer
Throws:
VirtException

isActive

public boolean isActive(VirtualCluster virtualCluster,
                        VirtualMachine virtualMachine)
                 throws VirtException
Throws:
VirtException

start

public void start(VirtualMachine virtualMachine,
                  boolean firstStart)
Specified by:
start in interface TemplateCustomizer

clean

public void clean(VirtualMachine virtualMachine)
Specified by:
clean in interface TemplateCustomizer

stop

public void stop(VirtualMachine virtualMachine)
Specified by:
stop in interface TemplateCustomizer


Copyright © 2012. All Rights Reserved.