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 Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SequenceManagercreateSequenceManager(boolean persistent, String uniqueEndpointId, DeliveryQueueBuilder inboundQueueBuilder, DeliveryQueueBuilder outboundQueueBuilder, RmConfiguration configuration, Container container, LocalIDManager localIDManager)Creates newSequenceManagerinstance.voiddispose(SequenceManager manager, RmConfiguration configuration)Disposes the sequence manager properly and unregisters it from the ManagedOnjectManagerstatic SequenceManagerFactoryvalueOf(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.
-
-
-
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 nameNullPointerException- if the argument is null
-
createSequenceManager
public SequenceManager createSequenceManager(boolean persistent, String uniqueEndpointId, DeliveryQueueBuilder inboundQueueBuilder, DeliveryQueueBuilder outboundQueueBuilder, RmConfiguration configuration, Container container, LocalIDManager localIDManager)
Creates newSequenceManagerinstance. This operation should be called only once per endpoint and/or endpoint client.- Parameters:
persistent- specifies whether returnedSequenceManagerinstance 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 sequences- Returns:
- newly created
SequenceManagerinstance
-
dispose
public void dispose(SequenceManager manager, RmConfiguration configuration)
Disposes the sequence manager properly and unregisters it from the ManagedOnjectManager- Parameters:
manager-SequenceManagerinstance to be disposed
-
-