org.ow2.ishmael.deploy.spi.impl
Class DeploymentSpecificEasyBeans

java.lang.Object
  extended by org.ow2.ishmael.deploy.spi.impl.AbsDeploymentSpecific
      extended by org.ow2.ishmael.deploy.spi.impl.DeploymentSpecificEasyBeans
All Implemented Interfaces:
IDeploymentSpecific

public class DeploymentSpecificEasyBeans
extends AbsDeploymentSpecific

EJB3 deployment Specific


Field Summary
 
Fields inherited from interface org.ow2.ishmael.deploy.spi.impl.IDeploymentSpecific
AVAILABLE, RUNNING
 
Constructor Summary
DeploymentSpecificEasyBeans(java.lang.String uri, java.lang.String userName, java.lang.String password)
          Constructor.
 
Method Summary
 void deployApplication(java.util.Properties info)
          deploy application p
 java.lang.String deployFile(javax.enterprise.deploy.shared.ModuleType type, byte[] file, java.lang.String name, java.lang.String[] genicArgs)
          deploy the file on the server : call genic to generate class for JOnAS and copy the result file into JOnAS server directory for deployment
protected  java.lang.String getStringObjectName()
           
 java.lang.String sendFile(javax.enterprise.deploy.shared.ModuleType type, byte[] file, java.lang.String name)
          distribute (send) the file on the server and copy the result file into JOnAS server directory for deployment
 void undeployApplication(java.util.Properties info)
          Undeploy application p
 
Methods inherited from class org.ow2.ishmael.deploy.spi.impl.AbsDeploymentSpecific
addAvailable, addRunning, deploy, findType, getDeployedModules, getMBeanServerConnection, getModuleList, getObjectName, isDeployedApplication, listModules, removeModule, removeRunning, sendFile, stop, stopApplication
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentSpecificEasyBeans

public DeploymentSpecificEasyBeans(java.lang.String uri,
                                   java.lang.String userName,
                                   java.lang.String password)
                            throws IshmaelDeploymentManagerCreationException
Constructor. Initialize connector to the remote system.

Parameters:
uri - URI given by deployment tool
Throws:
IshmaelDeploymentManagerCreationException
Method Detail

getStringObjectName

protected java.lang.String getStringObjectName()
Specified by:
getStringObjectName in class AbsDeploymentSpecific

deployFile

public java.lang.String deployFile(javax.enterprise.deploy.shared.ModuleType type,
                                   byte[] file,
                                   java.lang.String name,
                                   java.lang.String[] genicArgs)
                            throws DeploymentException
deploy the file on the server : call genic to generate class for JOnAS and copy the result file into JOnAS server directory for deployment

Parameters:
type -
file -
name -
Throws:
DeploymentException

sendFile

public java.lang.String sendFile(javax.enterprise.deploy.shared.ModuleType type,
                                 byte[] file,
                                 java.lang.String name)
                          throws DeploymentException
distribute (send) the file on the server and copy the result file into JOnAS server directory for deployment

Parameters:
type - of the archive
file - Byte Array representing the file to upload
name - name of the file
Returns:
path to the distributed file
Throws:
DeploymentException

deployApplication

public void deployApplication(java.util.Properties info)
                       throws DeploymentException
deploy application p

Specified by:
deployApplication in interface IDeploymentSpecific
Overrides:
deployApplication in class AbsDeploymentSpecific
Parameters:
p -
Throws:
DeploymentException

undeployApplication

public void undeployApplication(java.util.Properties info)
                         throws DeploymentException
Undeploy application p

Specified by:
undeployApplication in interface IDeploymentSpecific
Overrides:
undeployApplication in class AbsDeploymentSpecific
Parameters:
p -
Throws:
DeploymentException


Copyright © 2007-2010 OW2 Consortium. All Rights Reserved.