|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.easybeans.mavenplugin.server.AbstractEasyBeansPluginServer
org.ow2.easybeans.mavenplugin.server.RemoteEasyBeansPluginServer
public class RemoteEasyBeansPluginServer
Implementation of IRemotePluginServer interface. Provide access of remote EasyBeans instance and operations.
Constructor Summary | |
---|---|
RemoteEasyBeansPluginServer(java.lang.String hostname,
int numPort)
Get an instance of launched remote EasyBeans server. |
Method Summary | |
---|---|
void |
deployArchive(java.lang.String filename)
Deploy an EJB or an EAR. |
java.lang.String |
getVersion()
Get the version of EasyBeans server. |
boolean |
isRemoteInstance()
Determine if the server is a remote instance. |
void |
undeployArchive(java.lang.String filename)
Undeploy a deployed EJB or EAR. |
Methods inherited from class org.ow2.easybeans.mavenplugin.server.AbstractEasyBeansPluginServer |
---|
getLog, getServer, isStopped, localServerFound, removeArchiveIfDeployed, setServer, stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteEasyBeansPluginServer(java.lang.String hostname, int numPort) throws java.io.IOException
hostname
- Domaine name used to contact EasyBeans.numPort
- Port number used to contact EasyBeans.
java.io.IOException
- When not any EasyBeans server instance foundMethod Detail |
---|
public void deployArchive(java.lang.String filename)
deployArchive
in interface org.ow2.util.maven.plugin.deployment.api.IPluginServer
deployArchive
in class AbstractEasyBeansPluginServer
filename
- Name of deployable filepublic void undeployArchive(java.lang.String filename)
undeployArchive
in interface org.ow2.util.maven.plugin.deployment.api.IPluginServer
undeployArchive
in class AbstractEasyBeansPluginServer
filename
- A deployable deployed on EasyBeanspublic boolean isRemoteInstance()
public java.lang.String getVersion()
getVersion
in interface org.ow2.util.maven.plugin.deployment.api.IPluginServer
getVersion
in class AbstractEasyBeansPluginServer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |