org.norther.tammi.spray.media
Class DefaultMediaContentKeyFilter

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.media.AbstractMediaContentFilter
                  extended by org.norther.tammi.spray.media.AbstractMediaContentKeyFilter
                      extended by org.norther.tammi.spray.media.DefaultMediaContentKeyFilter
All Implemented Interfaces:
Serializable, NotificationBroadcaster, NotificationEmitter, Filter, Container, Manageable, MBeanDelegate, ContainerFilter, KeyFilter, TerminationFilter, MediaContentFilter, MediaContentKeyFilter

public class DefaultMediaContentKeyFilter
extends AbstractMediaContentKeyFilter
implements MediaContentKeyFilter

A default implementation of MediaContentKeyFilter.

Author:
Ilkka Priha
See Also:
Serialized Form

Field Summary
static String CONTENT_KEY
          The default key.
 
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
DefaultMediaContentKeyFilter()
          Contructs a new filter.
DefaultMediaContentKeyFilter(String key)
          Constructs a new filter with a key.
 
Method Summary
protected  Filter getFilter()
          Gets the filter adaptee.
 
Methods inherited from class org.norther.tammi.spray.media.AbstractMediaContentKeyFilter
getContentPath, getKey, getKeyValue, getKeyValues, isLinkedKey, setKey, setLinkedKey
 
Methods inherited from class org.norther.tammi.spray.media.AbstractMediaContentFilter
clearFixedPaths, doFilter, fixedKeySet, getFixedPath, getFixedPath, getResource, getResourceProvider, removeFixedPath, setFixedPath
 
Methods inherited from class org.norther.tammi.spray.filter.AbstractContainerFilter
destroy, 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.spray.media.MediaContentFilter
clearFixedPaths, fixedKeySet, getFixedPath, removeFixedPath, setFixedPath
 
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
 
Methods inherited from interface org.norther.tammi.spray.filter.KeyFilter
getKey, getKeyValue, getKeyValues, isLinkedKey, setKey, setLinkedKey
 

Field Detail

CONTENT_KEY

public static final String CONTENT_KEY
The default key.

See Also:
Constant Field Values
Constructor Detail

DefaultMediaContentKeyFilter

public DefaultMediaContentKeyFilter()
Contructs a new filter.


DefaultMediaContentKeyFilter

public DefaultMediaContentKeyFilter(String key)
Constructs a new filter with a key.

Parameters:
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.