Skip navigation links

Oracle Beehive Java Content Repository Java API Reference
Release 1 (1.3)

E11993-02


oracle.ocs.jcr
Class RepositoryFactory

java.lang.Object
  extended by oracle.ocs.jcr.RepositoryFactory

All Implemented Interfaces:
javax.naming.spi.ObjectFactory

public class RepositoryFactory
extends java.lang.Object
implements javax.naming.spi.ObjectFactory

public class RepositoryFactory
The RepositoryFactory object provides method for creation of OracleRepository object that can be used for logging into Repository.


Constructor Summary
RepositoryFactory()
          Default constructor.

 

Method Summary
static javax.jcr.Repository createRepository(BeehiveRepositoryConfiguration config)
          This method is used to get OracleRepository object which can be used to logging in to Repository.
 java.lang.Object getObjectInstance(java.lang.Object obj, javax.naming.Name name, javax.naming.Context nameCtx, java.util.Hashtable environment)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

RepositoryFactory

public RepositoryFactory()
Default constructor.

Method Detail

createRepository

public static javax.jcr.Repository createRepository(BeehiveRepositoryConfiguration config)
                                             throws javax.jcr.RepositoryException
This method is used to get OracleRepository object which can be used to logging in to Repository.
Returns:
Repository
Throws:
javax.jcr.RepositoryException

getObjectInstance

public java.lang.Object getObjectInstance(java.lang.Object obj,
                                          javax.naming.Name name,
                                          javax.naming.Context nameCtx,
                                          java.util.Hashtable environment)
                                   throws java.lang.Exception
Specified by:
getObjectInstance in interface javax.naming.spi.ObjectFactory
Throws:
java.lang.Exception

Skip navigation links

Oracle Beehive Java Content Repository Java API Reference
Release 1 (1.3)

E11993-02


Copyright © 2007, 2008, Oracle. All rights reserved.