org.xfp.filters.jndi
Class JNDIAbstractFilter
java.lang.Object
org.xfp.AttributeContainer
org.xfp.Filter
org.xfp.filters.jndi.JNDIAbstractFilter
- Direct Known Subclasses:
- JNDIBind, JNDILookup
- public abstract class JNDIAbstractFilter
- extends Filter
Base class for filters performing JNDI operations.
- Version:
- $Id: JNDIAbstractFilter.java,v 1.1 2004/03/19 15:56:45 flaviotordini Exp $
- Author:
- Flavio Tordini
Method Summary |
void |
reset()
Resets filter status after execution. |
void |
setEnvironment(java.lang.String key,
java.lang.String value)
Adds a new environment property to the initial context. |
void |
setName(java.lang.String name)
Sets the JNDI name of the object for the JNDI operation. |
protected abstract void |
subreset()
Subclasses must reset their status within this method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JNDIAbstractFilter
public JNDIAbstractFilter()
reset
public final void reset()
- Description copied from class:
Filter
- Resets filter status after execution. This method is called after
execute(), even in case of exceptions. Since a Filter instance may be
reused (and actually is), you must use this method to reset all your
class members to their default value.
- Specified by:
reset
in class Filter
- See Also:
Filter.reset()
subreset
protected abstract void subreset()
- Subclasses must reset their status within this method.
setEnvironment
public final void setEnvironment(java.lang.String key,
java.lang.String value)
- Adds a new environment property to the initial context.
setName
public final void setName(java.lang.String name)
- Sets the JNDI name of the object for the JNDI operation.
- Parameters:
name
- The name to set
Copyright © 2003-2004 XFP Team. All Rights Reserved.