xmlBlaster 1.6.2 API

org.xmlBlaster.authentication.plugins
Interface I_Manager

All Superinterfaces:
I_Plugin
All Known Implementing Classes:
Manager, Manager, Manager, Manager

public interface I_Manager
extends I_Plugin

Version:
$Revision: 1.7 $ (State: $State) (Date: $Date: 2007-08-25 07:54:07 +0000 (Sat, 25 Aug 2007) $)
Author:
kleinerz

Method Summary
 I_Session getSessionById(java.lang.String id)
          Get the I_Session which corresponds to the given sessionId.
 void releaseSession(java.lang.String sessionId, java.lang.String qos_literal)
          Releases a reserved I_Session.
 I_Session reserveSession(java.lang.String sessionId)
          The session handling.
 
Methods inherited from interface org.xmlBlaster.util.plugin.I_Plugin
getType, getVersion, init, shutdown
 

Method Detail

reserveSession

public I_Session reserveSession(java.lang.String sessionId)
                         throws XmlBlasterException
The session handling. org.xmlBlaster.authentication.Authenticate.connect(...) and login(...) calls this method to get a new I_Session and bind it to the session.

Throws:
XmlBlasterException

releaseSession

public void releaseSession(java.lang.String sessionId,
                           java.lang.String qos_literal)
                    throws XmlBlasterException
Releases a reserved I_Session.

Throws:
XmlBlasterException

getSessionById

public I_Session getSessionById(java.lang.String id)
                         throws XmlBlasterException
Get the I_Session which corresponds to the given sessionId.

Returns:
I_Session
Throws:
XmlBlasterException

xmlBlaster 1.6.2 API

Copyright © 1999-2007 The xmlBlaster.org contributers.