Class DefaultDaemonService

java.lang.Object
com.aspectran.core.service.AbstractServiceController
com.aspectran.core.service.AbstractCoreService
com.aspectran.core.service.AspectranCoreService
com.aspectran.daemon.service.AbstractDaemonService
com.aspectran.daemon.service.DefaultDaemonService
All Implemented Interfaces:
com.aspectran.core.service.CoreService, com.aspectran.core.service.ServiceController, DaemonService

public class DefaultDaemonService extends AbstractDaemonService
The Class DefaultDaemonService.
Since:
5.1.0
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    create(com.aspectran.core.context.config.AspectranConfig aspectranConfig)
    Returns a new instance of DefaultDaemonService.
    com.aspectran.core.activity.Translet
    translate(String name, com.aspectran.core.context.rule.type.MethodType method, Map<String,Object> attributeMap, com.aspectran.core.activity.request.ParameterMap parameterMap)
    Executes the translet with the given attributes and parameters.
    com.aspectran.core.activity.Translet
    translate(String name, Map<String,Object> attributeMap, com.aspectran.core.activity.request.ParameterMap parameterMap)
    Executes the translet with the given attributes and parameters.

    Methods inherited from class com.aspectran.daemon.service.AbstractDaemonService

    destroySessionManager, initSessionManager, isExposable, newSessionAdapter

    Methods inherited from class com.aspectran.core.service.AspectranCoreService

    afterContextLoaded, beforeContextDestroy, buildActivityContext, destroyActivityContext, doPause, doPause, doResume, doStart, doStop, prepare, start, stop

    Methods inherited from class com.aspectran.core.service.AbstractCoreService

    checkDirectoryStructure, createSchedulerService, getActivityContext, getActivityContextBuilder, getAspectranConfig, getBasePath, getDefaultActivity, getSchedulerService, getServiceController, getSiblingsClassLoader, hasActivityContextBuilder, isDerived, isHardReload, isLateStart, joinDerivedService, leaveFromRootService, setActivityContext, setActivityContextBuilder, setAspectranConfig, setBasePath, withdrawDerivedService

    Methods inherited from class com.aspectran.core.service.AbstractServiceController

    clearDerivedService, getLock, getRootService, getServiceName, isActive, isBusy, joinDerivedService, pause, pause, restart, restart, resume, setExposals, setRootService, setServiceStateListener, withdrawDerivedService

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.aspectran.core.service.CoreService

    getActivityContext, getAspectranConfig, getBasePath, getDefaultActivity, getSchedulerService, getServiceController, getSiblingsClassLoader, isDerived, isHardReload, isLateStart, joinDerivedService, leaveFromRootService, withdrawDerivedService
  • Constructor Details

    • DefaultDaemonService

      public DefaultDaemonService()
  • Method Details

    • translate

      public com.aspectran.core.activity.Translet translate(String name, Map<String,Object> attributeMap, com.aspectran.core.activity.request.ParameterMap parameterMap)
      Description copied from interface: DaemonService
      Executes the translet with the given attributes and parameters.
      Parameters:
      name - the translet name
      attributeMap - the attribute map
      parameterMap - the parameter map
      Returns:
      the Translet object
    • translate

      public com.aspectran.core.activity.Translet translate(String name, com.aspectran.core.context.rule.type.MethodType method, Map<String,Object> attributeMap, com.aspectran.core.activity.request.ParameterMap parameterMap)
      Description copied from interface: DaemonService
      Executes the translet with the given attributes and parameters.
      Parameters:
      name - the translet name
      method - the request method
      attributeMap - the attribute map
      parameterMap - the parameter map
      Returns:
      the Translet object
    • create

      public static DefaultDaemonService create(com.aspectran.core.context.config.AspectranConfig aspectranConfig)
      Returns a new instance of DefaultDaemonService.
      Parameters:
      aspectranConfig - the parameters for aspectran configuration
      Returns:
      the instance of DefaultDaemonService