Package step.core.deployment
Class SettingsServices
- java.lang.Object
-
- step.core.deployment.AbstractServices
-
- step.core.deployment.SettingsServices
-
@Singleton @Path("settings") public class SettingsServices extends AbstractServices
-
-
Field Summary
Fields Modifier and Type Field Description protected ControllerSettingAccessor
controllerSettingsAccessor
-
Fields inherited from class step.core.deployment.AbstractServices
configuration, controller
-
-
Constructor Summary
Constructors Constructor Description SettingsServices()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
get(java.lang.String key)
void
init()
void
save(java.lang.String key, java.lang.String value)
-
Methods inherited from class step.core.deployment.AbstractServices
getContext, getExecutionRunnable, getObjectEnricher, getScheduler, getSession, setSession
-
-
-
-
Field Detail
-
controllerSettingsAccessor
protected ControllerSettingAccessor controllerSettingsAccessor
-
-
Method Detail
-
init
@PostConstruct public void init() throws java.lang.Exception
- Overrides:
init
in classAbstractServices
- Throws:
java.lang.Exception
-
save
@POST @Consumes("application/json") @Path("/{id}") public void save(@PathParam("id") java.lang.String key, java.lang.String value)
-
get
@GET @Path("/{id}") @Produces("text/plain") public java.lang.String get(@PathParam("id") java.lang.String key)
-
-