Package org.adempiere.util
Class ServerContext
- java.lang.Object
-
- org.adempiere.util.ServerContext
-
- All Implemented Interfaces:
Serializable
public final class ServerContext extends Object implements Serializable
- Version:
- $Revision: 0.10 $
- Author:
- Ashley G Ramdass
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
dispose()
dispose server context for current threadstatic Properties
getCurrentInstance()
Get server context for current threadstatic void
setCurrentInstance(Properties ctx)
Set server context for current thread
-
-
-
Method Detail
-
getCurrentInstance
public static Properties getCurrentInstance()
Get server context for current thread- Returns:
- Properties
-
dispose
public static void dispose()
dispose server context for current thread
-
setCurrentInstance
public static void setCurrentInstance(Properties ctx)
Set server context for current thread- Parameters:
ctx
-
-
-