Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 2 (11.1.2.3.0)

E17486-04


oracle.adf.share.statemanager
Interface Policy

All Known Implementing Classes:
AttributePolicyImpl, DefaultPolicyImpl

public interface Policy

Defines a state management policy. The state manager requires a state management policy for each state. The policy determines how the state will be managed.

The state manager supports the following policies:

Persistent

Specifies that a state may be persisted.

Distributable

Specifies that a state may be distributed.

Time To Live

Specifies the time that a state may live.

A default policy will be defined for each of the ADF contexts. When the default policy is not appropriate the user may specify an overide policy when registering state with the state manager.


Method Summary
 long getTimeToLive()
           
 boolean isDistributable()
           
 boolean isPersistent()
           

 

Method Detail

isPersistent

boolean isPersistent()
Returns:
a boolean indicating that the state may be persisted

isDistributable

boolean isDistributable()
Returns:
a boolean indicating that the state may be distributed

getTimeToLive

long getTimeToLive()
Returns:
a long indicating the time that the state may live in ms

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 2 (11.1.2.3.0)

E17486-04


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