org.ow2.jonas.generators.wsgen.finder
Class GenericWSFinder

java.lang.Object
  extended by org.ow2.jonas.generators.wsgen.finder.GenericWSFinder
All Implemented Interfaces:
J2EEWebServicesFinder

public class GenericWSFinder
extends Object
implements J2EEWebServicesFinder

Multi-module (EjbJar, WebApp, Client) WebServices Finder.

Author:
Guillaume Sauthier

Constructor Summary
GenericWSFinder(J2EEArchive archive, String descriptorName)
          Create a multi-module type WSFinder.
 
Method Summary
 boolean find()
           
protected  SAXParser getSAXParser()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericWSFinder

public GenericWSFinder(J2EEArchive archive,
                       String descriptorName)
Create a multi-module type WSFinder.

Parameters:
archive - The archive to be explored.
descriptorName - Standard XML descriptor name.
Method Detail

find

public boolean find()
Specified by:
find in interface J2EEWebServicesFinder
Returns:
Returns true if webservices have been found.
See Also:
J2EEWebServicesFinder.find()

getSAXParser

protected SAXParser getSAXParser()
                          throws ParserConfigurationException,
                                 SAXException
Returns:
Returns a SAXParser
Throws:
ParserConfigurationException - when Parser cannot be created.
SAXException - when Parser cannot be created.


Copyright © 2010 OW2 Consortium. All Rights Reserved.