Package org.openbp.core.handler

Examples of org.openbp.core.handler.HandlerDefinition


   */
  public CustomModelObjectConfiguratorDescriptor checkAppliance(ModelObject mo)
  {
    if (mo instanceof ActivityNode)
    {
      HandlerDefinition handler = ((ActivityNode) mo).getActivityHandlerDefinition();

      String className = handler.getHandlerClassName();
      if (className != null && ! className.contains("." + CoreConstants.SYSTEM_MODEL_NAME.toLowerCase() + "."))
      {
        int i = className.lastIndexOf('.');
        if (i >= 0)
        {
View Full Code Here


   * Default constructor.
   */
  public JavaActivityItemImpl()
  {
    super();
    setHandlerDefinition(new HandlerDefinition());
  }
View Full Code Here

      return;
    super.copyFrom(source, copyMode);

    JavaActivityItemImpl src = (JavaActivityItemImpl) source;

    setHandlerDefinition(new HandlerDefinition());
    handlerDefinition.copyFrom(src.handlerDefinition, Copyable.COPY_DEEP);
    handlerDefinition.setOwner(this);
  }
View Full Code Here

   * Default constructor.
   */
  public ActivityNodeImpl()
  {
    activityItemType = ItemTypes.ACTIVITY;
    setActivityHandlerDefinition(new HandlerDefinition());
  }
View Full Code Here

    ActivityNodeImpl src = (ActivityNodeImpl) source;

    // Copy member data
    activityItemType = src.activityItemType;

    setActivityHandlerDefinition(new HandlerDefinition());
    activityHandlerDefinition.copyFrom(src.activityHandlerDefinition, Copyable.COPY_DEEP);
    activityHandlerDefinition.setOwner(this);
  }
View Full Code Here

    }
    setName(newName);

    if (ai instanceof JavaActivityItem)
    {
      setActivityHandlerDefinition(new HandlerDefinition());
      try
      {
        activityHandlerDefinition.copyFrom(((JavaActivityItem) ai).getHandlerDefinition(), Copyable.COPY_DEEP);
      }
      catch (CloneNotSupportedException e)
View Full Code Here

    {
      item.setName(getName());
    }
    if (ai instanceof JavaActivityItem)
    {
      HandlerDefinition aiHandler = new HandlerDefinition();
      ((JavaActivityItem) ai).setHandlerDefinition(aiHandler);
      try
      {
        aiHandler.copyFrom(getActivityHandlerDefinition(), Copyable.COPY_DEEP);
      }
      catch (CloneNotSupportedException e)
      {
        // Doesn't happen
      }
      aiHandler.setOwner(ai);
    }

    // Copy the sockets
    ai.clearSockets();
    for (Iterator it = getSockets(); it.hasNext();)
View Full Code Here

  /**
   * Default constructor.
   */
  public NodeImpl()
  {
    setEventHandlerDefinition(new HandlerDefinition());
  }
View Full Code Here

    queueType = src.queueType;
    geometry = src.geometry;
    process = src.process;

    setEventHandlerDefinition(new HandlerDefinition());
    eventHandlerDefinition.copyFrom(src.eventHandlerDefinition, Copyable.COPY_DEEP);
    eventHandlerDefinition.setOwner(this);
  }
View Full Code Here

TOP

Related Classes of org.openbp.core.handler.HandlerDefinition

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.