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

E17503-02

oracle.adfnmc.bindings.dbf
Class BindingContext

java.lang.Object
  extended by oracle.adfnmc.java.util.AbstractMap
      extended by oracle.adfnmc.java.util.HashMap
          extended by oracle.adfnmc.bindings.dbf.BindingContext
All Implemented Interfaces:
Serializable, Cloneable, Map

public final class BindingContext
extends HashMap


Field Summary
static java.lang.Class CLASS_INSTANCE
           
 
Constructor Summary
BindingContext()
           
 
Method Summary
 java.lang.Object get(java.lang.Object key)
          This override attempts to get a BindingContainer given a usageId key.
static java.lang.String getBindingContainerVariableName()
           
 BindingContainer getCurrentContainer()
           
static DataControl getDataControl(java.lang.String dataControlId)
           
 DCErrorHandler getErrorHandler()
          Gets the registered error handler for the application.
static BindingContext getInstance()
          static singleton accessor
 JboExceptionHandler getJboExceptionHandler()
           
 OperationProvider getOperationProvider()
          Gets the custom operation delegate factory object for the application.
static void Init()
          Idempotent entry point for application bindings initialization.
 void pageChanged(java.lang.String pageIdentifier)
          Get the BindingContainer that corresponds to page identifier, and set it as the current container in the BindingContext.
 void pageChanged(java.lang.String pageIdentifier, PhaseEventSource phaseEventSource)
          Get the BindingContainer that corresponds to page identifier, and set it as the current container in the BindingContext.
 void setCurrentContainer(BindingContainerImpl value)
           
 void setErrorHandler(DCErrorHandler errHandler)
          Sets the error handler for this application.
 void setOperationProvider(OperationProvider provider)
          Sets the custom operation delegate factory for this application.
static void Shutdown()
          Idempotent entry point for application bindings shutdown.
 
Methods inherited from class oracle.adfnmc.java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, isEmpty, keySet, put, putAll, putAll, remove, size, values
 
Methods inherited from class oracle.adfnmc.java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface oracle.adfnmc.java.util.Map
equals, hashCode
 

Field Detail

CLASS_INSTANCE

public static final java.lang.Class CLASS_INSTANCE
Constructor Detail

BindingContext

public BindingContext()
Method Detail

getInstance

public static final BindingContext getInstance()
static singleton accessor

Returns:
Application's instance of the BindingContext

getBindingContainerVariableName

public static java.lang.String getBindingContainerVariableName()

getDataControl

public static DataControl getDataControl(java.lang.String dataControlId)

Init

public static final void Init()
                       throws java.lang.Exception
Idempotent entry point for application bindings initialization.

Throws:
java.lang.Exception

Shutdown

public static final void Shutdown()
                           throws java.lang.Exception
Idempotent entry point for application bindings shutdown.

Throws:
java.lang.Exception

get

public java.lang.Object get(java.lang.Object key)
This override attempts to get a BindingContainer given a usageId key. The key must already be in the map - this is initialized from metadata/genereated init code. If the key is associated with an uninitialized value, a new BindingContainer is created and initialized for that key.

Specified by:
get in interface Map
Overrides:
get in class HashMap
Parameters:
key - the key
Returns:
the value of the mapping with the specified key

getCurrentContainer

public BindingContainer getCurrentContainer()

setCurrentContainer

public void setCurrentContainer(BindingContainerImpl value)

getErrorHandler

public DCErrorHandler getErrorHandler()
Gets the registered error handler for the application.

Returns:

setErrorHandler

public void setErrorHandler(DCErrorHandler errHandler)
Sets the error handler for this application.

Parameters:
errHandler -

getJboExceptionHandler

public JboExceptionHandler getJboExceptionHandler()

getOperationProvider

public OperationProvider getOperationProvider()
Gets the custom operation delegate factory object for the application.

Returns:

setOperationProvider

public void setOperationProvider(OperationProvider provider)
Sets the custom operation delegate factory for this application.

Parameters:
provider -

pageChanged

public void pageChanged(java.lang.String pageIdentifier)
                 throws java.lang.Exception
Get the BindingContainer that corresponds to page identifier, and set it as the current container in the BindingContext.

Parameters:
pageIdentifier -
Throws:
java.lang.Exception

pageChanged

public void pageChanged(java.lang.String pageIdentifier,
                        PhaseEventSource phaseEventSource)
                 throws java.lang.Exception
Get the BindingContainer that corresponds to page identifier, and set it as the current container in the BindingContext.

Parameters:
pageIdentifier -
phaseEventSource - - if param is non-null, the corresponding BindingContainer is added as a listener
Throws:
java.lang.Exception

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.