Class AbstractConfigurableRootResource<S extends ConfigurableService,W extends AbstractRootResourceConfigurableWebService<S>>
java.lang.Object
de.aristaflow.ilm.ws.rest.base.service.AbstractRootResource<S,W>
de.aristaflow.ilm.ws.rest.base.service.AbstractConfigurableRootResource<S,W>
- Type Parameters:
S- TheADEPT2Servicewhich is exported as REST web service.W- TheAbstractRootResourceConfigurableWebServicewhich transforms between web service calls and the corresponding Java API.
- All Implemented Interfaces:
de.aristaflow.adept2.base.communication.rest.ServiceResource
- Direct Known Subclasses:
ExecutionManagerRest
@Produces("application/json")
@Consumes("application/json")
public abstract class AbstractConfigurableRootResource<S extends ConfigurableService,W extends AbstractRootResourceConfigurableWebService<S>>
extends AbstractRootResource<S,W>
This class extends the REST root resource by the means for managing a configuration. Therefore it
corresponds to
AbstractRootResourceConfigurableWebService.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetChangeableConfigurationKeys(jakarta.ws.rs.core.Application unused) getConfiguration(jakarta.ws.rs.core.Application unused) getConfigurationValue(@NotNull String key) voidsetConfigurationValue(@NotNull String key, @NotNull String value) Methods inherited from class de.aristaflow.ilm.ws.rest.base.service.AbstractRootResource
adaptSessionTokenParam, createWebService, ensureReqMaxVersion, ensureReqMinVersion, ensureVersion, exportService, getExceptionHandler, getLogger, getObjectMapper, getRelease, getRequestHandler, getResponseHandler, getServiceInstanceName, getServiceResourceConfig, getUris, getVersion, getWebService, headerData, init, ping, registerSse, unregisterService, unregisterSse
-
Constructor Details
-
AbstractConfigurableRootResource
public AbstractConfigurableRootResource()
-
-
Method Details
-
getConfiguration
@GET @Path("/complete-configuration") public Map<String,String> getConfiguration(@Context jakarta.ws.rs.core.Application unused) - Parameters:
unused- This unused parameter just prevents Bean Validation from treating this method as simple getter and calling it arbitrarily even without request context.- See Also:
-
getConfigurationValue
-
getChangeableConfigurationKeys
@GET @Path("/configuration") public List<String> getChangeableConfigurationKeys(@Context jakarta.ws.rs.core.Application unused) - Parameters:
unused- This unused parameter just prevents Bean Validation from treating this method as simple getter and calling it arbitrarily even without request context.- See Also:
-
setConfigurationValue
-