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
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

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.