org.apache.jetspeed.portal.expire
Class ExpireFactory

java.lang.Object
  extended byorg.apache.jetspeed.portal.expire.ExpireFactory

public class ExpireFactory
extends java.lang.Object

Handles content expiration

Version:
$Id: ExpireFactory.java,v 1.6 2004/02/23 03:24:40 jford Exp $
Author:
Kevin A. Burton

Field Summary
static java.lang.String FILE_WATCH_EXPIRE
           
static java.lang.String NO_EXPIRE
           
static Expire noExpire
          Since this object essentially does nothing.
 
Constructor Summary
ExpireFactory()
           
 
Method Summary
static Expire getExpire(Portlet portlet, java.lang.String classname)
          Create a new Expire object with the specified Portlet and classname.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE_WATCH_EXPIRE

public static final java.lang.String FILE_WATCH_EXPIRE
See Also:
Constant Field Values

NO_EXPIRE

public static final java.lang.String NO_EXPIRE
See Also:
Constant Field Values

noExpire

public static Expire noExpire
Since this object essentially does nothing. Only use one instance for performance

Constructor Detail

ExpireFactory

public ExpireFactory()
Method Detail

getExpire

public static Expire getExpire(Portlet portlet,
                               java.lang.String classname)
                        throws JetspeedException
Create a new Expire object with the specified Portlet and classname.

Throws:
JetspeedException


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.