public interface Jonas4xAdmin
| Modifier and Type | Method and Description |
|---|---|
boolean |
deploy(String beanFileName)
deploys the given bean name.
|
boolean |
isServerRunning(String command,
int expectedReturnCode)
Look if a local server instance is running.
|
boolean |
unDeploy(String beanFileName)
Undeploys the given bean name.
|
boolean isServerRunning(String command, int expectedReturnCode)
command - Command to execute, for example ping (to check if server is
started), j (to check if JNDI is accessible), etc.expectedReturnCode - Expected return code.boolean unDeploy(String beanFileName)
beanFileName - the bean file nameboolean deploy(String beanFileName)
beanFileName - the bean file nameCopyright © 2004-2013 Codehaus. All Rights Reserved.