public class DefaultFolderContextFactory
extends java.lang.Object
implements javax.naming.spi.InitialContextFactory
This factory can be used in a resource catalog as follows:
<customFolder id="doclibGroupDocuments"
              factoryClass="oracle.webcenter.doclib.model.rc.DefaultFolderContextFactory" />
 | Constructor and Description | 
|---|
DefaultFolderContextFactory()  | 
| Modifier and Type | Method and Description | 
|---|---|
javax.naming.Context | 
getInitialContext(java.util.Hashtable<?,?> env)
Gets the context corresponding to the default folder for the current Space. 
 | 
public javax.naming.Context getInitialContext(java.util.Hashtable<?,?> env)
                                       throws javax.naming.NamingException
getInitialContext in interface javax.naming.spi.InitialContextFactoryenv - The resource catalog environmentnull if the documents service is not configured or
         not provisioned in the current space.javax.naming.NamingException - if an error occurs.