© 2004 BEA Systems, Inc.

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

expire

public void expire()
Forces the policy to expire.


hasExpired

public boolean hasExpired(Object target)
Returns the expiration status of the policy.

Parameters:
target - the expiration target.
Returns:
true if the policy has expired.

© 2004 BEA Systems, Inc.

Copyright © 2004 BEA Systems, Inc. All Rights Reserved