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 String
get(String key)
void
init()
void
save(String key, String value)
-
Methods inherited from class step.core.deployment.AbstractServices
getContext, getExecutionRunnable, getObjectDrainer, getObjectEnricher, getScheduler, getSession, setSession
-
-
-
-
Field Detail
-
controllerSettingsAccessor
protected ControllerSettingAccessor controllerSettingsAccessor
-
-
Method Detail
-
init
@PostConstruct public void init() throws Exception
- Overrides:
init
in classAbstractServices
- Throws:
Exception
-
save
@POST @Consumes("application/json") @Path("/{id}") public void save(@PathParam("id") String key, String value)
-
-