org.jboss.test
Class JBossTestClusteredServices
java.lang.Object
org.jboss.test.JBossTestServices (src)
org.jboss.test.JBossTestClusteredServices
- public class JBossTestClusteredServices
- extends JBossTestServices (src)
Derived implementation of JBossTestServices for cluster testing.
- See Also:
JBossTestServices
(src)
Field Summary |
protected java.util.ArrayList |
adaptors
|
protected java.util.ArrayList |
httpURLs
|
protected java.util.ArrayList |
namingURLs
|
protected java.util.ArrayList |
servers
|
Fields inherited from class org.jboss.test.JBossTestServices (src) |
DEFAULT_BEANCOUNT, DEFAULT_ITERATIONCOUNT, DEFAULT_LOGIN_CONFIG, DEFAULT_PASSWORD, DEFAULT_THREADCOUNT, DEFAULT_USERNAME, DEPLOYER_NAME, initialContext, jndiEnv, lc, log, server |
Method Summary |
void |
init()
Lookup the RMIAdaptor interface from JNDI. |
protected java.lang.Object |
invoke(ObjectName (src) name,
java.lang.String method,
java.lang.Object[] args,
java.lang.String[] sig)
Override to invoke the operation on all servers |
void |
setServerNames(java.lang.String[] snames)
This method gives overriding testcases to set the cluster servernames |
Methods inherited from class org.jboss.test.JBossTestServices (src) |
deploy, getDeployURL, getServer, getServerHost, invoke, login, logout, redeploy, reinit, setUp, tearDown, undeploy |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
adaptors
protected java.util.ArrayList adaptors
servers
protected java.util.ArrayList servers
namingURLs
protected java.util.ArrayList namingURLs
httpURLs
protected java.util.ArrayList httpURLs
JBossTestClusteredServices
public JBossTestClusteredServices(java.lang.String className)
invoke
protected java.lang.Object invoke(ObjectName (src) name,
java.lang.String method,
java.lang.Object[] args,
java.lang.String[] sig)
throws java.lang.Exception
- Override to invoke the operation on all servers
- Overrides:
invoke
in class JBossTestServices (src)
- Parameters:
name
- method
- args
- sig
-
- Returns:
-
- Throws:
java.lang.Exception
init
public void init()
throws java.lang.Exception
- Description copied from class:
JBossTestServices (src)
- Lookup the RMIAdaptor interface from JNDI. By default this is bound
under "jmx/rmi/RMIAdaptor" and this may be overriden with the
jbosstest.server.name system property.
- Overrides:
init
in class JBossTestServices (src)
- Throws:
java.lang.Exception
setServerNames
public void setServerNames(java.lang.String[] snames)
- This method gives overriding testcases to set the cluster servernames