Examples of EventInfo


Examples of org.apache.felix.webconsole.plugins.event.internal.EventInfo

                break;
            default:
                return null; // IGNORE
        }

        return new EventInfo(topic.toString(), buffer.toString(), "config");
    }
View Full Code Here

Examples of org.apache.felix.webconsole.plugins.event.internal.EventInfo

                break;
            default:
                return null; // IGNORE
        }

        return new EventInfo(topic.toString(), buffer.toString(), "bundle");
    }
View Full Code Here

Examples of org.apache.ode.bpel.pmapi.TInstanceInfo.EventInfo

        return listEvents("iid="+iid,"timestamp>="+startdt +" " +"timestamp<="+enddt,0);
    }

    public int getEventCount(final Long iid) throws ManagementException {
        EventInfo einfo = getInstanceInfo(iid).getInstanceInfo().getEventInfo();
        if (einfo == null)
            return 0;
        return einfo.getCount();
    }
View Full Code Here

Examples of org.apache.ode.bpel.pmapi.TInstanceInfo.EventInfo

        return listEvents("iid="+iid,"timestamp>="+startdt +" " +"timestamp<="+enddt,0);
    }

    public int getEventCount(final Long iid) throws ManagementException {
        EventInfo einfo = getInstanceInfo(iid).getInstanceInfo().getEventInfo();
        if (einfo == null)
            return 0;
        return einfo.getCount();
    }
View Full Code Here

Examples of org.apache.sling.event.impl.AbstractRepositoryEventHandler.EventInfo

    public EventInfo waitForFinish() throws InterruptedException {
        this.isWaiting = true;
        this.markForCleanUp = false;
        this.lock.wait();
        this.isWaiting = false;
        final EventInfo object = this.eventInfo;
        this.eventInfo = null;
        return object;
    }
View Full Code Here

Examples of org.gatein.pc.api.info.EventInfo

            //
            PortletInfo info = container.getInfo();
            EventingInfo eventingInfo = info.getEventing();
            Map<QName, ? extends EventInfo> consumedEventInfos = eventingInfo.getConsumedEvents();
            EventInfo eventInfo = consumedEventInfos.get(eventName);

            //
            if (trace)
            {
               log.trace("Attempt to obtain for event " + eventName + " its payload class " + srcPayloadClassName + " in the application " + applicationId +
                  " for portlet " + container.getInfo());
            }

            //
            Class dstPayloadClass = null;
            if (eventInfo != null)
            {
               ContainerTypeInfo typeInfo = (ContainerTypeInfo)eventInfo.getType();

               //
               if (typeInfo != null)
               {
                  dstPayloadClass = typeInfo.getType();
View Full Code Here

Examples of org.gatein.pc.api.info.EventInfo

         this.eventDescriptions = new HashMap<QName, EventInfo>(eventDescriptions.size());

         for (final EventDescription event : eventDescriptions)
         {
            QName name = event.getName();
            EventInfo eventInfo = new WSRPEventInfo(
               name,
               WSRPUtils.convertToCommonLocalizedStringOrNull(event.getLabel()),
               WSRPUtils.convertToCommonLocalizedStringOrNull(event.getDescription()),
               new TypeInfo()
               {
View Full Code Here

Examples of org.gatein.pc.api.info.EventInfo

      if (!events.isEmpty())
      {
         produced = new HashMap<QName, EventInfo>(events.size());
         for (QName event : events)
         {
            EventInfo desc = originatingProducer.getInfoForEvent(event);
            produced.put(event, desc);
         }
      }

      events = portletDescription.getHandledEvents();
      if (!events.isEmpty())
      {
         consumed = new HashMap<QName, EventInfo>(events.size());
         for (QName event : events)
         {
            EventInfo desc = originatingProducer.getInfoForEvent(event);
            consumed.put(event, desc);
         }
      }

      return new WSRPEventingInfo(produced, consumed);
View Full Code Here

Examples of org.gatein.pc.api.info.EventInfo

            // get the event metadata from the portlet metadata
            PortletInfo info = container.getInfo();
            EventingInfo eventingInfo = info.getEventing();
            Map<QName, ? extends EventInfo> consumedEventInfos = eventingInfo.getConsumedEvents();
            EventInfo eventInfo = consumedEventInfos.get(eventName);

            Class dstPayloadClass;
            if (eventInfo != null)
            {
               // get the type of the event
               ContainerTypeInfo typeInfo = (ContainerTypeInfo)eventInfo.getType();

               if (typeInfo != null)
               {
                  // if we managed to get the event type information, try to unmarshall the event from the XML payload
                  dstPayloadClass = typeInfo.getType();
View Full Code Here

Examples of org.gatein.pc.api.info.EventInfo

         this.eventDescriptions = new HashMap<QName, EventInfo>(eventDescriptions.size());

         for (final EventDescription event : eventDescriptions)
         {
            QName name = event.getName();
            EventInfo eventInfo = new WSRPEventInfo(
               name,
               WSRPUtils.convertToCommonLocalizedStringOrNull(event.getLabel()),
               WSRPUtils.convertToCommonLocalizedStringOrNull(event.getDescription()),
               new TypeInfo()
               {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.