Interface CoreService

All Known Subinterfaces:
DaemonService, ShellService, TowService, WebService
All Known Implementing Classes:
AbstractCoreService, AbstractDaemonService, AbstractEmbeddedAspectran, AbstractShellService, AbstractTowService, AbstractWebService, DefaultCoreService, DefaultDaemonService, DefaultEmbeddedAspectran, DefaultShellService, DefaultTowService, DefaultWebService

public interface CoreService
The Interface CoreService.
  • Method Details

    • getRootService

      CoreService getRootService()
    • getParentService

      CoreService getParentService()
    • isRootService

      boolean isRootService()
    • isOrphan

      boolean isOrphan()
      Returns whether the service should be started separately late after the root service is started.
      Returns:
      true if the service should start separately late; false otherwise
    • isDerived

      boolean isDerived()
      Returns whether this service is derived from a parent service.
      Returns:
      whether this service is derived
    • getServiceLifeCycle

      ServiceLifeCycle getServiceLifeCycle()
      Returns the service life cycle for this service.
      Returns:
      the service life cycle
    • getBasePath

      String getBasePath()
      Returns the base path where the root application is running.
      Returns:
      the base path for the root application
    • getContextName

      String getContextName()
    • getAspectranConfig

      AspectranConfig getAspectranConfig()
      Returns the Aspectran configuration parameters used to generate the AspectranService.
      Returns:
      the Aspectran Configuration Parameters
    • getApplicationAdapter

      ApplicationAdapter getApplicationAdapter()
    • getActivityContext

      ActivityContext getActivityContext()
      Returns:
      the activity context
    • hasServiceClassLoader

      boolean hasServiceClassLoader()
    • getServiceClassLoader

      ClassLoader getServiceClassLoader()
      Returns:
      the ClassLoader used within the service.
    • getAltClassLoader

      ClassLoader getAltClassLoader()
    • getDefaultActivity

      Activity getDefaultActivity()
      Returns:
      the default activity
    • getSchedulerService

      SchedulerService getSchedulerService()
      Returns:
      the scheduler service
    • isAcceptable

      boolean isAcceptable(String requestName)
      Returns whether the request can be processed by this service.
      Parameters:
      requestName - the name of the request to check
      Returns:
      true if the request can be processed by this service; otherwise, false