org.wanghy.cache.provider.oscache
Class OscacheCacheProfileEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.wanghy.cache.provider.AbstractCacheProfileEditor
org.wanghy.cache.provider.oscache.OscacheCacheProfileEditor
- All Implemented Interfaces:
- PropertyEditor
- public final class OscacheCacheProfileEditor
- extends AbstractCacheProfileEditor
Creates a new instance of OscacheCacheProfile
by
parsing a String of the form
[cronExpression=value][groups=value][refreshPeriod=value]
.
- Version:
- $Revision: 1.7 $ $Date: 2005/03/03 09:22:37 $
- Author:
- Alex Ruiz
Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setValue, supportsCustomEditor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OscacheCacheProfileEditor
public OscacheCacheProfileEditor()
- Constructor.
createCacheProfile
protected CacheProfile createCacheProfile(Properties properties)
- Creates a new instance of
OscacheCacheProfile
from
the specified set of properties.
- Specified by:
createCacheProfile
in class AbstractCacheProfileEditor
- Parameters:
properties
- the specified set of properties.
- Returns:
- a new instance of
OscacheCacheProfile
.
- Throws:
IllegalArgumentException
- if the value of the property "refreshPeriod" is not an integer or
not equal to the String "INDEFINITE_EXPIRY".
Copyright © 2004-2005 Alex Ruiz. All Rights Reserved.