com.partnersoft.system
Class PartnerContext

java.lang.Object
  extended by com.partnersoft.system.PartnerContext

public class PartnerContext
extends java.lang.Object

A container for singletons.

Author:
Russell Cagle Copyright 2007 Partner Software, Inc.

Field Summary
 java.util.HashMap<java.lang.Class,java.lang.Object> singletons
          Get and set these directly for now.
 
Constructor Summary
PartnerContext()
           
 
Method Summary
static PartnerContext getContext()
          Gets or creates the context for this thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

singletons

public java.util.HashMap<java.lang.Class,java.lang.Object> singletons
Get and set these directly for now.

Constructor Detail

PartnerContext

public PartnerContext()
Method Detail

getContext

public static PartnerContext getContext()
Gets or creates the context for this thread.

Returns:
the context for this thread.