org.jboss.net.axis
Class XMLResourceProvider

java.lang.Object
  extended byorg.jboss.axis.configuration.FileProvider (src) 
      extended byorg.jboss.net.axis.XMLResourceProvider
All Implemented Interfaces:
EngineConfiguration (src) , WSDDEngineConfiguration (src)

public class XMLResourceProvider
extends FileProvider (src)

A FileProvider that sits on a given URL and that hosts classloader-aware deployment information.


Field Summary
protected  java.lang.ClassLoader contextLoader
          the classloader that is used to interpret the deployment
protected  java.io.InputStream is
          input stream cache
protected  java.net.URL resource
          the original resource that we host
 
Fields inherited from interface org.jboss.axis.EngineConfiguration (src)
PROPERTY_NAME
 
Constructor Summary
XMLResourceProvider(java.net.URL resource, java.lang.ClassLoader loader)
          construct a new XmlResourceProvider
 
Method Summary
 Deployment (src) buildDeployment()
          constructs a new deployment
 void configureEngine(AxisEngine (src)  engine)
          configures the given AxisEngine with the given descriptor
 Deployment (src) getMyDeployment()
          returns out special deployment
 void setInputStream(java.io.InputStream stream)
          override input stream setter to sync protected cache
 void writeEngineConfig(AxisEngine (src)  engine)
          not supported, yet.
 
Methods inherited from class org.jboss.axis.configuration.FileProvider (src)
getDeployedServices, getDeployment, getGlobalOptions, getGlobalRequest, getGlobalResponse, getHandler, getService, getServiceByNamespaceURI, getTransport, getTypeMappingRegistry, setDeployment, setSearchClasspath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resource

protected final java.net.URL resource
the original resource that we host


is

protected java.io.InputStream is
input stream cache


contextLoader

protected java.lang.ClassLoader contextLoader
the classloader that is used to interpret the deployment

Constructor Detail

XMLResourceProvider

public XMLResourceProvider(java.net.URL resource,
                           java.lang.ClassLoader loader)
construct a new XmlResourceProvider

Parameters:
resource - url pointing to the deployment descriptor
Method Detail

setInputStream

public void setInputStream(java.io.InputStream stream)
override input stream setter to sync protected cache

Overrides:
setInputStream in class FileProvider (src)

configureEngine

public void configureEngine(AxisEngine (src)  engine)
                     throws ConfigurationException (src) 
configures the given AxisEngine with the given descriptor

Specified by:
configureEngine in interface EngineConfiguration (src)
Overrides:
configureEngine in class FileProvider (src)
Throws:
ConfigurationException (src)

buildDeployment

public Deployment (src)  buildDeployment()
                           throws ConfigurationException (src) 
constructs a new deployment

Throws:
ConfigurationException (src)

getMyDeployment

public Deployment (src)  getMyDeployment()
returns out special deployment


writeEngineConfig

public void writeEngineConfig(AxisEngine (src)  engine)
not supported, yet. Should we use http-push or what?

Specified by:
writeEngineConfig in interface EngineConfiguration (src)
Overrides:
writeEngineConfig in class FileProvider (src)