GigaSpaces XAP 9.5 API

org.openspaces.pu.container.servicegrid.jmxs
Class SecuredPUExtension

java.lang.Object
  extended by org.openspaces.pu.container.servicegrid.jmxs.SecuredPUExtension
All Implemented Interfaces:
MBeanRegistration, NotificationBroadcaster, NotificationEmitter, SecuredPUExtensionMBean

public class SecuredPUExtension
extends Object
implements MBeanRegistration, NotificationEmitter, SecuredPUExtensionMBean

Secured PU JMX MBean implementation

Author:
Moran Avigdor

Constructor Summary
SecuredPUExtension(Object mbean)
           
 
Method Summary
 void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)
           
 String[] getLookupGroups()
          Get the discovery groups
 MBeanNotificationInfo[] getNotificationInfo()
           
 Date getStarted()
          Get the Date the ServiceBean was started
 void postDeregister()
           
 void postRegister(Boolean registrationDone)
           
 void preDeregister()
           
 ObjectName preRegister(MBeanServer server, ObjectName name)
           
 void removeNotificationListener(NotificationListener listener)
           
 void removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecuredPUExtension

public SecuredPUExtension(Object mbean)
Method Detail

postDeregister

public void postDeregister()
Specified by:
postDeregister in interface MBeanRegistration

postRegister

public void postRegister(Boolean registrationDone)
Specified by:
postRegister in interface MBeanRegistration

preDeregister

public void preDeregister()
                   throws Exception
Specified by:
preDeregister in interface MBeanRegistration
Throws:
Exception

preRegister

public ObjectName preRegister(MBeanServer server,
                              ObjectName name)
                       throws Exception
Specified by:
preRegister in interface MBeanRegistration
Throws:
Exception

addNotificationListener

public void addNotificationListener(NotificationListener listener,
                                    NotificationFilter filter,
                                    Object handback)
                             throws IllegalArgumentException
Specified by:
addNotificationListener in interface NotificationBroadcaster
Throws:
IllegalArgumentException

getNotificationInfo

public MBeanNotificationInfo[] getNotificationInfo()
Specified by:
getNotificationInfo in interface NotificationBroadcaster

removeNotificationListener

public void removeNotificationListener(NotificationListener listener)
                                throws ListenerNotFoundException
Specified by:
removeNotificationListener in interface NotificationBroadcaster
Throws:
ListenerNotFoundException

removeNotificationListener

public void removeNotificationListener(NotificationListener listener,
                                       NotificationFilter filter,
                                       Object handback)
                                throws ListenerNotFoundException
Specified by:
removeNotificationListener in interface NotificationEmitter
Throws:
ListenerNotFoundException

getLookupGroups

public String[] getLookupGroups()
Description copied from interface: SecuredPUExtensionMBean
Get the discovery groups

Specified by:
getLookupGroups in interface SecuredPUExtensionMBean

getStarted

public Date getStarted()
Description copied from interface: SecuredPUExtensionMBean
Get the Date the ServiceBean was started

Specified by:
getStarted in interface SecuredPUExtensionMBean

GigaSpaces XAP 9.5 API

Copyright © GigaSpaces.