com.sun.xml.ws.rx.rm.runtime.sequence
Enum SequenceManagerFactory

java.lang.Object
  extended by java.lang.Enum<SequenceManagerFactory>
      extended by 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 Summary
INSTANCE
           
 
Method Summary
 SequenceManager createSequenceManager(boolean persistent, String uniqueEndpointId, DeliveryQueueBuilder inboundQueueBuilder, DeliveryQueueBuilder outboundQueueBuilder, RmConfiguration configuration, Container container, LocalIDManager localIDManager)
          Creates new SequenceManager instance.
 void dispose(SequenceManager manager, RmConfiguration configuration)
          Disposes the sequence manager properly and unregisters it from the ManagedOnjectManager
static SequenceManagerFactory valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SequenceManagerFactory[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INSTANCE

public static final SequenceManagerFactory INSTANCE
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


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.