Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1.6.0)

E10686-07

oracle.adf.share.statemanager
Class DefaultPolicyImpl

java.lang.Object
  extended by oracle.adf.share.statemanager.DefaultPolicyImpl
All Implemented Interfaces:
Policy

public class DefaultPolicyImpl
extends java.lang.Object
implements Policy


Constructor Summary
DefaultPolicyImpl()
           
DefaultPolicyImpl(boolean isPersistent, boolean isDistributable, long timeToLive)
           
 
Method Summary
 long getTimeToLive()
           
 boolean isDistributable()
           
 boolean isPersistent()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPolicyImpl

public DefaultPolicyImpl(boolean isPersistent,
                         boolean isDistributable,
                         long timeToLive)

DefaultPolicyImpl

public DefaultPolicyImpl()
Method Detail

isPersistent

public boolean isPersistent()
Specified by:
isPersistent in interface Policy
Returns:
a boolean indicating that the state may be persisted

isDistributable

public boolean isDistributable()
Specified by:
isDistributable in interface Policy
Returns:
a boolean indicating that the state may be distributed

getTimeToLive

public long getTimeToLive()
Specified by:
getTimeToLive in interface Policy
Returns:
a long indicating the time that the state may live in ms

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1.6.0)

E10686-07

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