|
||||||||||
| 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.BaseNMDSService
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.
BaseNMDSService takes the following parameters:
jdbc.driver -- the jdbc driver
jdbc.url -- the jdbc url
jdbc.user -- the jdbc user
jdbc.password -- the jdbc password
rootContainerId -- the ID of the root container.
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 | |
BaseNMDSService()
|
|
| Method Summary | |
java.lang.String |
getRepositoryTitle()
Get the full name of the repository. |
Identifier |
getRootContainerId()
Get the root container identifier for this repository. |
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 BaseNMDSService()
| Method Detail |
public Identifier getRootContainerId()
throws NMDSException
NMDSService
getRootContainerId in interface NMDSServiceNMDSExceptionpublic java.lang.String getRepositoryTitle()
getRepositoryTitle in interface NMDSServicepublic SessionProvider getSessionProvider(AuthenticIdentity aId)
NMDSService
getSessionProvider in interface NMDSServiceaId - the user's identity
public void init(javax.servlet.ServletConfig config)
throws InitializationException
init in class BaseNEESServiceInitializationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||