Class AbstractCoreService

    • Constructor Detail

      • AbstractCoreService

        public AbstractCoreService()
      • AbstractCoreService

        public AbstractCoreService​(CoreService rootService)
    • Method Detail

      • getBasePath

        public java.lang.String getBasePath()
        Description copied from interface: CoreService
        Returns the base path where the root application is running.
        Specified by:
        getBasePath in interface CoreService
        Returns:
        the base path for the root application
      • setBasePath

        protected void setBasePath​(java.lang.String basePath)
      • isLateStart

        public boolean isLateStart()
        Description copied from interface: CoreService
        Returns whether the service should be started separately late after the root service is started.
        Specified by:
        isLateStart in interface CoreService
        Returns:
        true if the service should start separately late; false otherwise
      • setActivityContext

        public void setActivityContext​(ActivityContext activityContext)
      • getAspectranConfig

        public AspectranConfig getAspectranConfig()
        Description copied from interface: CoreService
        Returns the Aspectran configuration parameters used to generate the AspectranService.
        Specified by:
        getAspectranConfig in interface CoreService
        Returns:
        the Aspectran Configuration Parameters
      • isHardReload

        public boolean isHardReload()
        Description copied from interface: CoreService
        Returns whether to reload all Java classes, resources, and activity context configurations.
        Specified by:
        isHardReload in interface CoreService
        Returns:
        false if only the activity context configuration is reloaded; true if all are reloaded
      • joinDerivedService

        public void joinDerivedService​(CoreService coreService)
        Description copied from interface: CoreService
        Add a derived core service. Derived services follow the life cycle of the root service.
        Specified by:
        joinDerivedService in interface CoreService
        Parameters:
        coreService - the core service
      • setExposals

        protected void setExposals​(java.lang.String[] includePatterns,
                                   java.lang.String[] excludePatterns)
      • isExposable

        protected boolean isExposable​(java.lang.String transletName)
      • destroyActivityContext

        protected void destroyActivityContext()
      • determineBasePath

        protected void determineBasePath()