oracle.adf.share.common.rc.util.impl
Class MetadataRegistryBigImpl
java.lang.Object
oracle.adf.share.common.rc.util.MetadataRegistry
oracle.adf.share.common.rc.util.impl.MetadataRegistryImpl
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.
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 |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetadataRegistryBigImpl
public MetadataRegistryBigImpl()
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.
Copyright © 1997, 2011, Oracle. All rights reserved.