Class ClientRepositoryFactory

  • All Implemented Interfaces:
    ObjectFactory

    @Deprecated
    public class ClientRepositoryFactory
    extends Object
    implements ObjectFactory
    Deprecated.
    RMI support is deprecated and will be removed in a future version of Jackrabbit; see Jira ticket JCR-4972 for more information.

    Object factory for JCR-RMI clients. This factory can be used either directly or as a JNDI object factory.

    See Also:
    ClientRepository
    • Field Detail

      • URL_PARAMETER

        public static final String URL_PARAMETER
        Deprecated.
        The JNDI parameter name for configuring the RMI URL of a remote repository.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ClientRepositoryFactory

        public ClientRepositoryFactory()
        Deprecated.
        Creates a JCR-RMI client factory with the default adapter factory.
      • ClientRepositoryFactory

        public ClientRepositoryFactory​(LocalAdapterFactory factory)
        Deprecated.
        Creates a JCR-RMI client factory with the given adapter factory.
        Parameters:
        factory - local adapter factory
    • Method Detail

      • getObjectInstance

        public Object getObjectInstance​(Object object,
                                        Name name,
                                        Context context,
                                        Hashtable environment)
        Deprecated.
        JNDI factory method for creating JCR-RMI clients. Creates a lazy client repository instance that uses the reference parameter "url" as the RMI URL where the remote repository is looked up when accessed.
        Specified by:
        getObjectInstance in interface ObjectFactory
        Parameters:
        object - reference parameters
        name - unused
        context - unused
        environment - unused
        Returns:
        repository client