Java Doc for ConnectorUtils.java in  » J2EE » JOnAS-4.8.6 » org » objectweb » jonas » jonasadmin » test » catalina » 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 » J2EE » JOnAS 4.8.6 » org.objectweb.jonas.jonasadmin.test.catalina 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.objectweb.jonas.jonasadmin.test.catalina.ConnectorUtils

ConnectorUtils
public class ConnectorUtils (Code)
Class for using connectors from jonasAdmin, for example create a new connector.
author:
   Paul Kemler


Field Summary
final protected static  StringFRAME_CONTENT
    
final protected static  StringFRAME_TREE
    


Method Summary
public static  voidcreateNewAjpConnector(WebForm form, String maxSpareThreadsText, String URIEncoding, String portText, String minSpareThreadsText, String address, String tcpNoDelay, String maxThreadsText, String xpoweredBy, String connectorType, String objectName, String secure, String action, String save, String emptySessionPath, String acceptCountText, String bufferSizeText, String useBodyEncodingForURI, String connTimeOutText, String redirectPortText, String enableLookups, String allowTrace, String maxPostSizeText)
    
public static  StringcreateNewConnector(WebConversation wc)
    
public static  StringcreateNewConnector(WebConversation wc, String protocol)
    
public static  voidcreateNewHttpConnector(WebForm form, String maxSpareThreadsText, String URIEncoding, String portText, String minSpareThreadsText, String address, String tcpNoDelay, String maxThreadsText, String xpoweredBy, String connectorType, String objectName, String secure, String action, String save, String emptySessionPath, String acceptCountText, String bufferSizeText, String proxyName, String useBodyEncodingForURI, String connTimeOutText, String redirectPortText, String enableLookups, String allowTrace, String proxyPortText, String maxPostSizeText)
    
public static  voidcreateNewHttpsConnector(WebForm form, String maxSpareThreadsText, String keystorePass, String URIEncoding, String portText, String minSpareThreadsText, String address, String keystoreType, String algorithm, String tcpNoDelay, String maxThreadsText, String xpoweredBy, String connectorType, String sslProtocol, String objectName, String secure, String action, String save, String emptySessionPath, String keystoreFile, String acceptCountText, String bufferSizeText, String proxyName, String useBodyEncodingForURI, String connTimeOutText, String redirectPortText, String enableLookups, String clientAuth, String allowTrace, String ciphers, String proxyPortText, String maxPostSizeText)
    
public static  voiddeleteConnector(WebConversation wc, String port)
    
public static  voiddeleteConnectors(WebConversation wc, String[] tabPort)
    
public static  WebResponsegetConnectorPage(WebConversation wc)
    
public static  voidmodifyHttpConnector(WebForm form, String acceptCountText, String maxPostSizeText, String connTimeOutText, String URIEncoding, String bufferSizeText, String address, String redirectPortText, String maxThreadsText, String minSpareThreadsText, String maxSpareThreadsText, String proxyName, String proxyPortText, String allowTrace, String emptySessionPath, String enableLookups, String useBodyEncodingForURI, String xpoweredBy, String tcpNoDelay)
    

Field Detail
FRAME_CONTENT
final protected static String FRAME_CONTENT(Code)
NAME of FRAME content



FRAME_TREE
final protected static String FRAME_TREE(Code)
NAME of FRAME tree





Method Detail
createNewAjpConnector
public static void createNewAjpConnector(WebForm form, String maxSpareThreadsText, String URIEncoding, String portText, String minSpareThreadsText, String address, String tcpNoDelay, String maxThreadsText, String xpoweredBy, String connectorType, String objectName, String secure, String action, String save, String emptySessionPath, String acceptCountText, String bufferSizeText, String useBodyEncodingForURI, String connTimeOutText, String redirectPortText, String enableLookups, String allowTrace, String maxPostSizeText) throws Exception(Code)
Create New Ajp Connector
Parameters:
  form - Web Form to create ajp connector
Parameters:
  maxSpareThreadsText - a string
Parameters:
  URIEncoding - a string
Parameters:
  portText - a string
Parameters:
  minSpareThreadsText - a string
Parameters:
  address - a string
Parameters:
  tcpNoDelay - a string
Parameters:
  maxThreadsText - a string
Parameters:
  xpoweredBy - a string
Parameters:
  connectorType - a string
Parameters:
  objectName - a string
Parameters:
  secure - a string
Parameters:
  action - a string
Parameters:
  save - a string
Parameters:
  emptySessionPath - a string
Parameters:
  acceptCountText - a string
Parameters:
  bufferSizeText - a string
Parameters:
  useBodyEncodingForURI - a string
Parameters:
  connTimeOutText - a string
Parameters:
  redirectPortText - a string
Parameters:
  enableLookups - a string
Parameters:
  allowTrace - a string
Parameters:
  maxPostSizeText - a string
throws:
  Exception - if an error occurs when button is clicked.



createNewConnector
public static String createNewConnector(WebConversation wc) throws Exception(Code)
Create a new connector
Parameters:
  wc - logged to jonasAdmin port of the new connector
throws:
  Exception - if an error occurs



createNewConnector
public static String createNewConnector(WebConversation wc, String protocol) throws Exception(Code)
Create a new connector
Parameters:
  wc - logged to jonasAdmin
Parameters:
  protocol - protocol to create ("http", "https" or "ajp") port of the new connector
throws:
  Exception - if an error occurs



createNewHttpConnector
public static void createNewHttpConnector(WebForm form, String maxSpareThreadsText, String URIEncoding, String portText, String minSpareThreadsText, String address, String tcpNoDelay, String maxThreadsText, String xpoweredBy, String connectorType, String objectName, String secure, String action, String save, String emptySessionPath, String acceptCountText, String bufferSizeText, String proxyName, String useBodyEncodingForURI, String connTimeOutText, String redirectPortText, String enableLookups, String allowTrace, String proxyPortText, String maxPostSizeText) throws Exception(Code)
Create New Http Connector
Parameters:
  form - Web Form to create http connector
Parameters:
  maxSpareThreadsText - a string
Parameters:
  URIEncoding - a string
Parameters:
  portText - a string
Parameters:
  minSpareThreadsText - a string
Parameters:
  address - a string
Parameters:
  tcpNoDelay - a string
Parameters:
  maxThreadsText - a string
Parameters:
  xpoweredBy - a string
Parameters:
  connectorType - a string
Parameters:
  objectName - a string
Parameters:
  secure - a string
Parameters:
  action - a string
Parameters:
  save - a string
Parameters:
  emptySessionPath - a string
Parameters:
  acceptCountText - a string
Parameters:
  bufferSizeText - a string
Parameters:
  proxyName - a string
Parameters:
  useBodyEncodingForURI - a string
Parameters:
  connTimeOutText - a string
Parameters:
  redirectPortText - a string
Parameters:
  enableLookups - a string
Parameters:
  allowTrace - a string
Parameters:
  proxyPortText - a string
Parameters:
  maxPostSizeText - a string
throws:
  Exception - if an error occurs when button is clicked.



createNewHttpsConnector
public static void createNewHttpsConnector(WebForm form, String maxSpareThreadsText, String keystorePass, String URIEncoding, String portText, String minSpareThreadsText, String address, String keystoreType, String algorithm, String tcpNoDelay, String maxThreadsText, String xpoweredBy, String connectorType, String sslProtocol, String objectName, String secure, String action, String save, String emptySessionPath, String keystoreFile, String acceptCountText, String bufferSizeText, String proxyName, String useBodyEncodingForURI, String connTimeOutText, String redirectPortText, String enableLookups, String clientAuth, String allowTrace, String ciphers, String proxyPortText, String maxPostSizeText) throws Exception(Code)
Create New Https Connector
Parameters:
  form - Web Form to create https connector
Parameters:
  maxSpareThreadsText - a string
Parameters:
  keystorePass - a string
Parameters:
  URIEncoding - a string
Parameters:
  portText - a string
Parameters:
  minSpareThreadsText - a string
Parameters:
  address - a string
Parameters:
  keystoreType - a string
Parameters:
  algorithm - a string
Parameters:
  tcpNoDelay - a string
Parameters:
  maxThreadsText - a string
Parameters:
  xpoweredBy - a string
Parameters:
  connectorType - a string
Parameters:
  sslProtocol - a string
Parameters:
  objectName - a string
Parameters:
  secure - a string
Parameters:
  action - a string
Parameters:
  save - a string
Parameters:
  emptySessionPath - a string
Parameters:
  keystoreFile - a string
Parameters:
  acceptCountText - a string
Parameters:
  bufferSizeText - a string
Parameters:
  proxyName - a string
Parameters:
  useBodyEncodingForURI - a string
Parameters:
  connTimeOutText - a string
Parameters:
  redirectPortText - a string
Parameters:
  enableLookups - a string
Parameters:
  clientAuth - a string
Parameters:
  allowTrace - a string
Parameters:
  ciphers - a string
Parameters:
  proxyPortText - a string
Parameters:
  maxPostSizeText - a string
throws:
  Exception - if an error occurs when button is clicked.



deleteConnector
public static void deleteConnector(WebConversation wc, String port) throws Exception(Code)
Remove a connector
Parameters:
  wc - logged to jonasAdmin
Parameters:
  port - port number of the connector to remove
throws:
  Exception - if an error occurs when connector is deleted



deleteConnectors
public static void deleteConnectors(WebConversation wc, String[] tabPort) throws Exception(Code)
Remove connectors
Parameters:
  wc - logged to jonasAdmin
Parameters:
  port - port number of the connector to remove
throws:
  Exception - if an error occurs



getConnectorPage
public static WebResponse getConnectorPage(WebConversation wc) throws SAXException, IOException(Code)
Get connector page when it is catalina
Parameters:
  wc - logged to jonasAdmin with catalina WebResponse: content frame with list of connectors
throws:
  SAXException - if an error occurs when link is matched or clicked
throws:
  IOException - if an error occurs when link is clicked



modifyHttpConnector
public static void modifyHttpConnector(WebForm form, String acceptCountText, String maxPostSizeText, String connTimeOutText, String URIEncoding, String bufferSizeText, String address, String redirectPortText, String maxThreadsText, String minSpareThreadsText, String maxSpareThreadsText, String proxyName, String proxyPortText, String allowTrace, String emptySessionPath, String enableLookups, String useBodyEncodingForURI, String xpoweredBy, String tcpNoDelay) throws Exception(Code)
Modify a connector
Parameters:
  wc - logged to jonasAdmin
Parameters:
  port - number of the port of the connector to modify
Parameters:
  acceptCountText - a string
Parameters:
  maxPostSizeText - a string
Parameters:
  connTimeOutText - a string
Parameters:
  URIEncoding - a string
Parameters:
  bufferSizeText - a string
Parameters:
  address - a string
Parameters:
  redirectPortText - a string
Parameters:
  maxThreadsText - a string
Parameters:
  minSpareThreadsText - a string
Parameters:
  maxSpareThreadsText - a string
Parameters:
  proxyName - a string
Parameters:
  proxyPortText - a string
throws:
  Exception - if an error occurs



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.