org.wso2.carbon.registry.server.service
Class RegistryAdmin

java.lang.Object
  extended by org.wso2.carbon.core.AbstractAdmin
      extended by 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
RegistryAdmin()
           
 
Method Summary
 String getHTTPPermalink(String path)
          Method to retrieve the HTTP Permalink to access the resource.
 String getHTTPSPermalink(String path)
          Method to retrieve the HTTPS Permalink to access the resource.
 boolean isRegistryReadOnly()
          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, getUsername, getUserRealm, setConfigurationContext, setPermissionUpdateTimestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistryAdmin

public RegistryAdmin()
Method Detail

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.


Copyright © 2014 WSO2 Inc. All rights reserved.