com.sun.xml.ws.rx.rm.runtime.sequence
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)
INSTANCE
public static final SequenceManagerFactory INSTANCE
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 storageuniqueEndpointId - 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 sequencesoutboundQueueBuilder - delivery queue builder that will be used to create delivery queue for all newly created outbound sequencesmanagedObjectManager - 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.