org.apache.sling.event.impl.jobs.jmx
Class QueuesMBeanImpl

java.lang.Object
  extended by javax.management.StandardMBean
      extended by javax.management.StandardEmitterMBean
          extended by org.apache.sling.event.impl.jobs.jmx.QueuesMBeanImpl
All Implemented Interfaces:
DynamicMBean, MBeanRegistration, NotificationBroadcaster, NotificationEmitter, QueuesMBean

@Service(value=QueuesMBean.class)
@Property(name="jmx.objectname",
          value="org.apache.sling:type=queues,name=QueueNames")
public class QueuesMBeanImpl
extends StandardEmitterMBean
implements QueuesMBean


Constructor Summary
QueuesMBeanImpl()
           
 
Method Summary
 void activate(org.osgi.framework.BundleContext bc)
           
 void deactivate()
           
 String[] getQueueNames()
           
 void sendEvent(QueueStatusEvent e)
           
 
Methods inherited from class javax.management.StandardEmitterMBean
addNotificationListener, getNotificationInfo, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class javax.management.StandardMBean
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueuesMBeanImpl

public QueuesMBeanImpl()
Method Detail

activate

@Activate
public void activate(org.osgi.framework.BundleContext bc)

deactivate

@Deactivate
public void deactivate()

sendEvent

public void sendEvent(QueueStatusEvent e)

getQueueNames

public String[] getQueueNames()
Specified by:
getQueueNames in interface QueuesMBean


Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.