Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.adfnmc.bindings
Class OperationDelegateManager

java.lang.Object
  extended by oracle.adfnmc.bindings.OperationDelegateManager
All Implemented Interfaces:
OperationProvider

public class OperationDelegateManager
extends java.lang.Object
implements OperationProvider


Field Summary
protected static ImmutableCache s_odCache
           
 
Fields inherited from interface oracle.adfnmc.bindings.dbf.OperationProvider
CLASS_INSTANCE
 
Constructor Summary
OperationDelegateManager()
          This custom operation delegate manager is used by virtual (or absolute) data controls that required custom operations.
 
Method Summary
static void dumpCache()
          NOTE: Should only be used for low-level debugging purposes.
protected static ImmutableCache getCache()
           
 OperationDelegate getCustomOperation(java.lang.Object dc, java.lang.String id, java.lang.String op)
          Used by the Operation Provider to implement custom operations.
static void register(java.lang.String id, java.lang.String op, OperationDelegate od)
          Used to register a given operation delegate with the manager.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

s_odCache

protected static ImmutableCache s_odCache
Constructor Detail

OperationDelegateManager

public OperationDelegateManager()
This custom operation delegate manager is used by virtual (or absolute) data controls that required custom operations. Data controls only need to register their custom operations via the register method (i.e. no adf-config.xml entries or data provider methodDispatch methods)and the binding layer will take of the rest.

Method Detail

dumpCache

public static void dumpCache()
NOTE: Should only be used for low-level debugging purposes.


getCustomOperation

public OperationDelegate getCustomOperation(java.lang.Object dc,
                                            java.lang.String id,
                                            java.lang.String op)
Used by the Operation Provider to implement custom operations. NOTE: make sure you have an 'amc:setting' element in your adf-config.xml file i.e. <amc:setting name="bindings-custom-operation-provider" value="oracle.adfnmc.dc.xyz.XYZDataControlAdapter"/>

Specified by:
getCustomOperation in interface OperationProvider
Parameters:
dc - is the data control instance
id - is the id of the data control
op - is the name of the method to invoke
Returns:
the delegator for the method

register

public static void register(java.lang.String id,
                            java.lang.String op,
                            OperationDelegate od)
Used to register a given operation delegate with the manager.

Parameters:
id - is the id of the data control
op - is the name of the method to invoke
od - is the delegator for the method

getCache

protected static ImmutableCache getCache()

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

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