com.inxar.syntacs.util
Class Mission
java.lang.Object
|
+--com.inxar.syntacs.util.Mission
- public class Mission
- extends Object
"Mission Control" holds the global Session
instance
which is consulted throughout the API.
Method Summary |
static Session |
control()
Gets the global Session instance. |
static void |
control(Session session)
Sets the global Session to the given instance. |
static void |
deactivate()
Closes and nullifies the current Session instance. |
static boolean |
isActivated()
Returns true if the Session instance
has been set (is not null ). |
Mission
public Mission()
control
public static void control(Session session)
- Sets the global
Session
to the given instance.
control
public static Session control()
- Gets the global
Session
instance.
isActivated
public static boolean isActivated()
- Returns
true
if the Session
instance
has been set (is not null
).
deactivate
public static void deactivate()
- Closes and nullifies the current
Session
instance.