org.ops4j.pax.web.extender.whiteboard.runtime
Class DefaultListenerMapping

java.lang.Object
  extended by org.ops4j.pax.web.extender.whiteboard.runtime.DefaultListenerMapping
All Implemented Interfaces:
ListenerMapping

public class DefaultListenerMapping
extends java.lang.Object
implements ListenerMapping

Default implementation of ListenerMapping.

Since:
0.4.0, April 05, 2008
Author:
Alin Dreghiciu

Constructor Summary
DefaultListenerMapping()
           
 
Method Summary
 java.lang.String getHttpContextId()
          Getter.
 java.util.EventListener getListener()
          Getter.
 void setHttpContextId(java.lang.String httpContextId)
          Setter.
 void setListener(java.util.EventListener listener)
          Setter.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultListenerMapping

public DefaultListenerMapping()
Method Detail

getHttpContextId

public java.lang.String getHttpContextId()
Description copied from interface: ListenerMapping
Getter.

Specified by:
getHttpContextId in interface ListenerMapping
Returns:
id of the http context this listener belongs to
See Also:
ListenerMapping.getHttpContextId()

getListener

public java.util.EventListener getListener()
Description copied from interface: ListenerMapping
Getter.

Specified by:
getListener in interface ListenerMapping
Returns:
listener
See Also:
()

setHttpContextId

public void setHttpContextId(java.lang.String httpContextId)
Setter.

Parameters:
httpContextId - id of the http context this servlet belongs to

setListener

public void setListener(java.util.EventListener listener)
Setter.

Parameters:
listener - mapped listener

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2006-2011 OPS4J - Open Participation Software for Java. All Rights Reserved.