Interface RhinoInitialEventSelector

  • All Superinterfaces:
    InitialEventSelector

    public interface RhinoInitialEventSelector
    extends InitialEventSelector

    An extension of the JAIN SLEE-defined interface that provides access to Rhino-specific features.

    All InitialEventSelector objects that Rhino provides SBBs will implement this extension interface, therefore a typecast to this interface will always succeed.

    Since:
    Rhino 2.6.1
    • Method Detail

      • setCreatesNewRootSbbEntity

        void setCreatesNewRootSbbEntity​(boolean createNewRootSbbEntity)

        Set the flag indicating whether or not this initial event will cause the creation of a new SBB entity. This flag only has any meaning if InitialEventSelector.isInitialEvent() returns true. If isInitialEvent returns false, the value of this flag is ignored.

        If the event is an initial event and would create a new SBB entity, rather than be delivered to an existing SBB entity, the SBB object can set this flag to true to eliminate the SBB entity lookup by convergence name that normally occurs during initial event processing. If an SBB sets this flag to true and an SBB entity with the same convergence already exists, then a duplicate key error will occur when the event processing transaction attempts to commit and the transaction will roll back.

        Parameters:
        createNewRootSbbEntity - flag indicating whether or not this event, if it is an initial event, will create a new SBB entity rather than be delivered to an existing SBB entity.
        Since:
        Rhino 2.6.1
      • createsNewRootSbbEntity

        boolean createsNewRootSbbEntity()

        Determine if this event, if it is an initial event, is reported to create a new SBB entity rather than be delivered to an existing SBB entity. The default value for this flag is false.

        Returns:
        true if this event would create a new SBB entity, false otherwise.
        Since:
        Rhino 2.6.1