org.jboss.varia.deployment
Class LegacyBeanShellScriptClient

java.lang.Object
  extended by org.jboss.varia.deployment.LegacyBeanShellScriptClient
All Implemented Interfaces:
BeanShellScriptClient

public class LegacyBeanShellScriptClient
extends Object
implements BeanShellScriptClient

Old client style bean shell invocation client.

Author:
Ales Justin

Field Summary
protected  Logger log
           
 
Constructor Summary
LegacyBeanShellScriptClient(org.jboss.deployers.client.spi.DeployerClient deployer)
           
 
Method Summary
protected  BeanShellScript createBeanShellScript(String bshScript, String scriptName)
           
 String createScriptDeployment(String bshScript, String scriptName)
          Create bean shell script deployment.
 void removeScriptDeployment(String scriptName)
          Remove script deployment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected Logger log
Constructor Detail

LegacyBeanShellScriptClient

public LegacyBeanShellScriptClient(org.jboss.deployers.client.spi.DeployerClient deployer)
Method Detail

createBeanShellScript

protected BeanShellScript createBeanShellScript(String bshScript,
                                                String scriptName)
                                         throws DeploymentException
Throws:
DeploymentException

createScriptDeployment

public String createScriptDeployment(String bshScript,
                                     String scriptName)
                              throws org.jboss.deployers.spi.DeploymentException
Description copied from interface: BeanShellScriptClient
Create bean shell script deployment.

Specified by:
createScriptDeployment in interface BeanShellScriptClient
Parameters:
bshScript - the script
scriptName - the script name
Returns:
deployment name
Throws:
org.jboss.deployers.spi.DeploymentException - for any error

removeScriptDeployment

public void removeScriptDeployment(String scriptName)
                            throws org.jboss.deployers.spi.DeploymentException
Description copied from interface: BeanShellScriptClient
Remove script deployment.

Specified by:
removeScriptDeployment in interface BeanShellScriptClient
Parameters:
scriptName - the script name
Throws:
org.jboss.deployers.spi.DeploymentException - for any exception


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.