Package org.apache.qpid.management.jmx

Examples of org.apache.qpid.management.jmx.EntityLifecycleNotification


        } finally
        {
            _service.close();
        }               
       
         EntityLifecycleNotification notification = new EntityLifecycleNotification(
               EntityLifecycleNotification.SCHEMA_REQUESTED_NOTIFICATION_TYPE,
               _parent.getName(),
               _name,
               Names.CLASS,
               _objectName);
View Full Code Here


        QManManagedObject toBeRemoved = _objectInstances.remove(objectId);
        if (toBeRemoved != null)
        {
            ObjectName objectName = JMX_SERVICE.unregisterObjectInstance(_parent.getOwnerId(),_parent.getName(),_name,toBeRemoved._objectId);
           
          EntityLifecycleNotification notification = new EntityLifecycleNotification(
           EntityLifecycleNotification.INSTANCE_REMOVED_NOTIFICATION_TYPE,
           _parent.getName(),
           _name,
           Names.CLASS,
           objectName);
View Full Code Here

            String className,
            Binary objectId)
    {
       ObjectName objectName = JMX_SERVICE.registerObjectInstance(instance,_parent.getOwnerId(),_parent.getName(),_name,objectId);
      
       EntityLifecycleNotification notification = new EntityLifecycleNotification(
           EntityLifecycleNotification.INSTANCE_ADDED_NOTIFICATION_TYPE,
           packageName,
           className,
           Names.CLASS,
           objectName);
View Full Code Here

      String packageName,
      String eventClassName)
  {
    ObjectName objectName = JMX_SERVICE.registerEventInstance(instance,brokerId,packageName,eventClassName);
   
      EntityLifecycleNotification notification = new EntityLifecycleNotification(
       EntityLifecycleNotification.INSTANCE_ADDED_NOTIFICATION_TYPE,
       packageName,
       eventClassName,
       Names.EVENT,
       objectName);
View Full Code Here

        } finally
        {
            _service.close();
        }               
       
         EntityLifecycleNotification notification = new EntityLifecycleNotification(
               EntityLifecycleNotification.SCHEMA_REQUESTED_NOTIFICATION_TYPE,
               _parent.getName(),
               _name,
               Names.CLASS,
               _objectName);
View Full Code Here

   * @param name the name of the event source.
   */
  private void sendNotification(String type,ObjectName name)
  {
    sendNotification(
        new EntityLifecycleNotification(
            type,
            PACKAGE_NAME,
            QUEUE,
            Names.CLASS,
            name));
View Full Code Here

TOP

Related Classes of org.apache.qpid.management.jmx.EntityLifecycleNotification

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.