Oracle Fusion Middleware User Messaging Service 11.1.1.6.0 Java API Reference
E14011-04

oracle.sdp.messaging.driver
Enum CapabilityType

java.lang.Object
  extended by java.lang.Enum<CapabilityType>
      extended by oracle.sdp.messaging.driver.CapabilityType
All Implemented Interfaces:
Serializable, java.lang.Comparable<CapabilityType>

public enum CapabilityType
extends java.lang.Enum<CapabilityType>

Enumeration of Driver capability types.

Since:
11.0.0

Enum Constant Summary
BOTH
          Indicates both SEND (outbound message) and RECEIVE (inbound message) capability.
RECEIVE
          Indicates RECEIVE (inbound message) only capability.
SEND
          Indicates SEND (outbound message) only capability.
 
Method Summary
static CapabilityType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CapabilityType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BOTH

public static final CapabilityType BOTH
Indicates both SEND (outbound message) and RECEIVE (inbound message) capability.


RECEIVE

public static final CapabilityType RECEIVE
Indicates RECEIVE (inbound message) only capability.


SEND

public static final CapabilityType SEND
Indicates SEND (outbound message) only capability.

Method Detail

valueOf

public static CapabilityType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

values

public static CapabilityType[] 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 (CapabilityType c : CapabilityType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

Oracle Fusion Middleware User Messaging Service 11.1.1.6.0 Java API Reference
E14011-04

Copyright © 2009, 2011 Oracle and/or its affiliates. All rights reserved.