org.springframework.extensions.jcr.jackrabbit
Class RmiServerRepositoryFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean
org.springframework.extensions.jcr.jackrabbit.RmiServerRepositoryFactoryBean
- All Implemented Interfaces:
- org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean
public class RmiServerRepositoryFactoryBean
- extends org.springframework.beans.factory.config.AbstractFactoryBean
FactoryBean for creating Jackrabbit RMI remote repository. Use Spring's RmiRegistryFactoryBean for
retriving/creating a Rmi Registry used for binding the repository. Consider Spring's remoting capabilities
when dealing with Serializable objects.
- Author:
- Costin Leau, Sergio Bossa, Salvatore Incandela
- See Also:
org.springframework.remoting.rmi.RmiRegistryFactoryBean
| Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean |
logger |
| Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean |
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RmiServerRepositoryFactoryBean
public RmiServerRepositoryFactoryBean()
createInstance
protected java.lang.Object createInstance()
throws java.lang.Exception
- Specified by:
createInstance in class org.springframework.beans.factory.config.AbstractFactoryBean
- Throws:
java.lang.Exception
getObjectType
public java.lang.Class getObjectType()
- Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean- Specified by:
getObjectType in class org.springframework.beans.factory.config.AbstractFactoryBean
setRegistry
public void setRegistry(java.rmi.registry.Registry registry)
- Parameters:
registry - The registry to set.
setRemoteRepository
public void setRemoteRepository(org.apache.jackrabbit.rmi.remote.RemoteRepository remoteRepository)
- Parameters:
remoteRepository - The remoteRepository to set.
setRepository
public void setRepository(javax.jcr.Repository repository)
- Parameters:
repository - The repository to set.
setRmiName
public void setRmiName(java.lang.String rmiName)
- Parameters:
rmiName - The rmiName to set.
setRemoteAdapterFactory
public void setRemoteAdapterFactory(org.apache.jackrabbit.rmi.server.RemoteAdapterFactory remoteAdapterFactory)
- Parameters:
remoteAdapterFactory - The remoteAdapterFactory to set.
Copyright © 2009. All Rights Reserved.