net.agmodel.metBroker
Class MetBrokerContext
java.lang.Object
net.agmodel.brokerImpl.GenericContext
net.agmodel.metBroker.MetBrokerContext
- public class MetBrokerContext
- extends GenericContext
The Context class is used by MetBrokerImpl to maintain
client-specific context. A Context object is instantiated
for each new client-connection. Each client connection has
its own PSE Pro Session.
MetBrokerContext
public MetBrokerContext(String c,
String language,
String sessionID)
addMetSourceSession
public void addMetSourceSession(MetSourceImpl source)
getMetConnection
public MetAccessMechanism getMetConnection(String sourceID)
dispose
public boolean dispose()
- Released database connections and links to MetSources held by the context.
Normally called by disconnect(), but may also be called by SessionTerminator
- Overrides:
dispose in class GenericContext
- Returns:
- true if the session is disposed of normally, false if another thread is in the process of terminating the session.
Copyright (C) NARC 2001 All Rights Reserved.