Java Doc for DomainManagement.java in  » J2EE » JOnAS-4.8.6 » org » objectweb » jonas » mejb » 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 » J2EE » JOnAS 4.8.6 » org.objectweb.jonas.mejb 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.objectweb.jonas.mejb.DomainManagement

DomainManagement
public interface DomainManagement extends Management(Code)
This is a variation on the javax.management.j2ee.Management interface required to be exposed by JOnAS through the MEJB session bean. This extends the main functionality of the MEJB session bean by allowing clients to query mbean information from other servers within the same domain.

Please Note: domainServerName in any of the exposed methods can be set to one of the values of the array returned by the following call to a master server: getAttribute(null, domainObjectName, "serverNames") where ObjectName domainObjectName corresponds to the ObjectName: domainName:j2eeType=J2EEDomain,name=domainName
author:
   Vivek Lakshmanan




Method Summary
 ObjectgetAttribute(String domainServerName, ObjectName name, String attribute)
     Gets the value of a specified attribute inside the mbean corresponding to the objectname name for the server with name domainServerName .
Parameters:
  domainServerName - Name of the server in domain.
 AttributeListgetAttributes(String domainServerName, ObjectName name, String[] attributes)
     Gets the values of attributes in attributes inside the mbean corresponding to the objectname name for the server with name domainServerName.
Parameters:
  domainServerName - Name of the server in domain.
 IntegergetMBeanCount(String domainServerName)
     The number of MBeans registered in the mbean server corresponding to the server domainServerName in the domain.
Parameters:
  domainServerName - Name of the server in domain.
 MBeanInfogetMBeanInfo(String domainServerName, ObjectName name)
     Get information about a specific MBean with ObjectName name registered on server domainServerName.
Parameters:
  domainServerName - Name of the server in domain.
 Objectinvoke(String domainServerName, ObjectName name, String operationName, Object[] params, String[] signature)
     Invoke an operation on an MBean with ObjectName name.
Parameters:
  domainServerName - Name of the server in domain.
 booleanisRegistered(String domainServerName, ObjectName name)
     Check if the MBean with ObjectName name is registered in the server with the name domainServerName.
Parameters:
  domainServerName - Name of the server in domain.
 SetqueryNames(String domainServerName, ObjectName name, QueryExp query)
     Query for ObjectNames on the server named domainServerNamebased on a query string.
Parameters:
  domainServerName - Name of the server in domain.
 voidsetAttribute(String domainServerName, ObjectName name, Attribute attribute)
     Sets the value of a specified attribute inside the mbean corresponding to the objectname name for the server with name domainServerName .
Parameters:
  domainServerName - Name of the server in domain.
 AttributeListsetAttributes(String domainServerName, ObjectName name, AttributeList attributes)
     Sets the values of attributes in attributes inside the mbean corresponding to the objectname name for the server with name domainServerName.
Parameters:
  domainServerName - Name of the server in domain.



Method Detail
getAttribute
Object getAttribute(String domainServerName, ObjectName name, String attribute) throws MBeanException, AttributeNotFoundException, InstanceNotFoundException, ReflectionException, RemoteException(Code)
Gets the value of a specified attribute inside the mbean corresponding to the objectname name for the server with name domainServerName .
Parameters:
  domainServerName - Name of the server in domain. Use null forreferring to this server.
Parameters:
  name - ObjectName corresponding to the MBean to query.
Parameters:
  attribute - The member attribute to be queried. Value of the attribute.
throws:
  MBeanException -
throws:
  AttributeNotFoundException -
throws:
  InstanceNotFoundException -
throws:
  ReflectionException -
throws:
  RemoteException -



getAttributes
AttributeList getAttributes(String domainServerName, ObjectName name, String[] attributes) throws InstanceNotFoundException, ReflectionException, RemoteException(Code)
Gets the values of attributes in attributes inside the mbean corresponding to the objectname name for the server with name domainServerName.
Parameters:
  domainServerName - Name of the server in domain. Use null forreferring to this server.
Parameters:
  name - ObjectName corresponding to the MBean to query.
Parameters:
  attributes - Array of attribute names to be queried. Value of the attributes.
throws:
  InstanceNotFoundException -
throws:
  ReflectionException -
throws:
  RemoteException -



getMBeanCount
Integer getMBeanCount(String domainServerName) throws MBeanException, AttributeNotFoundException, InstanceNotFoundException, ReflectionException, RemoteException(Code)
The number of MBeans registered in the mbean server corresponding to the server domainServerName in the domain.
Parameters:
  domainServerName - Name of the server in domain. Use null forreferring to this server. Number of MBeans currently registered in server.
throws:
  MBeanException -
throws:
  AttributeNotFoundException -
throws:
  InstanceNotFoundException -
throws:
  ReflectionException -
throws:
  RemoteException -



getMBeanInfo
MBeanInfo getMBeanInfo(String domainServerName, ObjectName name) throws IntrospectionException, InstanceNotFoundException, ReflectionException, RemoteException(Code)
Get information about a specific MBean with ObjectName name registered on server domainServerName.
Parameters:
  domainServerName - Name of the server in domain. Use null forreferring to this server.
Parameters:
  name - ObjectName corresponding to the MBean to query. Information about queried MBean.
throws:
  IntrospectionException -
throws:
  InstanceNotFoundException -
throws:
  ReflectionException -
throws:
  RemoteException -



invoke
Object invoke(String domainServerName, ObjectName name, String operationName, Object[] params, String[] signature) throws MBeanException, InstanceNotFoundException, ReflectionException, RemoteException(Code)
Invoke an operation on an MBean with ObjectName name.
Parameters:
  domainServerName - Name of the server in domain. Use null forreferring to this server.
Parameters:
  name - ObjectName corresponding to the MBean to query.
Parameters:
  operationName - Name of operation to invoke.
Parameters:
  params - Parameters to pass to the operation.
Parameters:
  signature - Signature of operation. Result of invocation.
throws:
  MBeanException -
throws:
  InstanceNotFoundException -
throws:
  ReflectionException -
throws:
  RemoteException -



isRegistered
boolean isRegistered(String domainServerName, ObjectName name) throws RemoteException(Code)
Check if the MBean with ObjectName name is registered in the server with the name domainServerName.
Parameters:
  domainServerName - Name of the server in domain. Use null forreferring to this server.
Parameters:
  name - ObjectName corresponding to the MBean to query. true if registered.
throws:
  RemoteException -



queryNames
Set queryNames(String domainServerName, ObjectName name, QueryExp query) throws RemoteException(Code)
Query for ObjectNames on the server named domainServerNamebased on a query string.
Parameters:
  domainServerName - Name of the server in domain. Use null forreferring to this server.
Parameters:
  name - ObjectName corresponding to the query string.
Parameters:
  query - Query expression to apply on ObjectName. MBeans matching the query.
throws:
  RemoteException -



setAttribute
void setAttribute(String domainServerName, ObjectName name, Attribute attribute) throws MBeanException, AttributeNotFoundException, InstanceNotFoundException, InvalidAttributeValueException, ReflectionException, RemoteException(Code)
Sets the value of a specified attribute inside the mbean corresponding to the objectname name for the server with name domainServerName .
Parameters:
  domainServerName - Name of the server in domain. Use null forreferring to this server.
Parameters:
  name - ObjectName corresponding to the query string.
Parameters:
  attribute - The member attribute to be set.
throws:
  MBeanException -
throws:
  AttributeNotFoundException -
throws:
  InstanceNotFoundException -
throws:
  InvalidAttributeValueException -
throws:
  ReflectionException -
throws:
  RemoteException -



setAttributes
AttributeList setAttributes(String domainServerName, ObjectName name, AttributeList attributes) throws InstanceNotFoundException, ReflectionException, RemoteException(Code)
Sets the values of attributes in attributes inside the mbean corresponding to the objectname name for the server with name domainServerName.
Parameters:
  domainServerName - Name of the server in domain. Use null forreferring to this server.
Parameters:
  name - ObjectName corresponding to the MBean.
Parameters:
  attributes - Array of attribute names to be set. Values of the attributes.
throws:
  InstanceNotFoundException -
throws:
  ReflectionException -
throws:
  RemoteException -



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.