org.jboss.wsf.spi.metadata.webservices
Class JBossWebservicesFactory

java.lang.Object
  extended by org.jboss.wsf.spi.metadata.webservices.JBossWebservicesFactory

public class JBossWebservicesFactory
extends Object

Author:
Richard Opalka, Alessio Soldano

Constructor Summary
JBossWebservicesFactory(URL descriptorURL)
           
 
Method Summary
 URL getDescriptorURL()
           
static JBossWebservicesMetaData load(URL wsddUrl)
           
static JBossWebservicesMetaData loadFromVFSRoot(UnifiedVirtualFile root)
          Load jboss-webservices.xml from META-INF/jboss-webservices.xml or WEB-INF/jboss-webservices.xml .
static JBossWebservicesMetaData parse(InputStream is)
           
static JBossWebservicesMetaData parse(InputStream is, URL descriptorURL)
           
static JBossWebservicesMetaData parse(XMLStreamReader reader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBossWebservicesFactory

public JBossWebservicesFactory(URL descriptorURL)
Method Detail

getDescriptorURL

public URL getDescriptorURL()

loadFromVFSRoot

public static JBossWebservicesMetaData loadFromVFSRoot(UnifiedVirtualFile root)
Load jboss-webservices.xml from META-INF/jboss-webservices.xml or WEB-INF/jboss-webservices.xml .

Parameters:
root - virtual file root
Returns:
JBossWebservicesMetaData or null if it cannot be found

load

public static JBossWebservicesMetaData load(URL wsddUrl)

parse

public static JBossWebservicesMetaData parse(InputStream is)

parse

public static JBossWebservicesMetaData parse(InputStream is,
                                             URL descriptorURL)

parse

public static JBossWebservicesMetaData parse(XMLStreamReader reader)
                                      throws XMLStreamException
Throws:
XMLStreamException


Copyright © 2012 JBoss, by Red Hat. All Rights Reserved.