Enum SequenceManagerFactory

    • Method Detail

      • values

        public static SequenceManagerFactory[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SequenceManagerFactory c : SequenceManagerFactory.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SequenceManagerFactory valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • createSequenceManager

        public SequenceManager createSequenceManager​(boolean persistent,
                                                     String uniqueEndpointId,
                                                     DeliveryQueueBuilder inboundQueueBuilder,
                                                     DeliveryQueueBuilder outboundQueueBuilder,
                                                     RmConfiguration configuration,
                                                     Container container,
                                                     LocalIDManager localIDManager)
        Creates new SequenceManager instance. This operation should be called only once per endpoint and/or endpoint client.
        Parameters:
        persistent - specifies whether returned SequenceManager instance should support persistent message storage
        uniqueEndpointId - unique identifier of the WS endpoint for which this particular sequence manager will be used. The endpoint identifier must be different for the client and for the server side.
        inboundQueueBuilder - delivery queue builder that will be used to create delivery queue for all newly created inbound sequences
        outboundQueueBuilder - delivery queue builder that will be used to create delivery queue for all newly created outbound sequences
        managedObjectManager - object manager managing the newly created SequenceManager instance
        Returns:
        newly created SequenceManager instance
      • dispose

        public void dispose​(SequenceManager manager,
                            RmConfiguration configuration)
        Disposes the sequence manager properly and unregisters it from the ManagedOnjectManager
        Parameters:
        manager - SequenceManager instance to be disposed