Factory that looks up a remote repository from JNDI.
@Deprecated public class JNDIRemoteRepositoryFactory extends AbstractRemoteRepositoryFactory
| Constructor and Description |
|---|
JNDIRemoteRepositoryFactory(LocalAdapterFactory factory,
Context context,
String location)
Deprecated.
Creates a factory for looking up a remote repository from JNDI.
|
| Modifier and Type | Method and Description |
|---|---|
protected RemoteRepository |
getRemoteRepository()
Deprecated.
Looks up a remote repository from JNDI.
|
getRepositorypublic JNDIRemoteRepositoryFactory(LocalAdapterFactory factory, Context context, String location)
factory - local adapter factorycontext - JNDI contextlocation - JNDI locationprotected RemoteRepository getRemoteRepository() throws RepositoryException
getRemoteRepository in class AbstractRemoteRepositoryFactoryRepositoryException - if the remote repository is not availableCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.