Interface Jonas4xAdmin
- 
- All Known Implementing Classes:
- Jonas4xAdminImpl
 
 public interface Jonas4xAdminJOnAS 4X admin command line utils interface.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleandeploy(String beanFileName)deploys the given bean name.booleanisServerRunning(String command, int expectedReturnCode)Look if a local server instance is running.booleanunDeploy(String beanFileName)Undeploys the given bean name.
 
- 
- 
- 
Method Detail- 
isServerRunningboolean isServerRunning(String command, int expectedReturnCode) Look if a local server instance is running.- Parameters:
- 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.
- Returns:
- true if the command matches the result
 
 - 
unDeployboolean unDeploy(String beanFileName) Undeploys the given bean name.- Parameters:
- beanFileName- the bean file name
- Returns:
- true if the bean has been correctly undeployed
 
 - 
deployboolean deploy(String beanFileName) deploys the given bean name.- Parameters:
- beanFileName- the bean file name
- Returns:
- true if the bean has been correctly deployed
 
 
- 
 
-