Java Doc for JMXServerConnection.java in  » JMX » jmanage » org » jmanage » core » modules » 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 » JMX » jmanage » org.jmanage.core.modules 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jmanage.core.modules.JMXServerConnection

All known Subclasses:   org.jmanage.core.modules.jsr160.JSR160ServerConnection,  org.jmanage.core.modules.weblogic.WLServerConnection,  org.jmanage.core.modules.websphere.WebSphereServerConnection,  org.jmanage.core.modules.jboss.JBossServerConnection,
JMXServerConnection
abstract public class JMXServerConnection implements ServerConnection(Code)
Date: Sep 3, 2004 11:19:06 PM
author:
   Shashank Bellary
author:
   Rakesh Kalra


Field Summary
protected  MapnotifFilters
    
protected  Mapnotifications
    

Constructor Summary
public  JMXServerConnection()
    
public  JMXServerConnection(Object mbeanServer, Class mbeanServerClass)
    

Method Summary
public  voidaddNotificationListener(ObjectName objectName, ObjectNotificationListener listener, ObjectNotificationFilter filter, Object handback)
    
public  ObjectbuildObjectName(String objectName)
    
public  voidclose()
    
public  voidcreateMBean(String className, ObjectName name, Object[] params, String[] signature)
    
public  ObjectgetAttribute(ObjectName objectName, String attributeName)
     Gets the value for a single attribute.
public  ListgetAttributes(ObjectName objectName, String[] attributeNames)
    
public  ObjectInfogetObjectInfo(ObjectName objectName)
     Returns the information about the given objectName.
public  Objectinvoke(ObjectName objectName, String operationName, Object[] params, String[] signature)
     Invokes the given "operationName" on the object identified by "objectName".
public  booleanisOpen()
     checks if this connection is open.
public  SetqueryNames(ObjectName objectName)
     Queries the MBeanServer for the given object name pattern.
public  voidremoveNotificationListener(ObjectName objectName, ObjectNotificationListener listener, ObjectNotificationFilter filter, Object handback)
    
public  ListsetAttributes(ObjectName objectName, List attributeList)
     Saves the attribute values.
protected static  AttributetoJMXAttribute(ObjectAttribute objAttr)
    
protected static  AttributeListtoJMXAttributeList(List objAttrs)
    
protected static  NotificationFiltertoJMXNotificationFilter(ObjectNotificationFilter filter)
    
protected static  NotificationListenertoJMXNotificationListener(ObjectNotificationListener listener)
    
protected static  javax.management.ObjectNametoJMXObjectName(ObjectName objectName)
    
protected static  ObjectNametoJmanageObjectName(javax.management.ObjectName objectName)
    
protected static  SettoJmanageObjectNameInstance(Set mbeans)
    
protected static  ObjectAttributetoObjectAttribute(Attribute attr)
    
protected static  ObjectAttributeInfotoObjectAttributeInfo(MBeanAttributeInfo attribute)
    
protected static  ListtoObjectAttributeList(AttributeList attrList)
    
protected static  ObjectAttributeInfo[]toObjectAttributes(MBeanAttributeInfo[] attributes)
    
protected static  ObjectConstructorInfotoObjectConstructorInfo(MBeanConstructorInfo constructor)
    
protected static  ObjectConstructorInfo[]toObjectConstructors(MBeanConstructorInfo[] constructors)
    
protected static  ObjectInfotoObjectInfo(ObjectName objectName, MBeanInfo mbeanInfo)
    
protected static  ObjectNotificationtoObjectNotification(Notification n)
    
protected static  ObjectNotificationInfotoObjectNotificationInfo(MBeanNotificationInfo notification)
    
protected static  ObjectNotificationInfo[]toObjectNotifications(MBeanNotificationInfo[] notifications)
    
protected static  ObjectOperationInfotoObjectOperationInfo(MBeanOperationInfo operation)
    
protected static  ObjectOperationInfo[]toObjectOperations(MBeanOperationInfo[] operations)
    
protected static  ObjectParameterInfotoObjectParameterInfo(MBeanParameterInfo parameter)
    
protected static  ObjectParameterInfo[]toObjectParameters(MBeanParameterInfo[] parameters)
    
public  voidunregisterMBean(ObjectName objectName)
    

Field Detail
notifFilters
protected Map notifFilters(Code)



notifications
protected Map notifications(Code)




Constructor Detail
JMXServerConnection
public JMXServerConnection()(Code)



JMXServerConnection
public JMXServerConnection(Object mbeanServer, Class mbeanServerClass)(Code)




Method Detail
addNotificationListener
public void addNotificationListener(ObjectName objectName, ObjectNotificationListener listener, ObjectNotificationFilter filter, Object handback)(Code)



buildObjectName
public Object buildObjectName(String objectName)(Code)



close
public void close() throws IOException(Code)
Closes the connection to the server



createMBean
public void createMBean(String className, ObjectName name, Object[] params, String[] signature)(Code)



getAttribute
public Object getAttribute(ObjectName objectName, String attributeName)(Code)
Gets the value for a single attribute.
Parameters:
  objectName -
Parameters:
  attributeName - attribute value



getAttributes
public List getAttributes(ObjectName objectName, String[] attributeNames)(Code)
Returns a list of ObjectAttribute objects containing attribute names and values for the given attributeNames
Parameters:
  objectName -
Parameters:
  attributeNames -



getObjectInfo
public ObjectInfo getObjectInfo(ObjectName objectName)(Code)
Returns the information about the given objectName.
Parameters:
  objectName -



invoke
public Object invoke(ObjectName objectName, String operationName, Object[] params, String[] signature)(Code)
Invokes the given "operationName" on the object identified by "objectName".
Parameters:
  objectName -
Parameters:
  operationName -
Parameters:
  params -
Parameters:
  signature -



isOpen
public boolean isOpen()(Code)
checks if this connection is open. It simply calls getMBeanCount() method on MBeanServer Connection. If there is no errors, then the connection is assumed to be open. true if this connection is open



queryNames
public Set queryNames(ObjectName objectName)(Code)
Queries the MBeanServer for the given object name pattern.
Parameters:
  objectName - the ObjectName pattern Set of ObjectName objects



removeNotificationListener
public void removeNotificationListener(ObjectName objectName, ObjectNotificationListener listener, ObjectNotificationFilter filter, Object handback)(Code)



setAttributes
public List setAttributes(ObjectName objectName, List attributeList)(Code)
Saves the attribute values.
Parameters:
  objectName -
Parameters:
  attributeList - list of ObjectAttribute objects



toJMXAttribute
protected static Attribute toJMXAttribute(ObjectAttribute objAttr)(Code)



toJMXAttributeList
protected static AttributeList toJMXAttributeList(List objAttrs)(Code)



toJMXNotificationFilter
protected static NotificationFilter toJMXNotificationFilter(ObjectNotificationFilter filter)(Code)



toJMXNotificationListener
protected static NotificationListener toJMXNotificationListener(ObjectNotificationListener listener)(Code)



toJMXObjectName
protected static javax.management.ObjectName toJMXObjectName(ObjectName objectName)(Code)



toJmanageObjectName
protected static ObjectName toJmanageObjectName(javax.management.ObjectName objectName)(Code)



toJmanageObjectNameInstance
protected static Set toJmanageObjectNameInstance(Set mbeans)(Code)
Converts a Set of javax.management.ObjectName to org.jmanage.core.management.ObjectName



toObjectAttribute
protected static ObjectAttribute toObjectAttribute(Attribute attr)(Code)



toObjectAttributeInfo
protected static ObjectAttributeInfo toObjectAttributeInfo(MBeanAttributeInfo attribute)(Code)



toObjectAttributeList
protected static List toObjectAttributeList(AttributeList attrList)(Code)



toObjectAttributes
protected static ObjectAttributeInfo[] toObjectAttributes(MBeanAttributeInfo[] attributes)(Code)



toObjectConstructorInfo
protected static ObjectConstructorInfo toObjectConstructorInfo(MBeanConstructorInfo constructor)(Code)



toObjectConstructors
protected static ObjectConstructorInfo[] toObjectConstructors(MBeanConstructorInfo[] constructors)(Code)



toObjectInfo
protected static ObjectInfo toObjectInfo(ObjectName objectName, MBeanInfo mbeanInfo)(Code)



toObjectNotification
protected static ObjectNotification toObjectNotification(Notification n)(Code)



toObjectNotificationInfo
protected static ObjectNotificationInfo toObjectNotificationInfo(MBeanNotificationInfo notification)(Code)



toObjectNotifications
protected static ObjectNotificationInfo[] toObjectNotifications(MBeanNotificationInfo[] notifications)(Code)



toObjectOperationInfo
protected static ObjectOperationInfo toObjectOperationInfo(MBeanOperationInfo operation)(Code)



toObjectOperations
protected static ObjectOperationInfo[] toObjectOperations(MBeanOperationInfo[] operations)(Code)



toObjectParameterInfo
protected static ObjectParameterInfo toObjectParameterInfo(MBeanParameterInfo parameter)(Code)



toObjectParameters
protected static ObjectParameterInfo[] toObjectParameters(MBeanParameterInfo[] parameters)(Code)



unregisterMBean
public void unregisterMBean(ObjectName objectName)(Code)



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.