KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > management > j2ee > cluster > HAManagementServiceMBean


1 /*
2 * JBoss, Home of Professional Open Source
3 * Copyright 2005, JBoss Inc., and individual contributors as indicated
4 * by the @authors tag. See the copyright.txt in the distribution for a
5 * full listing of individual contributors.
6 *
7 * This is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU Lesser General Public License as
9 * published by the Free Software Foundation; either version 2.1 of
10 * the License, or (at your option) any later version.
11 *
12 * This software is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this software; if not, write to the Free
19 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21 */

22 package org.jboss.management.j2ee.cluster;
23
24 /**
25  * MBean interface.
26  */

27 public interface HAManagementServiceMBean extends org.jboss.system.ServiceMBean
28 {
29
30    java.lang.Object JavaDoc getAttribute(javax.management.ObjectName JavaDoc pName, java.lang.String JavaDoc pAttribute)
31          throws javax.management.MBeanException JavaDoc, javax.management.AttributeNotFoundException JavaDoc,
32          javax.management.InstanceNotFoundException JavaDoc, javax.management.ReflectionException JavaDoc, java.rmi.RemoteException JavaDoc;
33
34    javax.management.AttributeList JavaDoc getAttributes(javax.management.ObjectName JavaDoc pName, java.lang.String JavaDoc[] pAttributes)
35          throws javax.management.InstanceNotFoundException JavaDoc, javax.management.ReflectionException JavaDoc,
36          java.rmi.RemoteException JavaDoc;
37
38    java.lang.String JavaDoc getDefaultDomain() throws java.rmi.RemoteException JavaDoc;
39
40    java.lang.Integer JavaDoc getMBeanCount() throws java.rmi.RemoteException JavaDoc;
41
42    javax.management.MBeanInfo JavaDoc getMBeanInfo(javax.management.ObjectName JavaDoc pName)
43          throws javax.management.IntrospectionException JavaDoc, javax.management.InstanceNotFoundException JavaDoc,
44          javax.management.ReflectionException JavaDoc, java.rmi.RemoteException JavaDoc;
45
46    javax.management.j2ee.ListenerRegistration JavaDoc getListenerRegistry() throws java.rmi.RemoteException JavaDoc;
47
48    java.lang.Object JavaDoc invoke(javax.management.ObjectName JavaDoc pName, java.lang.String JavaDoc pOperationName,
49          java.lang.Object JavaDoc[] pParams, java.lang.String JavaDoc[] pSignature) throws javax.management.InstanceNotFoundException JavaDoc,
50          javax.management.MBeanException JavaDoc, javax.management.ReflectionException JavaDoc, java.rmi.RemoteException JavaDoc;
51
52    boolean isRegistered(javax.management.ObjectName JavaDoc pName) throws java.rmi.RemoteException JavaDoc;
53
54    java.util.Set JavaDoc queryNames(javax.management.ObjectName JavaDoc pName, javax.management.QueryExp JavaDoc pQuery)
55          throws java.rmi.RemoteException JavaDoc;
56
57    void setAttribute(javax.management.ObjectName JavaDoc pName, javax.management.Attribute JavaDoc pAttribute)
58          throws javax.management.AttributeNotFoundException JavaDoc, javax.management.InstanceNotFoundException JavaDoc,
59          javax.management.InvalidAttributeValueException JavaDoc, javax.management.MBeanException JavaDoc,
60          javax.management.ReflectionException JavaDoc, java.rmi.RemoteException JavaDoc;
61
62    javax.management.AttributeList JavaDoc setAttributes(javax.management.ObjectName JavaDoc pName,
63          javax.management.AttributeList JavaDoc pAttributes) throws javax.management.InstanceNotFoundException JavaDoc,
64          javax.management.ReflectionException JavaDoc, java.rmi.RemoteException JavaDoc;
65
66    javax.management.ObjectInstance JavaDoc createMBean(java.lang.String JavaDoc pClass, javax.management.ObjectName JavaDoc pName,
67          java.lang.Object JavaDoc[] pParameters, java.lang.String JavaDoc[] pSignature)
68          throws javax.management.InstanceAlreadyExistsException JavaDoc, javax.management.MBeanException JavaDoc,
69          javax.management.MBeanRegistrationException JavaDoc, javax.management.NotCompliantMBeanException JavaDoc,
70          javax.management.ReflectionException JavaDoc, java.rmi.RemoteException JavaDoc;
71
72    void unregisterMBean(javax.management.ObjectName JavaDoc pName) throws javax.management.InstanceNotFoundException JavaDoc,
73          javax.management.MBeanRegistrationException JavaDoc, java.rmi.RemoteException JavaDoc;
74
75    void addNotificationListener(javax.management.ObjectName JavaDoc pBroadcaster, javax.management.ObjectName JavaDoc pListener,
76          javax.management.NotificationFilter JavaDoc pFilter, java.lang.Object JavaDoc pHandback)
77          throws javax.management.InstanceNotFoundException JavaDoc, java.rmi.RemoteException JavaDoc;
78
79    void removeNotificationListener(javax.management.ObjectName JavaDoc pBroadcaster, javax.management.ObjectName JavaDoc pListener)
80          throws javax.management.InstanceNotFoundException JavaDoc, javax.management.ListenerNotFoundException JavaDoc,
81          java.rmi.RemoteException JavaDoc;
82
83 }
84
Popular Tags