Class InternalChannelDef

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static InternalChannelDef create​(java.lang.Class type, java.lang.String name)
      iWF will verify if the name has been registered for the internal channel created using this method, allowing users to create only one internal channel with the same name and type.
      static InternalChannelDef createByPrefix​(java.lang.Class type, java.lang.String namePrefix)
      iWF now supports dynamically created internal channels with a shared name prefix and the same type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InternalChannelDef

        public InternalChannelDef()
    • Method Detail

      • create

        public static InternalChannelDef create​(java.lang.Class type,
                                                java.lang.String name)
        iWF will verify if the name has been registered for the internal channel created using this method, allowing users to create only one internal channel with the same name and type.
        Parameters:
        type - required.
        name - required. The unique name.
        Returns:
        an internal channel definition
      • createByPrefix

        public static InternalChannelDef createByPrefix​(java.lang.Class type,
                                                        java.lang.String namePrefix)
        iWF now supports dynamically created internal channels with a shared name prefix and the same type. (E.g., dynamically created internal channels of type String can be named with a common prefix like: internal_channel_prefix_1: "one", internal_channel_prefix_2: "two") iWF will verify if the prefix has been registered for internal channels created using this method, allowing users to create multiple internal channels with the same name prefix and type.
        Parameters:
        type - required.
        namePrefix - required. The common name prefix of a set of internal channels to be created later.
        Returns:
        an internal channel definition