-
Method Summary
void
boolean
Get the kernel instance for the deployment
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
getKernel
Get the kernel instance for the deployment
- Specified by:
getKernel in interface Context
- Returns:
- The instance
-
exists
public boolean exists(Object key)
Exists
- Specified by:
exists in interface Context
- Parameters:
key - The key of the resource
- Returns:
- True if the key/value pair exists; otherwise false
-
put
Put
- Specified by:
put in interface Context
- Parameters:
key - The key of the resource
value - The value of the resource
- Returns:
- The previous value for the key
-
get
Get
- Specified by:
get in interface Context
- Parameters:
key - The key of the resource
- Returns:
- The value of the resource
-
remove
Remove
- Specified by:
remove in interface Context
- Parameters:
key - The key of the resource
- Returns:
- The value of the resource
-
clear
public void clear()
Clear