Source Code Cross Referenced for DynamicMBean.java in  » JMX » jfoxmx » javax » management » 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 » javax.management 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /* JFox, the OpenSource J2EE Application Server
002:         *
003:         * Copyright (C) 2002 huihoo.org
004:         * Distributable under GNU LGPL license
005:         * See the GNU Lesser General Public License for more details.
006:         */
007:
008:        package javax.management;
009:
010:        /**
011:         * Defines the methods that should be implemented by
012:         * a Dynamic MBean (MBean that exposes a dynamic management interface).
013:         *
014:         * @author <a href="mailto:young_yy@hotmail.org">Young Yang</a>
015:         */
016:
017:        public interface DynamicMBean {
018:
019:            /**
020:             * Obtains the value of a specific attribute of the Dynamic MBean.
021:             *
022:             * @param attribute The name of the attribute to be retrieved
023:             *
024:             * @return  The value of the attribute retrieved.
025:             *
026:             * @exception AttributeNotFoundException
027:             * @exception MBeanException  Wraps a <CODE>java.lang.Exception</CODE> thrown by the MBean's getter.
028:             * @exception ReflectionException  Wraps a <CODE>java.lang.Exception</CODE> thrown while trying to invoke the getter.
029:             */
030:            public Object getAttribute(String attribute)
031:                    throws AttributeNotFoundException, MBeanException,
032:                    ReflectionException;
033:
034:            /**
035:             * Sets the value of a specific attribute of the Dynamic MBean
036:             *
037:             * @param attribute The identification of the attribute to
038:             * be set and  the value it is to be set to.
039:             *
040:             * @exception AttributeNotFoundException
041:             * @exception InvalidAttributeValueException
042:             * @exception MBeanException Wraps a <CODE>java.lang.Exception</CODE> thrown by the MBean's setter.
043:             * @exception ReflectionException Wraps a <CODE>java.lang.Exception</CODE> thrown while trying to invoke the MBean's setter.
044:             */
045:            public void setAttribute(Attribute attribute)
046:                    throws AttributeNotFoundException,
047:                    InvalidAttributeValueException, MBeanException,
048:                    ReflectionException;
049:
050:            /**
051:             * Enables the values of several attributes of the Dynamic MBean.
052:             *
053:             * @param attributes A list of the attributes to be retrieved.
054:             *
055:             * @return  The list of attributes retrieved.
056:             *
057:             */
058:            public AttributeList getAttributes(String[] attributes);
059:
060:            /**
061:             * Sets the values of several attributes of the Dynamic MBean
062:             *
063:             * @param attributes A list of attributes: The identification of the
064:             * attributes to be set and  the values they are to be set to.
065:             *
066:             * @return  The list of attributes that were set, with their new values.
067:             *
068:             */
069:            public AttributeList setAttributes(AttributeList attributes);
070:
071:            /**
072:             * Allows an action to be invoked on the Dynamic MBean.
073:             *
074:             * @param actionName The name of the action to be invoked.
075:             * @param params An array containing the parameters to be set when the action is
076:             * invoked.
077:             * @param signature An array containing the signature of the action. The class objects will
078:             * be loaded through the same class loader as the one used for loading the
079:             * MBean on which the action is invoked.
080:             *
081:             * @return  The object returned by the action, which represents the result of
082:             * invoking the action on the MBean specified.
083:             *
084:             * @exception MBeanException  Wraps a <CODE>java.lang.Exception</CODE> thrown by the MBean's invoked method.
085:             * @exception ReflectionException  Wraps a <CODE>java.lang.Exception</CODE> thrown while trying to invoke the method
086:             */
087:            public Object invoke(String actionName, Object params[],
088:                    String signature[]) throws MBeanException,
089:                    ReflectionException;
090:
091:            /**
092:             * Provides the exposed attributes and actions of the Dynamic MBean using an MBeanInfo object.
093:             *
094:             * @return  An instance of <CODE>MBeanInfo</CODE> allowing all attributes and actions
095:             * exposed by this Dynamic MBean to be retrieved.
096:             *
097:             */
098:            public MBeanInfo getMBeanInfo();
099:
100:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.