ccc.migration
Class MigrationServiceLocator

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

public class MigrationServiceLocator
extends RegistryServiceLocator

Extended service locator for remoting. FIXME: Extract common code - none of the standard services can be accessed via JNDI.

Author:
Civic Computing Ltd.

Constructor Summary
MigrationServiceLocator(java.lang.String appName)
          Constructor.
MigrationServiceLocator(java.lang.String appName, Registry registry)
          Constructor.
MigrationServiceLocator(java.lang.String appName, java.lang.String providerUrl)
          Constructor.
 
Method Summary
 Migration getMigration()
           
 ResourcesExt getResourcesExt()
           
 
Methods inherited from class ccc.api.jaxrs.RegistryServiceLocator
getActions, getAliases, getComments, getFiles, getFolders, getGroups, getPages, getRegistry, getResources, getSearch, getSecurity, getTemplates, getUsers, localPath, remotePath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MigrationServiceLocator

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

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

MigrationServiceLocator

public MigrationServiceLocator(java.lang.String appName,
                               java.lang.String providerUrl)
Constructor.

Parameters:
appName - The name of the application.
providerUrl - The java naming provider URL

MigrationServiceLocator

public MigrationServiceLocator(java.lang.String appName)
Constructor.

Parameters:
appName - The name of the application.
Method Detail

getResourcesExt

public ResourcesExt getResourcesExt()

getMigration

public Migration getMigration()


Copyright © 2010. All Rights Reserved.