org.norther.tammi.spray.filter
Class DefaultContainerKeyFilter

java.lang.Object
  extended by org.norther.tammi.core.base.Adaptee
      extended by org.norther.tammi.core.base.DefaultContainer
          extended by org.norther.tammi.spray.filter.AbstractContainerFilter
              extended by org.norther.tammi.spray.filter.AbstractContainerKeyFilter
                  extended by org.norther.tammi.spray.filter.DefaultContainerKeyFilter
All Implemented Interfaces:
Serializable, NotificationBroadcaster, NotificationEmitter, Filter, Container, Manageable, MBeanDelegate, ContainerFilter, ContainerKeyFilter, KeyFilter

public class DefaultContainerKeyFilter
extends AbstractContainerKeyFilter

A default implementation of ContainerKeyFilter.

Author:
Ilkka Priha
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.norther.tammi.core.base.Adaptee
ADAPTEE_NOTIF_DESCRIPTION, ADAPTEE_NOTIFICATIONS
 
Fields inherited from interface org.norther.tammi.core.base.MBeanDelegate
ARRAY_TYPE, OBJECT_TYPE, PRIMITIVE_TYPE, STRING_TYPE
 
Constructor Summary
DefaultContainerKeyFilter()
          Constructs a new filter.
DefaultContainerKeyFilter(String className)
          Constructs a new filter with a container class.
DefaultContainerKeyFilter(String className, String key)
          Constructs a new filter with an container class and key.
 
Method Summary
protected  Filter getFilter()
          Gets the filter adaptee.
 
Methods inherited from class org.norther.tammi.spray.filter.AbstractContainerKeyFilter
getKey, getKeyValue, getKeyValues, isLinkedKey, setKey, setLinkedKey
 
Methods inherited from class org.norther.tammi.spray.filter.AbstractContainerFilter
destroy, doFilter, getFilterConfig, getRequestMap, getSessionMap, init
 
Methods inherited from class org.norther.tammi.core.base.DefaultContainer
clear, containsKey, get, getContainerKey, getContainerKey, getContainerKey, getMBean, getMBeanHandle, getMBeanHandles, getMBeanInterface, getMBeanInterface, getObjectName, getObjectNames, getQueryPattern, registryKeySet, registryKeySet, registryKeySet, registryKeySet, registryMap, registrySize, remove, setMBeanInterface, setQueryPattern, setQueryPattern
 
Methods inherited from class org.norther.tammi.core.base.Adaptee
addAdaptee, addNotificationListener, getAttributeSupport, getBroker, getCanonicalName, getDomain, getFactory, getLoader, getLog, getLog, getMBean, getMBeanServer, getNotificationInfo, getObjectName, getRegistrationTime, getSequenceNumber, hasListeners, isRegistered, postmanaged, premanaged, removeNotificationListener, removeNotificationListener, sendNotification, sendNotification, sendNotification, sendNotification, unmanaged, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.norther.tammi.core.base.Container
clear, containsKey, get, getContainerKey, getContainerKey, getContainerKey, getMBean, getMBeanInterface, getMBeanInterface, getObjectName, getObjectNames, getQueryPattern, registryKeySet, registryKeySet, registryKeySet, registryKeySet, registryMap, registrySize, remove, setMBeanInterface, setQueryPattern, setQueryPattern
 
Methods inherited from interface javax.servlet.Filter
destroy, doFilter, init
 
Methods inherited from interface javax.servlet.Filter
destroy, doFilter, init
 

Constructor Detail

DefaultContainerKeyFilter

public DefaultContainerKeyFilter()
Constructs a new filter.


DefaultContainerKeyFilter

public DefaultContainerKeyFilter(String className)
Constructs a new filter with a container class.

Parameters:
className - the container class name.

DefaultContainerKeyFilter

public DefaultContainerKeyFilter(String className,
                                 String key)
Constructs a new filter with an container class and key.

Parameters:
className - the container class name (can be null).
key - the filter key.
Method Detail

getFilter

protected Filter getFilter()
Description copied from class: AbstractContainerFilter
Gets the filter adaptee.

Specified by:
getFilter in class AbstractContainerFilter
Returns:
the filter adaptee.


Copyright © 2004 The Norther Organization. All rights reserved.