Java Doc for JBossTestClusteredServices.java in  » EJB-Server-JBoss-4.2.1 » testsuite » org » jboss » test » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » EJB Server JBoss 4.2.1 » testsuite » org.jboss.test 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jboss.test.JBossTestServices
      org.jboss.test.JBossTestClusteredServices

JBossTestClusteredServices
public class JBossTestClusteredServices extends JBossTestServices (Code)
Derived implementation of JBossTestServices for cluster testing.
author:
   Sacha Labourey.
author:
   Scott.Stark@jboss.org
version:
   $Revision: 57211 $
See Also:   org.jboss.test.JBossTestServices


Field Summary
protected  ArrayListadaptors
    
protected  ArrayListhttpURLs
    
protected  ArrayListnamingURLs
    
protected  ArrayListnamingURLsHA
    
protected  ArrayListservers
    

Constructor Summary
public  JBossTestClusteredServices(String className)
    

Method Summary
public  voiddeploy(RMIAdaptor server, String name)
     Deploy a package on the given server with the main deployer.
 RMIAdaptorgetAdaptor(int index)
    
 RMIAdaptor[]getAdaptors()
    
 StringgetHANamingURL(int index)
    
 String[]getHANamingURLs()
    
 StringgetHttpURL(int index)
    
 String[]getHttpURLs()
    
 StringgetNamingURL(int index)
    
 String[]getNamingURLs()
    
 StringgetServer(int index)
    
 intgetServerCount()
    
 String[]getServers()
    
public  voidinit()
    
protected  Objectinvoke(ObjectName name, String method, Object[] args, String[] sig)
    
public  voidredeploy(RMIAdaptor server, String name)
    
public  voidsetServerNames(String[] snames)
    
public  voidundeploy(RMIAdaptor server, String name)
     Undeploy a package from the given server with the main deployer.

Field Detail
adaptors
protected ArrayList adaptors(Code)



httpURLs
protected ArrayList httpURLs(Code)



namingURLs
protected ArrayList namingURLs(Code)



namingURLsHA
protected ArrayList namingURLsHA(Code)



servers
protected ArrayList servers(Code)




Constructor Detail
JBossTestClusteredServices
public JBossTestClusteredServices(String className)(Code)




Method Detail
deploy
public void deploy(RMIAdaptor server, String name) throws Exception(Code)
Deploy a package on the given server with the main deployer. The supplied name is interpreted as a url, or as a filename in jbosstest.deploy.lib or ../lib.
Parameters:
  server - server on which the package should be deployed
Parameters:
  name - filename/url of package to deploy.
exception:
  Exception - Description of Exception



getAdaptor
RMIAdaptor getAdaptor(int index) throws Exception(Code)



getAdaptors
RMIAdaptor[] getAdaptors() throws Exception(Code)



getHANamingURL
String getHANamingURL(int index) throws Exception(Code)



getHANamingURLs
String[] getHANamingURLs() throws Exception(Code)
Get the JNDI provider urls for the cluster nodes
throws:
  Exception -



getHttpURL
String getHttpURL(int index) throws Exception(Code)



getHttpURLs
String[] getHttpURLs() throws Exception(Code)
Get the default web container urls for the cluster nodes
throws:
  Exception -



getNamingURL
String getNamingURL(int index) throws Exception(Code)



getNamingURLs
String[] getNamingURLs() throws Exception(Code)
Get the JNDI provider urls for the cluster nodes
throws:
  Exception -



getServer
String getServer(int index) throws Exception(Code)



getServerCount
int getServerCount()(Code)



getServers
String[] getServers() throws Exception(Code)



init
public void init() throws Exception(Code)



invoke
protected Object invoke(ObjectName name, String method, Object[] args, String[] sig) throws Exception(Code)
Override to invoke the operation on all servers
Parameters:
  name -
Parameters:
  method -
Parameters:
  args -
Parameters:
  sig -
throws:
  Exception -



redeploy
public void redeploy(RMIAdaptor server, String name) throws Exception(Code)



setServerNames
public void setServerNames(String[] snames)(Code)
This method gives overriding testcases to set the cluster servernames



undeploy
public void undeploy(RMIAdaptor server, String name) throws Exception(Code)
Undeploy a package from the given server with the main deployer. The supplied name is interpreted as a url, or as a filename in jbosstest.deploy.lib or ../lib.
Parameters:
  server - server on which the package should be deployed
Parameters:
  name - filename/url of package to undeploy.
exception:
  Exception - Description of Exception



Fields inherited from org.jboss.test.JBossTestServices
final public static int DEFAULT_BEANCOUNT(Code)(Java Doc)
final public static int DEFAULT_ITERATIONCOUNT(Code)(Java Doc)
final public static String DEFAULT_LOGIN_CONFIG(Code)(Java Doc)
final public static String DEFAULT_PASSWORD(Code)(Java Doc)
final public static int DEFAULT_THREADCOUNT(Code)(Java Doc)
final public static String DEFAULT_USERNAME(Code)(Java Doc)
final public static String DEPLOYER_NAME(Code)(Java Doc)
protected InitialContext initialContext(Code)(Java Doc)
protected Hashtable jndiEnv(Code)(Java Doc)
protected LoginContext lc(Code)(Java Doc)
protected Category log(Code)(Java Doc)
protected MBeanServerConnection server(Code)(Java Doc)

Methods inherited from org.jboss.test.JBossTestServices
public void deploy(String name) throws Exception(Code)(Java Doc)
void flushAuthCache(String domain) throws Exception(Code)(Java Doc)
int getBeanCount()(Code)(Java Doc)
protected URL getDeployURL(String filename) throws MalformedURLException(Code)(Java Doc)
ObjectName getDeployerName() throws MalformedObjectNameException(Code)(Java Doc)
public InitialContext getInitialContext() throws Exception(Code)(Java Doc)
int getIterationCount()(Code)(Java Doc)
String getJndiInitFactory()(Code)(Java Doc)
String getJndiURL()(Code)(Java Doc)
Category getLog()(Code)(Java Doc)
String getLoginConfig()(Code)(Java Doc)
String getPassword()(Code)(Java Doc)
public MBeanServerConnection getServer() throws Exception(Code)(Java Doc)
public String getServerHost()(Code)(Java Doc)
int getThreadCount()(Code)(Java Doc)
String getUsername()(Code)(Java Doc)
public void init() throws Exception(Code)(Java Doc)
protected Object invoke(ObjectName name, String method, Object[] args, String[] sig) throws Exception(Code)(Java Doc)
protected Object invoke(MBeanServerConnection server, ObjectName name, String method, Object[] args, String[] sig) throws Exception(Code)(Java Doc)
boolean isSecure()(Code)(Java Doc)
public void login() throws Exception(Code)(Java Doc)
public void logout()(Code)(Java Doc)
public void redeploy(String name) throws Exception(Code)(Java Doc)
public void reinit() throws Exception(Code)(Java Doc)
void restartDBPool() throws Exception(Code)(Java Doc)
public void setUp() throws Exception(Code)(Java Doc)
public void tearDown() throws Exception(Code)(Java Doc)
public void undeploy(String name) throws Exception(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.