Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1.4.0)

E10686-05

oracle.adf.share.common.rc.util.impl
Class MetadataRegistryBigImpl

java.lang.Object
  extended by oracle.adf.share.common.rc.util.MetadataRegistry
      extended by oracle.adf.share.common.rc.util.impl.MetadataRegistryImpl
          extended by oracle.adf.share.common.rc.util.impl.MetadataRegistryBigImpl

public class MetadataRegistryBigImpl
extends MetadataRegistryImpl

This implementation holds all the dependencies on javatools-nodeps.jar. Because of the ADF shared library organization and the fact that the URLFileSystem isn't in it we have to do our access reflectively otherwise we have problems because the context class loader isn't used in implicit loading so this is all explicit.


Nested Class Summary
 
Nested classes/interfaces inherited from class oracle.adf.share.common.rc.util.impl.MetadataRegistryImpl
MetadataRegistryImpl.Context, MetadataRegistryImpl.DTDSkippingResolver, MetadataRegistryImpl.IterateNodeListAttributes
 
Nested classes/interfaces inherited from class oracle.adf.share.common.rc.util.MetadataRegistry
MetadataRegistry.PathVisitor, MetadataRegistry.PathVisitor2
 
Field Summary
 
Fields inherited from class oracle.adf.share.common.rc.util.impl.MetadataRegistryImpl
docCache, logger
 
Fields inherited from class oracle.adf.share.common.rc.util.MetadataRegistry
ADFMXML_SIG, ADFMXML_SIG_LEN, BC4JCONFIGNS, BC4JNS, CPXREGISTRY, DCXREGISTRY, JPXREGISTRY, PATH_ATTR, XCFGREGISTRY, XMLNS_METAINF, XMLNS_SCHEMA
 
Constructor Summary
MetadataRegistryBigImpl()
           
 
Method Summary
protected  void getDocumentForWriting(MetadataRegistryImpl.Context ctx)
           
protected  java.io.OutputStream getOutputStream(MetadataRegistryImpl.Context ctx)
           
 java.net.URL[] listFiles(java.net.URL url)
           
protected  java.io.InputStream openStream(java.net.URL url)
           
 
Methods inherited from class oracle.adf.share.common.rc.util.impl.MetadataRegistryImpl
getAttributeIterator, getAttributeMaps, getDomDocument, getRegistryPaths, getRegistryPaths, getSubtreeList, newDomDocument, resetCacheStats, saveDocumentTo, saveDomDocument, setBaseURL, setPreserveWhitespace, setValidationMode, updateElementsInMetadataRegistry, updateElementsInMetadataRegistryEx, updateRegistryElement, visitRegistryPaths, visitRegistryPaths
 
Methods inherited from class oracle.adf.share.common.rc.util.MetadataRegistry
newInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataRegistryBigImpl

public MetadataRegistryBigImpl()
Method Detail

openStream

protected java.io.InputStream openStream(java.net.URL url)
                                  throws java.io.IOException
Overrides:
openStream in class MetadataRegistryImpl
Throws:
java.io.IOException

getOutputStream

protected java.io.OutputStream getOutputStream(MetadataRegistryImpl.Context ctx)
                                        throws java.io.IOException
Overrides:
getOutputStream in class MetadataRegistryImpl
Throws:
java.io.IOException

getDocumentForWriting

protected void getDocumentForWriting(MetadataRegistryImpl.Context ctx)
                              throws java.io.IOException,
                                     org.xml.sax.SAXException,
                                     javax.xml.parsers.ParserConfigurationException
Overrides:
getDocumentForWriting in class MetadataRegistryImpl
Throws:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

listFiles

public java.net.URL[] listFiles(java.net.URL url)
Overrides:
listFiles in class MetadataRegistryImpl
Parameters:
url - The directory, jar, etc to use to get the return values. Note: implementations exist for file: and jar: unless you use the javatools-nodeps.jar in your classpath (default within ide).
Returns:
an array of URL's (files and directories) in the url param. Returns null if the URL does not represent a directory or if an I/O error occurs.

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1.4.0)

E10686-05

Copyright © 1997, 2011, Oracle. All rights reserved.