org.norther.tammi.spray.engine.chain
Class SessionBoundObjectName

java.lang.Object
  extended by org.norther.tammi.spray.engine.chain.SessionBoundObjectName
All Implemented Interfaces:
Serializable, EventListener, HttpSessionBindingListener

public class SessionBoundObjectName
extends Object
implements HttpSessionBindingListener, Serializable

An object name bound to a session. When it is unbound from the session, the corresponding MBean is unregistered from the MBean server.

Version:
$Id: SessionBoundObjectName.java,v 1.6 2009/09/28 15:08:31 cvsimp Exp $
Author:
Ilkka Priha
See Also:
Serialized Form

Constructor Summary
SessionBoundObjectName(ObjectName name)
          Constructs a new bound object name.
 
Method Summary
 void release()
          Releases the bound object name without unregistering the corresponding MBean.
 void valueBound(HttpSessionBindingEvent event)
           
 void valueUnbound(HttpSessionBindingEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionBoundObjectName

public SessionBoundObjectName(ObjectName name)
Constructs a new bound object name.

Parameters:
name - the object name to bind to the session.
Method Detail

release

public void release()
Releases the bound object name without unregistering the corresponding MBean.


valueBound

public void valueBound(HttpSessionBindingEvent event)
Specified by:
valueBound in interface HttpSessionBindingListener

valueUnbound

public void valueUnbound(HttpSessionBindingEvent event)
Specified by:
valueUnbound in interface HttpSessionBindingListener


Copyright © 2004 The Norther Organization. All rights reserved.