Java Doc for ModelMBeanAttributeInfo.java in  » EJB-Server-JBoss-4.2.1 » jmx » javax » management » modelmbean » 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 » EJB Server JBoss 4.2.1 » jmx » javax.management.modelmbean 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.management.MBeanAttributeInfo
   javax.management.modelmbean.ModelMBeanAttributeInfo

ModelMBeanAttributeInfo
public class ModelMBeanAttributeInfo extends MBeanAttributeInfo implements DescriptorAccess,Cloneable(Code)
Represents a Model MBean's management attribute.
See Also:   javax.management.MBeanAttributeInfo
author:
   Juha Lindfors.
author:
   Adrian Brock.
author:
   Thomas Diesler.
version:
   $Revision: 57200 $
version:
  

Revisions:
version:
  

20020320 Juha Lindfors:
version:
  


    version:
      
  • toString() implementation

  • version:
      
  • Changed the default descriptor to include field currencyTimeLimit
    version:
       with a value -1. Since default descriptors do not include method mapping
    version:
       this automatically caches attribute values in the Model MBean.
    version:
      

  • version:
      

version:
  

20020715 Adrian Brock:
version:
  


    version:
      
  • Serialization
    version:
      



Constructor Summary
public  ModelMBeanAttributeInfo(String name, String description, Method getter, Method setter)
     Creates a new attribute info with a default descriptor.
public  ModelMBeanAttributeInfo(String name, String description, Method getter, Method setter, Descriptor descriptor)
     Creates a new attribute info object.
public  ModelMBeanAttributeInfo(String name, String type, String description, boolean isReadable, boolean isWritable, boolean isIs)
     Creates a new attribute info object with a default descriptor.
public  ModelMBeanAttributeInfo(String name, String type, String description, boolean isReadable, boolean isWritable, boolean isIs, Descriptor descriptor)
     Creates a new attribute info object with a given descriptor.
public  ModelMBeanAttributeInfo(ModelMBeanAttributeInfo info)
     Copy constructor.

Method Summary
public synchronized  Objectclone()
     Creates a copy of this object.
public  DescriptorgetDescriptor()
     Returns a copy of the descriptor associated with this attribute.
public  voidsetDescriptor(Descriptor inDescriptor)
     Replaces the descriptor associated with this attribute.
public  StringtoString()
     Returns a string representation of this Model MBean attribute info object. The returned string is in the form:
 ModelMBeanAttributeInfo[Name=<attribute name>,
 Type=<class name of the attribute type>,
 Access= RW | RO | WO,
 Descriptor=(fieldName1=fieldValue1, ...


Constructor Detail
ModelMBeanAttributeInfo
public ModelMBeanAttributeInfo(String name, String description, Method getter, Method setter) throws IntrospectionException(Code)
Creates a new attribute info with a default descriptor.
Parameters:
  name - name of the attribute
Parameters:
  description - human readable description string
Parameters:
  getter - a Method instance representing a read method for this attribute
Parameters:
  setter - a Method instance representing a write method for this attribute
throws:
  IntrospectionException - if the accessor methods are not valid for this attribute



ModelMBeanAttributeInfo
public ModelMBeanAttributeInfo(String name, String description, Method getter, Method setter, Descriptor descriptor) throws IntrospectionException(Code)
Creates a new attribute info object. If a null or invalid descriptor is passed as a parameter, a default descriptor will be created for the attribute.
Parameters:
  name - name of the attribute
Parameters:
  description - human readable description string
Parameters:
  getter - a Method instance representing a read method for this attribute
Parameters:
  setter - a Method instance representing a write method for this attribute
Parameters:
  descriptor - a descriptor to associate with this attribute
throws:
  IntrospectionException - if the accessor methods are not valid for this attribute



ModelMBeanAttributeInfo
public ModelMBeanAttributeInfo(String name, String type, String description, boolean isReadable, boolean isWritable, boolean isIs)(Code)
Creates a new attribute info object with a default descriptor.
Parameters:
  name - name of the attribute
Parameters:
  type - fully qualified class name of the attribute's type
Parameters:
  description - human readable description string
Parameters:
  isReadable - true if attribute is readable; false otherwise
Parameters:
  isWritable - true if attribute is writable; false otherwise
Parameters:
  isIs - (not used for Model MBeans; false)



ModelMBeanAttributeInfo
public ModelMBeanAttributeInfo(String name, String type, String description, boolean isReadable, boolean isWritable, boolean isIs, Descriptor descriptor)(Code)
Creates a new attribute info object with a given descriptor. If a null or invalid descriptor is passed as a parameter, a default descriptor will be created for the attribute.
Parameters:
  name - name of the attribute
Parameters:
  type - fully qualified class name of the attribute's type
Parameters:
  description - human readable description string
Parameters:
  isReadable - true if the attribute is readable; false otherwise
Parameters:
  isWritable - true if the attribute is writable; false otherwise
Parameters:
  isIs - (not used for Model MBeans; false)



ModelMBeanAttributeInfo
public ModelMBeanAttributeInfo(ModelMBeanAttributeInfo info)(Code)
Copy constructor.
Parameters:
  info - the attribute info to copy




Method Detail
clone
public synchronized Object clone()(Code)
Creates a copy of this object. clone of this object



getDescriptor
public Descriptor getDescriptor()(Code)
Returns a copy of the descriptor associated with this attribute. a copy of this attribute's descriptor



setDescriptor
public void setDescriptor(Descriptor inDescriptor)(Code)
Replaces the descriptor associated with this attribute. If the inDescriptor argument is null then the existing descriptor is replaced with a default descriptor.
Parameters:
  inDescriptor - descriptor used for replacing the existing operation descriptor
throws:
  IllegalArgumentException - if the new descriptor is not valid



toString
public String toString()(Code)
Returns a string representation of this Model MBean attribute info object. The returned string is in the form:
 ModelMBeanAttributeInfo[Name=<attribute name>,
 Type=<class name of the attribute type>,
 Access= RW | RO | WO,
 Descriptor=(fieldName1=fieldValue1, ... , fieldName<n>=fieldValue<n>)]
 
string representation of this object



Methods inherited from javax.management.MBeanAttributeInfo
public synchronized Object clone()(Code)(Java Doc)
public boolean equals(Object object)(Code)(Java Doc)
public String getType()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public boolean isIs()(Code)(Java Doc)
public boolean isReadable()(Code)(Java Doc)
public boolean isWritable()(Code)(Java Doc)
public String toString()(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.