ccc.api.jaxrs
Class RegistryServiceLocator

java.lang.Object
  extended by ccc.api.jaxrs.RegistryServiceLocator
All Implemented Interfaces:
ServiceLocator
Direct Known Subclasses:
MigrationServiceLocator

public class RegistryServiceLocator
extends java.lang.Object
implements ServiceLocator

A class to perform application name specific Registry lookups.

Author:
Civic Computing Ltd.

Constructor Summary
RegistryServiceLocator(java.lang.String appName, Registry registry)
          Constructor.
 
Method Summary
 Actions getActions()
          Accessor.
 Aliases getAliases()
          Accessor.
 Comments getComments()
          Accessor.
 Files getFiles()
          Accessor.
 Folders getFolders()
          Accessor.
 Groups getGroups()
          Accessor.
 Pages getPages()
          Accessor.
protected  Registry getRegistry()
           
 Resources getResources()
          Accessor.
 SearchEngine getSearch()
          Accessor.
 Security getSecurity()
          Accessor.
 Templates getTemplates()
          Accessor.
 Users getUsers()
          Accessor.
protected  java.lang.String localPath(java.lang.String serviceName)
           
protected  java.lang.String remotePath(java.lang.String serviceName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistryServiceLocator

public RegistryServiceLocator(java.lang.String appName,
                              Registry registry)
Constructor.

Parameters:
appName - The name of the application.
registry - The registry to use for look up.
Method Detail

getResources

public Resources getResources()
Accessor.

Specified by:
getResources in interface ServiceLocator
Returns:
Returns the resources service.

getPages

public Pages getPages()
Accessor.

Specified by:
getPages in interface ServiceLocator
Returns:
Returns the pages service.

getFolders

public Folders getFolders()
Accessor.

Specified by:
getFolders in interface ServiceLocator
Returns:
Returns the folders service.

getUsers

public Users getUsers()
Accessor.

Specified by:
getUsers in interface ServiceLocator
Returns:
Returns the users service.

getSearch

public SearchEngine getSearch()
Accessor.

Specified by:
getSearch in interface ServiceLocator
Returns:
Returns the search index service.

getTemplates

public Templates getTemplates()
Accessor.

Specified by:
getTemplates in interface ServiceLocator
Returns:
Returns the templates service.

getActions

public Actions getActions()
Accessor.

Specified by:
getActions in interface ServiceLocator
Returns:
Returns the actions service.

getGroups

public Groups getGroups()
Accessor.

Specified by:
getGroups in interface ServiceLocator
Returns:
Returns the groups service.

getFiles

public Files getFiles()
Accessor.

Specified by:
getFiles in interface ServiceLocator
Returns:
Returns the files service.

getAliases

public Aliases getAliases()
Accessor.

Specified by:
getAliases in interface ServiceLocator
Returns:
Returns the alias service.

getSecurity

public Security getSecurity()
Accessor.

Specified by:
getSecurity in interface ServiceLocator
Returns:
Returns the security service.

getComments

public Comments getComments()
Accessor.

Specified by:
getComments in interface ServiceLocator
Returns:
Returns the comments service.

getRegistry

protected Registry getRegistry()

remotePath

protected java.lang.String remotePath(java.lang.String serviceName)

localPath

protected java.lang.String localPath(java.lang.String serviceName)


Copyright © 2010. All Rights Reserved.