Java Doc for GroovyMBean.java in  » Scripting » groovy-1.0 » groovy » util » 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 » Scripting » groovy 1.0 » groovy.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   groovy.lang.GroovyObjectSupport
      groovy.util.GroovyMBean

GroovyMBean
public class GroovyMBean extends GroovyObjectSupport (Code)
A GroovyObject facade for an underlying MBean which acts like a normal groovy object but which is actually implemented via an underlying JMX MBean. Properties and normal method invocations delegate to the MBeanServer to the actual MBean.
author:
   James Strachan
author:
   Steve Button
version:
   $Revision: 3747 $



Constructor Summary
public  GroovyMBean(MBeanServerConnection server, ObjectName name)
    

Method Summary
protected  StringcreateOperationKey(String operation, int params)
    
protected  String[]createSignature(MBeanOperationInfo info)
    
protected  StringdescribeAttribute(MBeanAttributeInfo attr)
     Description of the specified attribute name.
public  StringdescribeAttribute(String attributeName)
     Description of the specified attribute name.
public  ListdescribeOperation(String operationName)
     Get the dessciptions of the named operation.
protected  StringdescribeOperation(MBeanOperationInfo operation)
     Dessciption of the named operation.
public  ObjectgetProperty(String property)
    
public  MBeanInfoinfo()
    
public  ObjectinvokeMethod(String method, Object arguments)
    
public  CollectionlistAttributeDescriptions()
     List of string representations of all of the attributes on the MBean.
public  CollectionlistAttributeNames()
    
public  ListlistAttributeValues()
    
public  CollectionlistOperationDescriptions()
     Description of all of the operations available on the MBean.
public  CollectionlistOperationNames()
     Names of all the operations available on the MBean.
public  ObjectNamename()
    
public  MBeanServerConnectionserver()
    
public  voidsetProperty(String property, Object value)
    
public  StringtoString()
    


Constructor Detail
GroovyMBean
public GroovyMBean(MBeanServerConnection server, ObjectName name) throws JMException, IOException(Code)




Method Detail
createOperationKey
protected String createOperationKey(String operation, int params)(Code)
Construct a simple key based on the method name and the number of parameters
Parameters:
  operation - - the mbean operation name
Parameters:
  params - - the number of parameters the operation supports simple unique identifier for a method



createSignature
protected String[] createSignature(MBeanOperationInfo info)(Code)



describeAttribute
protected String describeAttribute(MBeanAttributeInfo attr)(Code)
Description of the specified attribute name.
Parameters:
  attr - - the attribute String the description



describeAttribute
public String describeAttribute(String attributeName)(Code)
Description of the specified attribute name.
Parameters:
  attributeName - - stringified name of the attribute the description



describeOperation
public List describeOperation(String operationName)(Code)
Get the dessciptions of the named operation. This returns a Collection since operations can be overloaded and one operationName can have multiple forms.
Parameters:
  operationName - Collection of operation description



describeOperation
protected String describeOperation(MBeanOperationInfo operation)(Code)
Dessciption of the named operation.
Parameters:
  operation - description



getProperty
public Object getProperty(String property)(Code)



info
public MBeanInfo info()(Code)



invokeMethod
public Object invokeMethod(String method, Object arguments)(Code)



listAttributeDescriptions
public Collection listAttributeDescriptions()(Code)
List of string representations of all of the attributes on the MBean. list of descriptions of each attribute on the mbean



listAttributeNames
public Collection listAttributeNames()(Code)
List of the names of each of the attributes on the MBean list of attribute names



listAttributeValues
public List listAttributeValues()(Code)
The values of each of the attributes on the MBean list of values of each attribute



listOperationDescriptions
public Collection listOperationDescriptions()(Code)
Description of all of the operations available on the MBean. full description of each operation on the MBean



listOperationNames
public Collection listOperationNames()(Code)
Names of all the operations available on the MBean. all the operations on the MBean



name
public ObjectName name()(Code)



server
public MBeanServerConnection server()(Code)



setProperty
public void setProperty(String property, Object value)(Code)



toString
public String toString()(Code)
Return an end user readable representation of the underlying MBean the user readable description



Methods inherited from groovy.lang.GroovyObjectSupport
public MetaClass getMetaClass()(Code)(Java Doc)
public Object getProperty(String property)(Code)(Java Doc)
public Object invokeMethod(String name, Object args)(Code)(Java Doc)
public void setMetaClass(MetaClass metaClass)(Code)(Java Doc)
public void setProperty(String property, Object newValue)(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.