CoreService, ServiceControllerpublic interface DaemonService extends CoreService
Created: 2017. 10. 28.
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
DEFAULT_ROOT_CONTEXT |
| Modifier and Type | Method | Description |
|---|---|---|
static DaemonService |
create(AspectranConfig aspectranConfig) |
Returns a new instance of DaemonService.
|
static DaemonService |
create(java.lang.String rootConfigLocation) |
Returns a new instance of DaemonService.
|
static java.io.File |
determineAspectranConfigFile(java.lang.String arg) |
|
SessionAdapter |
newSessionAdapter() |
|
java.lang.String |
template(java.lang.String templateId,
ParameterMap parameterMap,
java.util.Map<java.lang.String,java.lang.Object> attributeMap) |
Evaluate the template with a set of parameters and a set of attributes.
|
Translet |
translet(java.lang.String name,
ParameterMap parameterMap,
java.util.Map<java.lang.String,java.lang.Object> attributeMap) |
Execute the translet.
|
Translet |
translet(java.lang.String name,
MethodType method,
ParameterMap parameterMap,
java.util.Map<java.lang.String,java.lang.Object> attributeMap) |
Execute the translet.
|
getActivityContext, getApplicationAdapter, getAspectranClassLoader, getAspectranConfig, isHardReloadgetServiceName, isActive, isBusy, isDerived, pause, pause, restart, restart, resume, setServiceStateListener, start, stopstatic final java.lang.String DEFAULT_ROOT_CONTEXT
SessionAdapter newSessionAdapter()
Translet translet(java.lang.String name, ParameterMap parameterMap, java.util.Map<java.lang.String,java.lang.Object> attributeMap)
name - the translet nameparameterMap - the parameter mapattributeMap - the attribute mapTranslet objectTranslet translet(java.lang.String name, MethodType method, ParameterMap parameterMap, java.util.Map<java.lang.String,java.lang.Object> attributeMap)
name - the translet namemethod - the request methodparameterMap - the parameter mapattributeMap - the attribute mapTranslet objectjava.lang.String template(java.lang.String templateId,
ParameterMap parameterMap,
java.util.Map<java.lang.String,java.lang.Object> attributeMap)
templateId - the template idparameterMap - the parameter mapattributeMap - the attribute mapstatic DaemonService create(java.lang.String rootConfigLocation) throws AspectranServiceException, java.io.IOException
rootConfigLocation - the root configuration locationAspectranServiceException - the aspectran service exceptionjava.io.IOException - if an I/O error has occurredstatic DaemonService create(AspectranConfig aspectranConfig) throws AspectranServiceException, java.io.IOException
aspectranConfig - the parameters for aspectran configurationAspectranServiceException - the aspectran service exceptionjava.io.IOException - if an I/O error has occurredstatic java.io.File determineAspectranConfigFile(java.lang.String arg)
Copyright © 2008–2018 The Aspectran Project. All rights reserved.