Class RegistryAdmin

java.lang.Object
org.wso2.carbon.core.AbstractAdmin
org.wso2.carbon.registry.server.service.RegistryAdmin

public class RegistryAdmin extends org.wso2.carbon.core.AbstractAdmin
An Admin Service exposing server-side information about the registry.
  • Field Summary

    Fields inherited from class org.wso2.carbon.core.AbstractAdmin

    axisConfig, configurationContext
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Method to retrieve the HTTP Permalink to access the resource.
    Method to retrieve the HTTPS Permalink to access the resource.
    boolean
    Method to determine whether the back-end registry instance is read-only.

    Methods inherited from class org.wso2.carbon.core.AbstractAdmin

    getAxisConfig, getConfigContext, getConfigSystemRegistry, getConfigUserRegistry, getGovernanceRegistry, getGovernanceSystemRegistry, getGovernanceUserRegistry, getHttpSession, getLocalRepo, getRegistry, getTenantDomain, getUserId, getUsername, getUserRealm, setConfigurationContext, setPermissionUpdateTimestamp

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RegistryAdmin

      public RegistryAdmin()
  • Method Details

    • isRegistryReadOnly

      public boolean isRegistryReadOnly()
      Method to determine whether the back-end registry instance is read-only.
      Returns:
      true if the back-end registry instance is read-only or false if not.
    • getHTTPPermalink

      public String getHTTPPermalink(String path)
      Method to retrieve the HTTP Permalink to access the resource.
      Parameters:
      path - the resource path
      Returns:
      the HTTP permalink to access the given resource.
    • getHTTPSPermalink

      public String getHTTPSPermalink(String path)
      Method to retrieve the HTTPS Permalink to access the resource.
      Parameters:
      path - the resource path
      Returns:
      the HTTPS permalink to access the given resource.