org.ow2.util.ee.metadata.ws.impl.xml.parsing
Class Webservices12DeploymentDesc

java.lang.Object
  extended by org.ow2.util.ee.metadata.ws.impl.xml.parsing.Webservices12DeploymentDesc

public class Webservices12DeploymentDesc
extends java.lang.Object

The Webservices12DeploymentDesc is responsible to load the webservices.xml (version 1.2/JAX-Ws only).

Author:
Guillaume Sauthier

Nested Class Summary
static class Webservices12DeploymentDesc.Type
          Defines where to look up the webservices.xml file.
 
Method Summary
static org.ow2.util.ee.metadata.ws.api.xml.struct.IWebservices getWebservices12(org.ow2.util.archive.api.IArchive archive, Webservices12DeploymentDesc.Type type)
          Gets Webservices for a given archive.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getWebservices12

public static org.ow2.util.ee.metadata.ws.api.xml.struct.IWebservices getWebservices12(org.ow2.util.archive.api.IArchive archive,
                                                                                       Webservices12DeploymentDesc.Type type)
                                                                                throws org.ow2.util.ee.metadata.common.impl.xml.parsing.ParsingException
Gets Webservices for a given archive.

Parameters:
archive - file/directory.
Returns:
Webservices 1.2 instance or null.
Throws:
org.ow2.util.ee.metadata.common.impl.xml.parsing.ParsingException - if no xml is present.


Copyright © 2007-2009 OW2 Consortium. All Rights Reserved.