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(java.lang.Object target)
Returns the expiration status of the policy. |
hasExpired
public boolean hasExpired(java.lang.Object target)
- Returns the expiration status of the policy.
- Parameters:
target
- the expiration target.- Returns:
- true if the policy has expired.
expire
public void expire()
- Forces the policy to expire.
Copyright © 2002 BEA Systems, Inc. All Rights Reserved