Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.7.0)
E15995-06


oracle.webcenter.content.model.rc
Class CustomFolderContextFactory

java.lang.Object
  extended by oracle.webcenter.content.model.rc.CustomFolderContextFactory

All Implemented Interfaces:
javax.naming.spi.InitialContextFactory

public final class CustomFolderContextFactory
extends java.lang.Object
implements javax.naming.spi.InitialContextFactory

This context factory returns a context containing all the available content repository connections.

It can be used in a resource catalog as follows:

 <customFolder id="doclibAllDocuments"
               factoryClass="oracle.webcenter.content.model.rc.CustomFolderContextFactory" />
 

Constructor Summary
CustomFolderContextFactory()
           

 

Method Summary
 javax.naming.Context getInitialContext(java.util.Hashtable<?,?> env)
          Gets the container context listing all content repository connections

 

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

 

Constructor Detail

CustomFolderContextFactory

public CustomFolderContextFactory()

Method Detail

getInitialContext

public javax.naming.Context getInitialContext(java.util.Hashtable<?,?> env)
                                       throws javax.naming.NamingException
Gets the container context listing all content repository connections
Specified by:
getInitialContext in interface javax.naming.spi.InitialContextFactory
Parameters:
env - The resource catalog environment
Returns:
The connections container context
Throws:
javax.naming.NamingException - If an error occurs

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.7.0)
E15995-06


Copyright © 2009, 2013, Oracle and/or its affiliates. All rights reserved.