org.marketcetera.ors.ws
Class ClientSessionFactory
java.lang.Object
org.marketcetera.ors.ws.ClientSessionFactory
- All Implemented Interfaces:
- SessionFactory<ClientSession>
public class ClientSessionFactory
- extends Object
- implements SessionFactory<ClientSession>
A session factory.
- Since:
- 1.5.0
- Version:
- $Id: ClientSessionFactory.java 16154 2012-07-14 16:34:05Z colin $
- Author:
- tlerios@marketcetera.com
|
Constructor Summary |
ClientSessionFactory(SystemInfo systemInfo,
JmsManager jmsManager,
UserManager userManager)
Creates a new session factory which uses the given system
information to create session information, which uses the given
JMS manager to create reply topics, and which notifies the
given user manager when sessions are added/removed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientSessionFactory
public ClientSessionFactory(SystemInfo systemInfo,
JmsManager jmsManager,
UserManager userManager)
- Creates a new session factory which uses the given system
information to create session information, which uses the given
JMS manager to create reply topics, and which notifies the
given user manager when sessions are added/removed.
- Parameters:
systemInfo - The system information.jmsManager - The JMS manager.userManager - The user manager.
getSystemInfo
public SystemInfo getSystemInfo()
- Returns the receiver's system information.
- Returns:
- The information.
createSession
public ClientSession createSession(StatelessClientContext context,
String user,
SessionId id)
- Specified by:
createSession in interface SessionFactory<ClientSession>
removedSession
public void removedSession(ClientSession session)
- Specified by:
removedSession in interface SessionFactory<ClientSession>
Copyright © 2012. All Rights Reserved.