Class MonitorWebScript

java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.DeclarativeWebScript
fr.becpg.repo.web.scripts.admin.MonitorWebScript
All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript
Direct Known Subclasses:
AdminModuleWebScript

public class MonitorWebScript extends org.springframework.extensions.webscripts.DeclarativeWebScript

MonitorWebScript class.

Version:
$Id: $Id
Author:
matthieu
  • Field Details

    • SYSTEM_PATH

      private static final String SYSTEM_PATH
      See Also:
    • SUCCESS_STATUS

      private static final String SUCCESS_STATUS
      See Also:
    • AUTHENTICATED_KEY

      private static final String AUTHENTICATED_KEY
      See Also:
    • VOLUMETRY_PARAMETER

      private static final String VOLUMETRY_PARAMETER
      See Also:
    • DOWN_STATUS

      private static final String DOWN_STATUS
      See Also:
    • UP_STATUS

      private static final String UP_STATUS
      See Also:
    • STATUS_KEY

      private static final String STATUS_KEY
      See Also:
    • MONITORS_USER_AGENT

      private static final String MONITORS_USER_AGENT
      See Also:
    • SOLR_STATUS

      private static final String SOLR_STATUS
      See Also:
    • VOLUMETRY_QUERY

      private static final String VOLUMETRY_QUERY
      See Also:
    • BYTES_TO_MEGA_BYTES

      private static final double BYTES_TO_MEGA_BYTES
      See Also:
    • logger

      private static final org.apache.commons.logging.Log logger
    • contentService

      private org.alfresco.service.cmr.repository.ContentService contentService
    • authenticationService

      private org.alfresco.repo.security.authentication.AbstractAuthenticationService authenticationService
    • licenseManager

      private BeCPGLicenseManager licenseManager
    • tenantAdminService

      private org.alfresco.repo.tenant.TenantAdminService tenantAdminService
    • becpgSchema

      private String becpgSchema
    • authorityService

      private org.alfresco.service.cmr.security.AuthorityService authorityService
    • batchQueueService

      private BatchQueueService batchQueueService
    • dataSource

      private DataSource dataSource
    • namespaceService

      private org.alfresco.service.namespace.NamespaceService namespaceService
  • Constructor Details

    • MonitorWebScript

      public MonitorWebScript()
  • Method Details

    • setNamespaceService

      public void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)

      Setter for the field namespaceService.

      Parameters:
      namespaceService - a NamespaceService object
    • setDataSource

      public void setDataSource(DataSource dataSource)

      Setter for the field dataSource.

      Parameters:
      dataSource - a DataSource object
    • executeImpl

      protected Map<String,Object> executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache)
      Overrides:
      executeImpl in class org.springframework.extensions.webscripts.DeclarativeWebScript
    • fillVolumetry

      private void fillVolumetry(Map<String,Object> ret)
    • extractQNameString

      private String extractQNameString(org.alfresco.service.namespace.QName qname)
    • fillMonitoringInformation

      protected Set<String> fillMonitoringInformation(Map<String,Object> ret, boolean includeTenantUsers)

      fillMonitoringInformation.

      Parameters:
      ret - a Map object
      includeTenantUsers - a boolean
      Returns:
      a Set object
    • setAuthenticationService

      public void setAuthenticationService(org.alfresco.repo.security.authentication.AbstractAuthenticationService authenticationService)

      Setter for the field authenticationService.

      Parameters:
      authenticationService - a AbstractAuthenticationService object.
    • setContentService

      public void setContentService(org.alfresco.service.cmr.repository.ContentService contentService)

      Setter for the field contentService.

      Parameters:
      contentService - a ContentService object.
    • setTenantAdminService

      public void setTenantAdminService(org.alfresco.repo.tenant.TenantAdminService tenantAdminService)

      Setter for the field tenantAdminService.

      Parameters:
      tenantAdminService - a TenantAdminService object
    • setBecpgSchema

      public void setBecpgSchema(String becpgSchema)

      Setter for the field becpgSchema.

      Parameters:
      becpgSchema - a String object
    • setAuthorityService

      public void setAuthorityService(org.alfresco.service.cmr.security.AuthorityService authorityService)

      Setter for the field authorityService.

      Parameters:
      authorityService - a AuthorityService object
    • setBatchQueueService

      public void setBatchQueueService(BatchQueueService batchQueueService)

      Setter for the field batchQueueService.

      Parameters:
      batchQueueService - a BatchQueueService object
    • setLicenseManager

      public void setLicenseManager(BeCPGLicenseManager licenseManager)

      Setter for the field licenseManager.

      Parameters:
      licenseManager - a BeCPGLicenseManager object