com.sap.aii.af.service.administration.api

Class AdapterCapability

java.lang.Object
  extended by com.sap.aii.af.service.administration.api.AdapterCapability
All Implemented Interfaces:
Serializable

public class AdapterCapability
extends Object
implements Serializable

Provides an enumeration of adapter capabilities, i.e. features that an adapter supports.

The adapter capabilities are passed on to the Adapter Framework during an adapter's registration using the AdapterRegistry.registerAdapter method.

Version:
$Id: //tc/xpi.af/NW711_03_COR/src/_af_service/psrv/api/com/sap/aii/af/service/administration/api/AdapterCapability.java#1 $
See Also:
AdapterRegistry, Serialized Form

Field Summary
static AdapterCapability[] NONE
          Specifies that the adapter does not support any special capabilities.
static AdapterCapability PUSH_CHANNEL_STATUS
          Indicates that the adapter reports channel state transitions by invoking the MonitoringManager.reportChannelStatus method.
static AdapterCapability PUSH_PROCESS_STATUS
          Indicates that the adapter reports process state transitions by invoking the MonitoringManager.reportProcessStatus method.
 
Method Summary
protected  Object readResolve()
          Used internally to enforce enum pattern after object de-serialization.
 String toString()
          Converts this object into a string representation.
static AdapterCapability valueOf(String capability)
          Converts an AdapterCapability's string representation into an object instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final AdapterCapability[] NONE
Specifies that the adapter does not support any special capabilities.


PUSH_CHANNEL_STATUS

public static final AdapterCapability PUSH_CHANNEL_STATUS
Indicates that the adapter reports channel state transitions by invoking the MonitoringManager.reportChannelStatus method.

See Also:
MonitoringManager

PUSH_PROCESS_STATUS

public static final AdapterCapability PUSH_PROCESS_STATUS
Indicates that the adapter reports process state transitions by invoking the MonitoringManager.reportProcessStatus method.

See Also:
MonitoringManager
Method Detail

toString

public String toString()
Converts this object into a string representation.

Overrides:
toString in class Object
Returns:
the AdapterCapability's string representation

valueOf

public static AdapterCapability valueOf(String capability)
Converts an AdapterCapability's string representation into an object instance.

Parameters:
capability - the capability's string representation
Returns:
the capability instance

readResolve

protected Object readResolve()
                      throws ObjectStreamException
Used internally to enforce enum pattern after object de-serialization.

Throws:
ObjectStreamException


Copyright 2009 SAP AG Complete Copyright Notice