|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.easybeans.mavenplugin.server.AbstractEasyBeansPluginServer
public abstract class AbstractEasyBeansPluginServer
Abstract implementation of IPluginServer interface. Try to get a local EasyBeans server instance and provide operations on this if the operation is a success.
Constructor Summary | |
---|---|
AbstractEasyBeansPluginServer()
Abstract constructor. |
Method Summary | |
---|---|
void |
deployArchive(String filename)
Deploy an EJB or an EAR. |
static org.ow2.util.log.Log |
getLog()
Get EasyBeans implementation of log. |
EZBServer |
getServer()
Get an instance of EasyBeans server. |
abstract String |
getVersion()
Get the version of EasyBeans server. |
boolean |
isStopped()
Determine if the server is stopped or not. |
boolean |
localServerFound()
Determine if server is a local found instance. |
protected org.ow2.util.archive.api.IArchive |
removeArchiveIfDeployed(File file)
Undeploy a specific EJB or EAR from the server. |
void |
setServer(EZBServer server)
Set an instance of EasyBeans server. |
void |
stop()
Stop EasyBeans server. |
void |
undeployArchive(String filename)
Undeploy a deployed EJB or EAR. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.ow2.util.maven.plugin.deployment.api.IPluginServer |
---|
isRemoteInstance |
Constructor Detail |
---|
public AbstractEasyBeansPluginServer()
Method Detail |
---|
protected org.ow2.util.archive.api.IArchive removeArchiveIfDeployed(File file)
file
- File to undeploy
public void deployArchive(String filename)
deployArchive
in interface org.ow2.util.maven.plugin.deployment.api.IPluginServer
filename
- A deployablepublic abstract String getVersion()
getVersion
in interface org.ow2.util.maven.plugin.deployment.api.IPluginServer
public void undeployArchive(String filename)
undeployArchive
in interface org.ow2.util.maven.plugin.deployment.api.IPluginServer
filename
- A deployable deployed on EasyBeanspublic void stop()
stop
in interface org.ow2.util.maven.plugin.deployment.api.IPluginServer
public boolean isStopped()
isStopped
in interface org.ow2.util.maven.plugin.deployment.api.IPluginServer
public boolean localServerFound()
public void setServer(EZBServer server)
server
- EasyBeans server interfacepublic EZBServer getServer()
public static org.ow2.util.log.Log getLog()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |