|
Oracle Fusion Middleware Java API Reference for Oracle ADF Controller 11g Release 2 (11.1.2.0.0) E17480-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.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. |
static java.lang.String |
SECURITY_MODE_ALL_ACTIVITY_TYPES
One of two possible values for the 'activity-security-mode' property. |
static java.lang.String |
SECURITY_MODE_VIEW_ACTIVITY_ONLY
One of two possible values for the 'activity-security-mode' property. |
Method Summary | |
---|---|
static java.util.Map |
getCurrent()
Gets the current ControllerConfig from the current ADFContext. |
static java.lang.String |
getCurrentProperty(ControllerProperty property)
|
static java.lang.Object |
getDefaultedProperty(ControllerProperty property,
java.lang.String value)
|
static java.util.Map<java.lang.String,PhaseListenerDefinition> |
getPhaseListeners()
Deprecated. |
static java.lang.Object |
getProperty(ControllerProperty property)
Gets the current value of the specified paramter. |
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
public static final java.lang.String SECURITY_MODE_ALL_ACTIVITY_TYPES
ControllerProperty
for more detail.
public static final java.lang.String SECURITY_MODE_VIEW_ACTIVITY_ONLY
ControllerProperty
for more detail.
Method Detail |
---|
public static java.util.Map getCurrent()
public static java.lang.Object getProperty(ControllerProperty property)
ChangePolicy
.
property
- the property
public static java.lang.Object getDefaultedProperty(ControllerProperty property, java.lang.String value)
@Deprecated public static java.util.Map<java.lang.String,PhaseListenerDefinition> getPhaseListeners()
public static java.lang.String getCurrentProperty(ControllerProperty property)
property
- the latest value of the property as specified in adf-config.xml.
This value can be different than the value originally specified if MBeans
were used to modify the value.
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Controller 11g Release 2 (11.1.2.0.0) E17480-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |