|
Oracle Fusion Middleware Java API Reference for Oracle ADF Controller 11g Release 1 (11.1.1.1.0) E10651-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.adf.controller.config.ControllerConfig
public class ControllerConfig
Provides access to the initialization parameters for ADF Controller.
The parameters are specified inside adf-config.xml.
For example
<adf-config xmlns:xsi="www.w3.org/2001/XMLSchema-instance"   xsi:schemaLocation=" http://xmlns.oracle.com/adf/config   ../../../../../bc4jrt/src/oracle/adf/share/config/schema/config.xsd"   xmlns="http://xmlns.oracle.com/adf/config"   xmlns:mdsC="http://xmlns.oracle.com/adf/mds/config"   xmlns:adfc="http://xmlns.oracle.com/adf/controller/config"   xmlns:sec="http://xmlns.oracle.com/adf/security/config">   <adfc:adf-controller-config>   <adfc:savepoint-manager>DATABASE</adfc:savepoint-manager>   <adfc:savepoint-datasource>jdbc/Connection1DS</adfc:savepoint-datasource>   <adfc:enable-implicit-savepoints>true</adfc:enable-implicit-savepoints>   <adfc:max-snapshot-history>50</adfc:max-snapshot-history>   <adfc:lifecycle>   <adfc:phase-listener>   <adfc:listener-id>Dave</adfc:listener-id>   <adfc:class>test.myPhaseListener</adfc:class>   <adfc:after-id-set>   <adfc:listener-id>Adam</adfc:listener-id>   <adfc:listener-id>Blake</adfc:listener-id>   </adfc:after-id-set>   <adfc:before-id-set>   <adfc:listener-id>Ted</adfc:listener-id>   <adfc:listener-id>Chris</adfc:listener-id>   <adfc:listener-id>Pete</adfc:listener-id>   </adfc:before-id-set>   </adfc:phase-listener>   </adfc:lifecycle>   </adfc:adf-controller-config> </adf-config>For a complete list of parameters, see
ControllerProperty
Field Summary | |
---|---|
static java.lang.String |
CONTROLLER_CONFIG_ELEMENT
The element name for controller configuration. |
static java.lang.String |
CONTROLLER_CONFIG_NAMESPACE
The namespace used by adf controller config. |
Method Summary | |
---|---|
static java.util.Map |
getCurrent()
Gets the current ControllerConfig from the current ADFContext. |
static java.util.Map<java.lang.String,PhaseListenerDefinition> |
getPhaseListeners()
Deprecated. Use ControllerSettings.getPhaseListeners() |
static java.lang.String |
getProperty(ControllerProperty property)
Gets the current value of the specified parameter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CONTROLLER_CONFIG_NAMESPACE
public static final java.lang.String CONTROLLER_CONFIG_ELEMENT
Method Detail |
---|
public static java.util.Map getCurrent()
public static java.lang.String getProperty(ControllerProperty property)
property
- The property
public static java.util.Map<java.lang.String,PhaseListenerDefinition> getPhaseListeners()
ControllerSettings.getPhaseListeners()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Controller 11g Release 1 (11.1.1.1.0) E10651-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |