public class ContextProvider extends Object
| Constructor and Description |
|---|
ContextProvider() |
| Modifier and Type | Method and Description |
|---|---|
static org.gcube.smartgears.context.application.ApplicationContext |
get()
Returns the application context.
|
static void |
set(org.gcube.smartgears.context.application.ApplicationContext context)
Sets the application context.
|
public static org.gcube.smartgears.context.application.ApplicationContext get()
public static void set(org.gcube.smartgears.context.application.ApplicationContext context)
context - the context;IllegalStateException - if the context has not been set because the resource is not managed as a gCube resourceCopyright © 2022. All Rights Reserved.