|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectTurbineBaseService
org.nees.repo.chef.service.BaseNEESService
org.nees.repo.chef.service.FakeNMDSService
A CHEF service providing access to a NEES Metadata Service.
Typical Usage:
Used to retrieve an NMDSFacade instance, against which client code can make calls to retrieve, inspect, and modify metadata objects available from the service.
FakeNMDSService takes the following parameters:
rootContainerId -- the ID of the root container.
gridftp.host=[chef host]
gridftp.port=2811
gridftp.base=/
The gridftp location of the local repository.
title: the name of the repository
Life Cycle:
Same as other CHEF services.
| Field Summary | |
static java.lang.String |
SERVICE_NAME
The name of the service. |
| Constructor Summary | |
FakeNMDSService()
|
|
| Method Summary | |
java.lang.String |
getGridFTPHost()
|
int |
getGridFTPPort()
|
org.globus.util.GlobusURL |
getGridFTPURL(java.lang.String path)
Get the GridFTP URL of a file on the local data server, given the file's path relative to the base path |
org.globus.util.GlobusURL |
getGridFTPURL(java.lang.String path,
java.lang.String base)
Get the GridFTP URL of a file on the local data server, given the file's path relative to the given base. |
NMDSFacade |
getNMDSFacade(RunData runData)
|
java.lang.String |
getRepositoryTitle()
Get the full name of the repository. |
Identifier |
getRootContainerId()
Get the root container identifier for this repository. |
NMDSSession |
getSession(AuthenticIdentity ident)
Get or create a session for the named user. |
SessionProvider |
getSessionProvider(AuthenticIdentity aId)
Get a session provider that will provide NMDS sessions for the given user |
void |
init(javax.servlet.ServletConfig config)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String SERVICE_NAME
| Constructor Detail |
public FakeNMDSService()
| Method Detail |
public NMDSFacade getNMDSFacade(RunData runData)
public NMDSSession getSession(AuthenticIdentity ident)
public Identifier getRootContainerId()
NMDSService
getRootContainerId in interface NMDSService
public org.globus.util.GlobusURL getGridFTPURL(java.lang.String path)
throws java.net.MalformedURLException
path - the file's path relative to the base path
java.net.MalformedURLException
public org.globus.util.GlobusURL getGridFTPURL(java.lang.String path,
java.lang.String base)
throws java.net.MalformedURLException
path - the file's
java.net.MalformedURLExceptionpublic java.lang.String getGridFTPHost()
public int getGridFTPPort()
public void init(javax.servlet.ServletConfig config)
throws InitializationException
init in class BaseNEESServiceInitializationExceptionpublic java.lang.String getRepositoryTitle()
getRepositoryTitle in interface NMDSServicepublic SessionProvider getSessionProvider(AuthenticIdentity aId)
NMDSService
getSessionProvider in interface NMDSServiceaId - the user's identity
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||