Skip navigation links


com.bea.p13n.common
Interface ExpirationPolicy


public interface ExpirationPolicy

This interface contains the operations necessary to define an expiration policy. The implementing classes determine the strategy used to determine whether or not the policy has expired.


Method Summary
 void expire()
          Forces the policy to expire.
 boolean hasExpired(Object target)
          Returns the expiration status of the policy.

 

Method Detail

hasExpired

boolean hasExpired(Object target)
Returns the expiration status of the policy.
Parameters
target - the expiration target.
Returns
true if the policy has expired.

expire

void expire()
Forces the policy to expire.

Skip navigation links


Copyright © 2010, Oracle. All rights reserved.