Oracle Fusion Middleware Java API Reference for Oracle ADF Controller
11g Release 2 (11.1.2.0.0)

E17480-01

oracle.adf.controller.config
Enum ChangePolicy

java.lang.Object
  extended by java.lang.Enum<ChangePolicy>
      extended by oracle.adf.controller.config.ChangePolicy
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ChangePolicy>

public enum ChangePolicy
extends java.lang.Enum<ChangePolicy>

For controller properties defined in adf-config.xml, defines when a property change will take affect at runtime. Properties can be changed using MBeans. Some properties can also change using specific APIs - see javadoc for each property.


Enum Constant Summary
DYNAMIC
          Property will change on the next access
REQUIRES_APP_RESTART
          Property will change when an application is restated, server is restarted, or application is redeployed
REQUIRES_SERVER_RESTART
          Property will change when server is restarted or an application is redeployed.
 
Method Summary
static ChangePolicy valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ChangePolicy[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DYNAMIC

public static final ChangePolicy DYNAMIC
Property will change on the next access


REQUIRES_APP_RESTART

public static final ChangePolicy REQUIRES_APP_RESTART
Property will change when an application is restated, server is restarted, or application is redeployed


REQUIRES_SERVER_RESTART

public static final ChangePolicy REQUIRES_SERVER_RESTART
Property will change when server is restarted or an application is redeployed.

Method Detail

values

public static ChangePolicy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ChangePolicy c : ChangePolicy.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ChangePolicy valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

Oracle Fusion Middleware Java API Reference for Oracle ADF Controller
11g Release 2 (11.1.2.0.0)

E17480-01

Copyright © 1997, 2011, Oracle. All rights reserved.