org.jboss.management.j2ee
Class RMI_IIOPResource

java.lang.Object
  extended by org.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended by org.jboss.management.j2ee.J2EEManagedObject
          extended by org.jboss.management.j2ee.J2EEResource
              extended by org.jboss.management.j2ee.RMI_IIOPResource
All Implemented Interfaces:
javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, EventProvider, J2EEManagedObjectMBean, J2EEResourceMBean, RMI_IIOPResourceMBean

public class RMI_IIOPResource
extends J2EEResource
implements RMI_IIOPResourceMBean

Root class of the JBoss JSR-77 implementation of RMI_IIOPResource. AS Currently CorbaORBService does not support to be restarted therefore no manageability

Version:
$Revision: 1.11.6.4 $
Author:
Andreas Schaefer, Dimitris Andreadis

Field Summary
 
Fields inherited from class org.jboss.management.j2ee.J2EEManagedObject
NAME, server, TYPE
 
Constructor Summary
RMI_IIOPResource(String resName, javax.management.ObjectName pServer, javax.management.ObjectName corbaServiceName)
           
 
Method Summary
static javax.management.ObjectName create(javax.management.MBeanServer mbeanServer, String resName, javax.management.ObjectName corbaServiceName)
           
static void destroy(javax.management.MBeanServer mbeanServer, String resName)
           
 String getEventType(int pIndex)
          Returns the given Type of Events it emits according to its index in the list
 String[] getEventTypes()
           
 void postCreation()
           
 void preDestruction()
           
 String toString()
           
 
Methods inherited from class org.jboss.management.j2ee.J2EEResource
getParentKeys
 
Methods inherited from class org.jboss.management.j2ee.J2EEManagedObject
addChild, getLog, getNextNotificationSequenceNumber, getobjectName, getObjectName, getparent, getServer, getType, getType, iseventProvider, isstateManageable, isstatisticsProvider, newObjectName, postDeregister, postRegister, preDeregister, preRegister, removeChild, removeObject, removeObject, sendNotification, setparent
 
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.management.j2ee.J2EEManagedObjectMBean
addChild, getobjectName, getparent, iseventProvider, isstateManageable, isstatisticsProvider, removeChild, setparent
 

Constructor Detail

RMI_IIOPResource

public RMI_IIOPResource(String resName,
                        javax.management.ObjectName pServer,
                        javax.management.ObjectName corbaServiceName)
                 throws javax.management.MalformedObjectNameException,
                        InvalidParentException
Parameters:
pName - Name of the RMI_IIOPResource
Throws:
InvalidParameterException - If list of nodes or ports was null or empty
javax.management.MalformedObjectNameException
InvalidParentException
Method Detail

create

public static javax.management.ObjectName create(javax.management.MBeanServer mbeanServer,
                                                 String resName,
                                                 javax.management.ObjectName corbaServiceName)

destroy

public static void destroy(javax.management.MBeanServer mbeanServer,
                           String resName)

getEventTypes

public String[] getEventTypes()
Specified by:
getEventTypes in interface EventProvider
Returns:
The actual list of Types of Events this Managed Object emits. The list is never null nor empty

getEventType

public String getEventType(int pIndex)
Description copied from interface: EventProvider
Returns the given Type of Events it emits according to its index in the list

Specified by:
getEventType in interface EventProvider
Parameters:
pIndex - Index of the requested Event Type
Returns:
Event Type if given Index is within the boundaries otherwise null

postCreation

public void postCreation()
Overrides:
postCreation in class J2EEManagedObject

preDestruction

public void preDestruction()
Overrides:
preDestruction in class J2EEManagedObject

toString

public String toString()
Overrides:
toString in class J2EEManagedObject


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.