IBM WebSphere Application ServerTM
Release 8

com.ibm.wsspi.ar
Class ArtifactURIConverter

java.lang.Object
  extended by org.eclipse.emf.ecore.resource.impl.URIConverterImpl
      extended by com.ibm.wsspi.ar.ArtifactURIConverter
All Implemented Interfaces:
com.ibm.ws.ar.util.ARImplConstants, com.ibm.ws.ar.util.ARPIIMessages, ARConstants, org.eclipse.emf.ecore.resource.URIConverter

public class ArtifactURIConverter
extends org.eclipse.emf.ecore.resource.impl.URIConverterImpl
implements com.ibm.ws.ar.util.ARImplConstants

Extension into EMF to support loading resources using the "wbi_artifact:/" and "archive:/" protocols which gives a single federated view of a WSDL document within an EAR file.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.resource.impl.URIConverterImpl
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.Archive, org.eclipse.emf.ecore.resource.impl.URIConverterImpl.PlatformResourceOutputStream, org.eclipse.emf.ecore.resource.impl.URIConverterImpl.URIMap, org.eclipse.emf.ecore.resource.impl.URIConverterImpl.WorkbenchHelper
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.resource.URIConverter
org.eclipse.emf.ecore.resource.URIConverter.Cipher, org.eclipse.emf.ecore.resource.URIConverter.Readable, org.eclipse.emf.ecore.resource.URIConverter.ReadableInputStream, org.eclipse.emf.ecore.resource.URIConverter.Writeable, org.eclipse.emf.ecore.resource.URIConverter.WriteableOutputStream
 
Field Summary
static java.lang.String COPYRIGHT
           
static ArtifactURIConverter INSTANCE
           
 
Fields inherited from class org.eclipse.emf.ecore.resource.impl.URIConverterImpl
uriMap, workspaceRoot
 
Fields inherited from interface com.ibm.ws.ar.util.ARPIIMessages
ALLOGGER, ARTIFACTLOADER_FILENOTFOUND, ARTIFACTLOADER_INCORRECT_URL, ARTIFACTLOADER_IO_FAILURE, ARTIFACTLOADER_OPENFAILURE, ARTIFACTLOADER_PROTOCOL_REG_FAILURE, BUNDLE, RES_BUNDLE
 
Fields inherited from interface com.ibm.wsspi.ar.ARConstants
SCHEMA, WSDL, XSD
 
Fields inherited from interface org.eclipse.emf.ecore.resource.URIConverter
URI_MAP
 
Constructor Summary
protected ArtifactURIConverter()
          Default constructor
 
Method Summary
protected  java.io.InputStream connectInputStream(java.net.URL url)
           
 java.io.InputStream createInputStream(org.eclipse.emf.common.util.URI uri)
           
 
Methods inherited from class org.eclipse.emf.ecore.resource.impl.URIConverterImpl
createArchive, createArchiveInputStream, createArchiveOutputStream, createFileInputStream, createFileOutputStream, createOutputStream, createPlatformResourceInputStream, createPlatformResourceOutputStream, createURLInputStream, createURLOutputStream, getInternalURIMap, getURIMap, isArchiveScheme, normalize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

INSTANCE

public static final ArtifactURIConverter INSTANCE
Constructor Detail

ArtifactURIConverter

protected ArtifactURIConverter()
Default constructor

Method Detail

connectInputStream

protected java.io.InputStream connectInputStream(java.net.URL url)
                                          throws java.io.IOException
Throws:
java.io.IOException

createInputStream

public java.io.InputStream createInputStream(org.eclipse.emf.common.util.URI uri)
                                      throws java.io.IOException
Specified by:
createInputStream in interface org.eclipse.emf.ecore.resource.URIConverter
Overrides:
createInputStream in class org.eclipse.emf.ecore.resource.impl.URIConverterImpl
Throws:
java.io.IOException
See Also:
URIConverter.createInputStream(org.eclipse.emf.common.util.URI)

IBM WebSphere Application ServerTM
Release 8