# com.bea.p13n.common
ExpirationPolicy Interface

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

`public void` | `expire`() Forces the policy to expire.
`public boolean` | `hasExpired`(`Object` target) Returns the expiration status of the policy.

## Method Detail

### expire() Method

    public void expire()

Forces the policy to expire.

### hasExpired(Object) Method

    public boolean hasExpired(Object target)

Returns the expiration status of the policy.

#### Parameters

target
  the expiration target.

#### Returns

`true` if the policy has expired.