Enum SequenceManagerFactory

java.lang.Object
java.lang.Enum<SequenceManagerFactory>
com.sun.xml.ws.rx.rm.runtime.sequence.SequenceManagerFactory
All Implemented Interfaces:
Serializable, Comparable<SequenceManagerFactory>

public enum SequenceManagerFactory extends Enum<SequenceManagerFactory>
Author:
Marek Potociar (marek.potociar at sun.com)
  • Enum Constant Details

  • Method Details

    • values

      public static SequenceManagerFactory[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      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, com.sun.xml.ws.api.server.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
      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