org.apache.muse.tools.generator.util
Class WsdlEnvironment

java.lang.Object
  extended by org.apache.muse.core.AbstractEnvironment
      extended by org.apache.muse.tools.generator.util.LocalEnvironment
          extended by org.apache.muse.tools.generator.util.WsdlEnvironment
All Implemented Interfaces:
Environment

public class WsdlEnvironment
extends LocalEnvironment


Constructor Summary
WsdlEnvironment(File wsdl)
           
 
Method Summary
 InputStream getDataResourceStream(String path)
           
 
Methods inherited from class org.apache.muse.tools.generator.util.LocalEnvironment
getDataResource, getDeploymentEPR, getRealDirectory, getTargetEPR, setRealDirectory, setTargetEPR
 
Methods inherited from class org.apache.muse.core.AbstractEnvironment
addAddressingContext, createRelativePath, createSoapClient, getAddressingContext, getClassLoader, getDefaultEPR, getDefaultURI, getDeploymentURI, getDocument, getSoapClient, removeAddressingContext, setDefaultURI, setSoapClient
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsdlEnvironment

public WsdlEnvironment(File wsdl)
Method Detail

getDataResourceStream

public InputStream getDataResourceStream(String path)
Specified by:
getDataResourceStream in interface Environment
Overrides:
getDataResourceStream in class LocalEnvironment
Parameters:
path - A path that is relative to the environment's context root. In J2EE applications this is the WAR root, in OSGi applications this is the bundle's root.
Returns:
An open InputStream that can read the "data resource" found at the given path. If no such resource is found, the method throws a RuntimeException.


Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.