org.jboss.varia.deployment
Interface BeanShellScriptClient

All Known Implementing Classes:
LegacyBeanShellScriptClient

public interface BeanShellScriptClient

Old client style bean shell client interface.

Author:
Ales Justin

Method Summary
 String createScriptDeployment(String bshScript, String scriptName)
          Create bean shell script deployment.
 void removeScriptDeployment(String scriptName)
          Remove script deployment.
 

Method Detail

createScriptDeployment

String createScriptDeployment(String bshScript,
                              String scriptName)
                              throws org.jboss.deployers.spi.DeploymentException
Create bean shell script deployment.

Parameters:
bshScript - the script
scriptName - the script name
Returns:
deployment name
Throws:
org.jboss.deployers.spi.DeploymentException - for any error

removeScriptDeployment

void removeScriptDeployment(String scriptName)
                            throws org.jboss.deployers.spi.DeploymentException
Remove script deployment.

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.