com.sap.ip.me.api.sync
Class InboundProcessorRegistry

java.lang.Object
  extended bycom.sap.ip.me.api.sync.InboundProcessorRegistry

public abstract class InboundProcessorRegistry
extends java.lang.Object

Central instance that implements a registry for all inbound processors. Each inbound processor must be registered before it cann be called by the framework

Author:
SAP

Constructor Summary
InboundProcessorRegistry()
           
 
Method Summary
static InboundProcessorRegistry getInstance()
          Gets the one and only instance of the InboundProcessorRegistry class
abstract  boolean isAlreadyInOutboundQueue(java.lang.String methodName, VisibilityType visibility)
          Checks if container for the given method already exists in the outbound queue for given visibility Type.
abstract  boolean isRegistered(java.lang.String methodName)
          Returns true if given method is already registered, else false
abstract  void register(InboundProcessor processor)
          Registers the given processor in the framework registry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InboundProcessorRegistry

public InboundProcessorRegistry()
Method Detail

getInstance

public static InboundProcessorRegistry getInstance()
Gets the one and only instance of the InboundProcessorRegistry class

Returns:
The InboundProcessorRegistry singleton

register

public abstract void register(InboundProcessor processor)
Registers the given processor in the framework registry. After registration all inbound container instances will be passed to processor with the same method as defined in the inbound container

Parameters:
processor - Any Object which is able to process inbound containers related to particular method

isRegistered

public abstract boolean isRegistered(java.lang.String methodName)
Returns true if given method is already registered, else false

Parameters:
methodName - Name of method
Returns:
The registered value

isAlreadyInOutboundQueue

public abstract boolean isAlreadyInOutboundQueue(java.lang.String methodName,
                                                 VisibilityType visibility)
Checks if container for the given method already exists in the outbound queue for given visibility Type.

Parameters:
methodName - Name of the method
visibility - Detzermines if the check should be done in the s shared or separated outbound queue.
Returns:
True if container for given method name already exists in the outbound queue


Copyright © 2005 SAP AG. All Rights Reserved.