BpelEvent
Code IndexAdd Codota to your IDE (free)

Best code snippets using org.apache.ode.bpel.evt.BpelEvent(Showing top 5 results out of 315)

origin: org.jboss.soa.bpel/riftsaw-bpel-epr

public void onEvent(BpelEvent bpelEvent) {
  if (__log.isDebugEnabled()) {
    __log.debug(bpelEvent.toString());
  }

  if (_dumpToStdOut) {
    System.out.println(bpelEvent.toString());
  }
}
origin: org.jboss.soa.bpel/riftsaw-bpel-runtime

  public Date apply(BpelEvent x) {
    return x.getTimestamp();
  }
});
origin: org.jboss.soa.bpel/riftsaw-dao-jpa

public void insertBpelEvent(BpelEvent event, ProcessDAO process, ProcessInstanceDAO instance) {
  _txCtx.begin();
  EventDAOImpl eventDao = new EventDAOImpl();
  eventDao.setTstamp(new Timestamp(System.currentTimeMillis()));
  eventDao.setType(BpelEvent.eventName(event));
  String evtStr = event.toString();
  eventDao.setDetail(evtStr.substring(0, Math.min(254, evtStr.length())));
  if (process != null)
    eventDao.setProcess((ProcessDAOImpl) process);
  if (instance != null)
    eventDao.setInstance((ProcessInstanceDAOImpl) instance);
  if (event instanceof ScopeEvent)
    eventDao.setScopeId(((ScopeEvent) event).getScopeId());
  eventDao.setEvent(event);
  _em.persist(eventDao);
  _txCtx.commit();
}
origin: org.jboss.soa.bpel/riftsaw-bpel-api

public String toString() {
  StringBuilder sb = new StringBuilder("\n" + eventName(this) + ":");
  Method[] methods = getClass().getMethods();
  for (Method method : methods) {
    if (method.getName().startsWith("get") && method.getParameterTypes().length == 0) {
      try {
        String field = method.getName().substring(3);
        Object value = method.invoke(this, CollectionUtils.EMPTY_OBJECT_ARRAY);
        if (value == null) {
          continue;
        }
        sb.append("\n\t").append(field).append(" = ").append(value == null ? "null" : value.toString());
      } catch (Exception e) {
        // ignore
      }
    }
  }
  return sb.toString();
}
origin: org.jboss.soa.bpel/riftsaw-bpel-runtime

private void fillEventInfo(TEventInfo info, BpelEvent event) {
  info.setName(BpelEvent.eventName(event));
  info.setType(event.getType().toString());
  info.setLineNumber(event.getLineNo());
  info.setTimestamp(toCalendar(event.getTimestamp()));
  if (event instanceof ActivityEvent) {
    info.setActivityName(((ActivityEvent) event).getActivityName());
org.apache.ode.bpel.evtBpelEvent

Javadoc

Base interface for all bpel events.

Most used methods

  • eventName
  • toString
  • getLineNo
  • getTimestamp
  • getType

Popular classes and methods

  • getContentResolver (Context)
  • setRequestProperty (URLConnection)
    Sets the value of the specified request header field. The value will only be used by the current URL
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • ObjectMapper (com.fasterxml.jackson.databind)
    This mapper (or, data binder, or codec) provides functionality for converting between Java objects (
  • URI (java.net)
    Represents a Uniform Resource Identifier (URI) reference. Aside from some minor deviations noted bel
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • LinkedHashMap (java.util)
    Hash table implementation of the Map interface with predictable iteration order. [Sun docs] [http:/
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t

For IntelliJ IDEA,
Android Studio or Eclipse

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)