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

java.lang.Object
  extended by com.sap.ip.me.api.sync.InboundProcessorRegistry

Deprecated. Generic sync has been replaced by MBO synchronization. This abstract class is only there for compatibility issues and will be removed in further releases of SAP NetWeaver Mobile Client

public 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

Method Summary
static InboundProcessorRegistry getInstance()
          Deprecated. Gets the one and only instance of the InboundProcessorRegistry class
 InboundProcessor getProcessor(java.lang.String methodName)
          Deprecated. Get Inbound processor instance for given method
 boolean isAlreadyInOutboundQueue(java.lang.String methodName, VisibilityType visibility)
          Deprecated. Checks if container for the given method already exists in the outbound queue for given visibility Type.
 boolean isRegistered(java.lang.String methodName)
          Deprecated. Returns true if given method is already registered, else false
 void register(InboundProcessor processor)
          Deprecated. 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
 

Method Detail

getInstance

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

Returns:
The InboundProcessorRegistry singleton

register

public void register(InboundProcessor processor)
Deprecated. 
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 boolean isRegistered(java.lang.String methodName)
Deprecated. 
Returns true if given method is already registered, else false

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

isAlreadyInOutboundQueue

public boolean isAlreadyInOutboundQueue(java.lang.String methodName,
                                        VisibilityType visibility)
Deprecated. 
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

getProcessor

public InboundProcessor getProcessor(java.lang.String methodName)
Deprecated. 
Get Inbound processor instance for given method

Parameters:
methodName - method name of inbound processor
Returns:
inbound processor instance or null if no inbound processor is defined