Java Doc for RmiJmxClient.java in  » Database-JDBC-Connection-Pool » sequoia-2.10.9 » org » continuent » sequoia » console » jmx » 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 » Database JDBC Connection Pool » sequoia 2.10.9 » org.continuent.sequoia.console.jmx 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.continuent.sequoia.console.jmx.RmiJmxClient

RmiJmxClient
public class RmiJmxClient (Code)
This class defines a RmiJmxClient that uses Jmx 2.0 specifications to connect to the RmiSever
author:
   Nicolas Modrzyk
version:
   1.0



Constructor Summary
public  RmiJmxClient(String port, String host, String jmxUser, String jmxPassword)
    
public  RmiJmxClient(String url, Object credentials)
    
public  RmiJmxClient(String port, String host, Object credentials)
    

Method Summary
public  voidconnect(String port, String host, Object credentials)
    
public  AbstractSchedulerControlMBeangetAbstractScheduler(String vdb, String user, String password)
     Returns a proxy on the given vdb Scheduler.
public  ObjectgetAttributeValue(ObjectName mbean, String attribute)
    
public  BackendTaskQueuesControlMBeangetBackendTaskQueues(String vdb, String backend, String user, String password)
     Returns a proxy on a BackendTaskQueuesControlMBean.
public  ControllerMBeangetControllerProxy()
    
public  ObjectgetCredentials()
     Returns the credentials value.
public  DataCollectorMBeangetDataCollectorProxy()
    
public  DatabaseBackendMBeangetDatabaseBackendProxy(String vdb, String backend, String user, String password)
    
public  MBeanInfogetMBeanInfo(ObjectName mbean)
    
public  NotificationListenergetNotificationListener()
     Returns the notificationListener value.
public  ParsingCacheMBeangetParsingCache(String vdb, String user, String password)
    
public  RecoveryLogControlMBeangetRecoveryLog(String vdb, String user, String password)
     Returns a proxy on a RecoveryLogControlMBean.
public  StringgetRemoteHostAddress()
     Returns the remoteHostAddress value.
public  StringgetRemoteHostPort()
     Returns the remoteHostPort value.
public  StringgetRemoteName()
    
public  RequestManagerMBeangetRequestManager(String vdb, String user, String password)
     Returns a proxy on the RequestManager of the given virtual database.
public  VirtualDatabaseMBeangetVirtualDatabaseProxy(String database, String user, String password)
    
public  booleanisValidConnection()
    
public  SetlistSequoiaMBeans()
    
public  voidreconnect()
    
public  voidsetAttributeValue(ObjectName mbean, String attribute, Object value)
    
public  voidsetNotificationListener(NotificationListener notificationListener)
     Sets the notificationListener value.


Constructor Detail
RmiJmxClient
public RmiJmxClient(String port, String host, String jmxUser, String jmxPassword) throws IOException(Code)
Creates a new RmiJmxClient.java object
Parameters:
  port - the port of the host to connect to
Parameters:
  host - the host name to connect to
Parameters:
  jmxUser - the jmxUser if one, to be authenticated with
Parameters:
  jmxPassword - the jmxPassword if one, to be authenticated with
throws:
  IOException - if cannot connect



RmiJmxClient
public RmiJmxClient(String url, Object credentials) throws IOException(Code)
Creates a new RmiJmxClient object
Parameters:
  url - the jmx connector url
Parameters:
  credentials - to use for the connection
throws:
  IOException - if connect fails



RmiJmxClient
public RmiJmxClient(String port, String host, Object credentials) throws IOException(Code)
Creates a new RmiJmxClient.java object
Parameters:
  port - the port of the host to connect to
Parameters:
  host - the host name to connect to
Parameters:
  credentials - to use for the connection
throws:
  IOException - if connect fails




Method Detail
connect
public void connect(String port, String host, Object credentials) throws IOException(Code)
Connect to the MBean server
Parameters:
  port - the port of the host to connect to
Parameters:
  host - the host name to connect to
Parameters:
  credentials - to use for the connection
throws:
  IOException - if connect fails



getAbstractScheduler
public AbstractSchedulerControlMBean getAbstractScheduler(String vdb, String user, String password) throws IOException(Code)
Returns a proxy on the given vdb Scheduler.
Parameters:
  vdb - name of the virtual database
Parameters:
  user - user login for the virtual database
Parameters:
  password - user password fort the virtual database a proxy on an AbstractScheduler
throws:
  IOException - if an I/O exception occured



getAttributeValue
public Object getAttributeValue(ObjectName mbean, String attribute) throws Exception(Code)
Get the value of an attribute on the given mbean
Parameters:
  mbean - the ObjectName of the mbean to access
Parameters:
  attribute - the attribute name Object being the value returned by the get method
throws:
  Exception - if fails



getBackendTaskQueues
public BackendTaskQueuesControlMBean getBackendTaskQueues(String vdb, String backend, String user, String password) throws IOException(Code)
Returns a proxy on a BackendTaskQueuesControlMBean.
Parameters:
  vdb - name of the virtual database
Parameters:
  backend - name of the backend
Parameters:
  user - user login for the virtual database
Parameters:
  password - user password fort the virtual database a proxy on a BackendTaskQueuesControlMBean
throws:
  IOException - if an I/O exception occured



getControllerProxy
public ControllerMBean getControllerProxy() throws IOException(Code)
Get a proxy to the ControllerMBean ControllerMBean instance
throws:
  IOException - if cannot connect to MBean



getCredentials
public Object getCredentials()(Code)
Returns the credentials value. Returns the credentials.



getDataCollectorProxy
public DataCollectorMBean getDataCollectorProxy() throws IOException(Code)
Get a proxy to the DataCollectorMBean DataCollectorMBean instance
throws:
  IOException - if fails



getDatabaseBackendProxy
public DatabaseBackendMBean getDatabaseBackendProxy(String vdb, String backend, String user, String password) throws InstanceNotFoundException, IOException(Code)
Get a proxy to the DatabaseBackendMBean DatabaseBackendMBean instance
Parameters:
  vdb - virtual database name
Parameters:
  backend - backend name
Parameters:
  user - user name
Parameters:
  password - password name
throws:
  IOException - if cannot connect to MBean
throws:
  InstanceNotFoundException - if cannot locate MBean



getMBeanInfo
public MBeanInfo getMBeanInfo(ObjectName mbean) throws Exception(Code)
Get the mbean information
Parameters:
  mbean - the ObjectName of the mbean to access MBeanInfo object
throws:
  Exception - if fails



getNotificationListener
public NotificationListener getNotificationListener()(Code)
Returns the notificationListener value. Returns the notificationListener.



getParsingCache
public ParsingCacheMBean getParsingCache(String vdb, String user, String password) throws IOException(Code)
Returns a proxy on the given vdb Scheduler parsing cache
Parameters:
  vdb - name of the virtual database
Parameters:
  user - user login for the virtual database
Parameters:
  password - user password fort the virtual database a proxy on a ParsingCache
throws:
  IOException - if an I/O exception occured



getRecoveryLog
public RecoveryLogControlMBean getRecoveryLog(String vdb, String user, String password) throws IOException(Code)
Returns a proxy on a RecoveryLogControlMBean.
Parameters:
  vdb - name of the virtual databaseTODO: getRecoveryLog definition.
Parameters:
  user - user login for the virtual database
Parameters:
  password - user password fort the virtual database a proxy on a RecoveryLogControlMBean
throws:
  IOException - if an I/O exception occured



getRemoteHostAddress
public String getRemoteHostAddress()(Code)
Returns the remoteHostAddress value. Returns the remoteHostAddress.



getRemoteHostPort
public String getRemoteHostPort()(Code)
Returns the remoteHostPort value. Returns the remoteHostPort.



getRemoteName
public String getRemoteName()(Code)
Get the controller name used for jmx connection This is [hostname]:[jmxServerPort] remoteHostName+":"+remoteHostPort



getRequestManager
public RequestManagerMBean getRequestManager(String vdb, String user, String password) throws IOException(Code)
Returns a proxy on the RequestManager of the given virtual database.
Parameters:
  vdb - name of the virtual database
Parameters:
  user - user login for the virtual database
Parameters:
  password - user password fort the virtual database a proxy on a RequestManager
throws:
  IOException - if an I/O exception occured



getVirtualDatabaseProxy
public VirtualDatabaseMBean getVirtualDatabaseProxy(String database, String user, String password) throws InstanceNotFoundException, IOException, VirtualDatabaseException(Code)
Get a reference to the virtualdatabaseMbean with the given authentication
Parameters:
  database - the virtual database name
Parameters:
  user - the user recognized as the VirtualDatabaseUser
Parameters:
  password - the password for the VirtualDatabaseUser VirtualDatabaseMBean instance
throws:
  IOException - if cannot connect to MBean
throws:
  InstanceNotFoundException - if cannot locate MBean
throws:
  VirtualDatabaseException - if virtual database fails



isValidConnection
public boolean isValidConnection()(Code)
Test if the connection with the mbean server is still valid true if it is



listSequoiaMBeans
public Set listSequoiaMBeans() throws Exception(Code)
List of all the mbean on the current server a set of ObjectInstance
throws:
  Exception - if fails



reconnect
public void reconnect() throws IOException(Code)
Reconnect to the same mbean server
throws:
  IOException - if reconnection failed



setAttributeValue
public void setAttributeValue(ObjectName mbean, String attribute, Object value) throws Exception(Code)
Change an attribute value
Parameters:
  mbean - the ObjectName of the mbean to access
Parameters:
  attribute - the attribute name
Parameters:
  value - the attribute new value
throws:
  Exception - if fails



setNotificationListener
public void setNotificationListener(NotificationListener notificationListener)(Code)
Sets the notificationListener value.
Parameters:
  notificationListener - The notificationListener to set.



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.