Java Doc for MBeanServerSupport.java in  » JMX » jfoxmx » org » huihoo » jfox » 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 » JMX » jfoxmx » org.huihoo.jfox.jmx 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.huihoo.jfox.jmx.MBeanServerSupport

MBeanServerSupport
public class MBeanServerSupport implements ExtendedMBeanServer(Code)

author:
   Young Yang



Constructor Summary
public  MBeanServerSupport(String domain)
    
public  MBeanServerSupport(String domain, MBeanServer outer, MBeanServerDelegate delegate)
    

Method Summary
public  voidaddNotificationListener(ObjectName objectName, NotificationListener listener, NotificationFilter filter, Object handback)
    
public  voidaddNotificationListener(ObjectName objectName, ObjectName listenerName, NotificationFilter filter, Object handback)
    
public  ObjectInstancecreateMBean(String className, ObjectName objectName)
    
public  ObjectInstancecreateMBean(String className, ObjectName objectName, ObjectName loaderName)
    
public  ObjectInstancecreateMBean(String className, ObjectName objectName, Object[] params, String[] signatures)
    
public  ObjectInstancecreateMBean(String className, ObjectName objectName, ObjectName loaderName, Object[] params, String[] signatures)
    
public  ObjectgetAttribute(ObjectName objectName, String attribute)
    
public  AttributeListgetAttributes(ObjectName objectName, String attributes)
    
public  ClassLoadergetClassLoader(ObjectName loaderName)
    

Return the named java.lang.ClassLoader .


Parameters:
  loaderName - The ObjectName of the ClassLoader.
public  ClassLoadergetClassLoaderFor(ObjectName objectName)
    

Return the java.lang.ClassLoader that was used for loading the class of the named MBean.


Parameters:
  objectName - The ObjectName of the MBean.
public  ClassLoaderRepositorygetClassLoaderRepository()
    
public  StringgetDefaultDomain()
    
public  String[]getDomains()
    
public  IntegergetMBeanCount()
    
public  MBeanInfogetMBeanInfo(ObjectName objectName)
    
public  ObjectInstancegetObjectInstance(ObjectName objectName)
    
public  Objectinstantiate(String className)
    
public  Objectinstantiate(String className, ObjectName loaderName)
    
public  Objectinstantiate(String className, Object params, String signatures)
    
public  Objectinstantiate(String className, ObjectName loaderName, Object params, String signatures)
    
public  Objectinvoke(ObjectName objectName, String operationName, Object params, String signatures)
    
public  booleanisInstanceOf(ObjectName objectName, String className)
    
public  booleanisRegistered(ObjectName objectName)
    
public  SetqueryMBeans(ObjectName objectName, QueryExp query)
    
public  SetqueryNames(ObjectName objectName, QueryExp query)
    
public  voidregisterInterceptor(MBeanServerInterceptorListener interceptor, MBeanServerNotificationFilter filter, Object handback)
    
public  ObjectInstanceregisterMBean(Object obj, ObjectName objectName)
    
public  voidremoveNotificationListener(ObjectName objectName, NotificationListener listener)
    
public  voidremoveNotificationListener(ObjectName objectName, ObjectName listenerName)
    
public  voidremoveNotificationListener(ObjectName objectName, ObjectName listenerName, NotificationFilter filter, Object handback)
    

Removes a listener from a registered MBean.

The MBean must have a listener that exactly matches the given listener, filter, and handback parameters.

public  voidremoveNotificationListener(ObjectName objectName, NotificationListener listener, NotificationFilter filter, Object handback)
    

Removes a listener from a registered MBean.

The MBean must have a listener that exactly matches the given listener, filter, and handback parameters.

public  voidsetAttribute(ObjectName objectName, Attribute attribute)
    
public  AttributeListsetAttributes(ObjectName objectName, AttributeList attributes)
    
public  voidunregisterInterceptor(MBeanServerInterceptorListener interceptor)
    
public  voidunregisterMBean(ObjectName objectName)
    


Constructor Detail
MBeanServerSupport
public MBeanServerSupport(String domain)(Code)



MBeanServerSupport
public MBeanServerSupport(String domain, MBeanServer outer, MBeanServerDelegate delegate)(Code)




Method Detail
addNotificationListener
public void addNotificationListener(ObjectName objectName, NotificationListener listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException(Code)



addNotificationListener
public void addNotificationListener(ObjectName objectName, ObjectName listenerName, NotificationFilter filter, Object handback) throws InstanceNotFoundException(Code)



createMBean
public ObjectInstance createMBean(String className, ObjectName objectName) throws ReflectionException, InstanceAlreadyExistsException, MBeanRegistrationException, MBeanException, NotCompliantMBeanException(Code)



createMBean
public ObjectInstance createMBean(String className, ObjectName objectName, ObjectName loaderName) throws ReflectionException, InstanceAlreadyExistsException, MBeanRegistrationException, MBeanException, NotCompliantMBeanException, InstanceNotFoundException(Code)



createMBean
public ObjectInstance createMBean(String className, ObjectName objectName, Object[] params, String[] signatures) throws ReflectionException, InstanceAlreadyExistsException, MBeanRegistrationException, MBeanException, NotCompliantMBeanException(Code)



createMBean
public ObjectInstance createMBean(String className, ObjectName objectName, ObjectName loaderName, Object[] params, String[] signatures) throws ReflectionException, InstanceAlreadyExistsException, MBeanRegistrationException, MBeanException, NotCompliantMBeanException, InstanceNotFoundException(Code)



getAttribute
public Object getAttribute(ObjectName objectName, String attribute) throws MBeanException, AttributeNotFoundException, InstanceNotFoundException, ReflectionException(Code)



getAttributes
public AttributeList getAttributes(ObjectName objectName, String attributes) throws InstanceNotFoundException, ReflectionException(Code)



getClassLoader
public ClassLoader getClassLoader(ObjectName loaderName) throws InstanceNotFoundException(Code)

Return the named java.lang.ClassLoader .


Parameters:
  loaderName - The ObjectName of the ClassLoader. May benull, in which case the MBean server's own ClassLoader isreturned. The named ClassLoader. If l is the actualClassLoader with that name, and r is the returnedvalue, then either:What this means is that the ClassLoader may be wrapped inanother ClassLoader for security or other reasons.
exception:
  InstanceNotFoundException - if the named ClassLoader isnot found.
since:
   JMX 1.2



getClassLoaderFor
public ClassLoader getClassLoaderFor(ObjectName objectName) throws InstanceNotFoundException(Code)

Return the java.lang.ClassLoader that was used for loading the class of the named MBean.


Parameters:
  objectName - The ObjectName of the MBean. The ClassLoader used for that MBean. If lis the MBean's actual ClassLoader, and r is thereturned value, then either:What this means is that the ClassLoader may be wrapped inanother ClassLoader for security or other reasons.
exception:
  InstanceNotFoundException - if the named MBean is not found.
since:
   JMX 1.2



getClassLoaderRepository
public ClassLoaderRepository getClassLoaderRepository()(Code)



getDefaultDomain
public String getDefaultDomain()(Code)



getDomains
public String[] getDomains()(Code)



getMBeanCount
public Integer getMBeanCount()(Code)



getMBeanInfo
public MBeanInfo getMBeanInfo(ObjectName objectName) throws InstanceNotFoundException, IntrospectionException, ReflectionException(Code)



getObjectInstance
public ObjectInstance getObjectInstance(ObjectName objectName) throws InstanceNotFoundException(Code)



instantiate
public Object instantiate(String className) throws ReflectionException, MBeanException(Code)



instantiate
public Object instantiate(String className, ObjectName loaderName) throws ReflectionException, MBeanException, InstanceNotFoundException(Code)



instantiate
public Object instantiate(String className, Object params, String signatures) throws ReflectionException, MBeanException(Code)

Parameters:
  className - The class name of the object to be instantiated.
Parameters:
  params - An array containing the parameters of the constructor to be invoked.
Parameters:
  signatures - An array containing the signature of the constructor to be invoked The newly instantiated object.
throws:
  ReflectionException - Wraps a java.lang.ClassNotFoundException or the java.lang.Exception that occurred when trying to reflectInvoke the object's constructor.
throws:
  MBeanException - Wraps a java.lang.IllegalArgumentException: The className passed in parameter is null.



instantiate
public Object instantiate(String className, ObjectName loaderName, Object params, String signatures) throws ReflectionException, MBeanException, InstanceNotFoundException(Code)



invoke
public Object invoke(ObjectName objectName, String operationName, Object params, String signatures) throws InstanceNotFoundException, MBeanException, ReflectionException(Code)



isInstanceOf
public boolean isInstanceOf(ObjectName objectName, String className) throws InstanceNotFoundException(Code)



isRegistered
public boolean isRegistered(ObjectName objectName)(Code)



queryMBeans
public Set queryMBeans(ObjectName objectName, QueryExp query)(Code)



queryNames
public Set queryNames(ObjectName objectName, QueryExp query)(Code)



registerInterceptor
public void registerInterceptor(MBeanServerInterceptorListener interceptor, MBeanServerNotificationFilter filter, Object handback)(Code)
This function is JFoxMX private extension
Parameters:
  interceptor -



registerMBean
public ObjectInstance registerMBean(Object obj, ObjectName objectName) throws InstanceAlreadyExistsException, MBeanRegistrationException, NotCompliantMBeanException(Code)



removeNotificationListener
public void removeNotificationListener(ObjectName objectName, NotificationListener listener) throws InstanceNotFoundException, ListenerNotFoundException(Code)



removeNotificationListener
public void removeNotificationListener(ObjectName objectName, ObjectName listenerName) throws InstanceNotFoundException, ListenerNotFoundException(Code)



removeNotificationListener
public void removeNotificationListener(ObjectName objectName, ObjectName listenerName, NotificationFilter filter, Object handback) throws InstanceNotFoundException, ListenerNotFoundException(Code)

Removes a listener from a registered MBean.

The MBean must have a listener that exactly matches the given listener, filter, and handback parameters. If there is more than one such listener, only one is removed.

The filter and handback parameters may be null if and only if they are null in a listener to be removed.


Parameters:
  objectName - The name of the MBean on which the listener shouldbe removed.
Parameters:
  listenerName - A listener that was previously added to thisMBean.
Parameters:
  filter - The filter that was specified when the listenerwas added.
Parameters:
  handback - The handback that was specified when thelistener was added.
exception:
  InstanceNotFoundException - The MBean name provideddoes not match any of the registered MBeans.
exception:
  ListenerNotFoundException - The listener is notregistered in the MBean, or it is not registered with the givenfilter and handback.
See Also:   MBeanServerSupport.addNotificationListener(ObjectName,ObjectName,NotificationFilter,Object)
since:
   JMX 1.2



removeNotificationListener
public void removeNotificationListener(ObjectName objectName, NotificationListener listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException, ListenerNotFoundException(Code)

Removes a listener from a registered MBean.

The MBean must have a listener that exactly matches the given listener, filter, and handback parameters. If there is more than one such listener, only one is removed.

The filter and handback parameters may be null if and only if they are null in a listener to be removed.


Parameters:
  objectName - The name of the MBean on which the listener shouldbe removed.
Parameters:
  listener - A listener that was previously added to thisMBean.
Parameters:
  filter - The filter that was specified when the listenerwas added.
Parameters:
  handback - The handback that was specified when thelistener was added.
exception:
  InstanceNotFoundException - The MBean name provideddoes not match any of the registered MBeans.
exception:
  ListenerNotFoundException - The listener is notregistered in the MBean, or it is not registered with the givenfilter and handback.
See Also:   MBeanServerSupport.addNotificationListener(ObjectName,NotificationListener,NotificationFilter,Object)
since:
   JMX 1.2



setAttribute
public void setAttribute(ObjectName objectName, Attribute attribute) throws InstanceNotFoundException, AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException(Code)



setAttributes
public AttributeList setAttributes(ObjectName objectName, AttributeList attributes) throws InstanceNotFoundException, ReflectionException(Code)



unregisterInterceptor
public void unregisterInterceptor(MBeanServerInterceptorListener interceptor) throws ListenerNotFoundException(Code)



unregisterMBean
public void unregisterMBean(ObjectName objectName) throws InstanceNotFoundException, MBeanRegistrationException(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.