Package com.sun.xml.rpc.processor.model
Class Service
- java.lang.Object
-
- com.sun.xml.rpc.processor.model.ModelObject
-
- com.sun.xml.rpc.processor.model.Service
-
- All Implemented Interfaces:
ModelObject
,Service
public class Service extends ModelObject implements Service
- Author:
- JAX-RPC Development Team
-
-
Constructor Summary
Constructors Constructor Description Service()
Service(QName name, JavaInterface javaInterface)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ModelVisitor visitor)
void
addPort(Port port)
JavaInterface
getJavaInterface()
JavaInterface
getJavaIntf()
TODO: better way to derive the generated service * implementation class PE uses service.getJavaInterface() + _Impl Should we provide a method for it?QName
getName()
Port
getPortByName(QName n)
Iterator
getPorts()
List
getPortsList()
void
setJavaInterface(JavaInterface i)
void
setName(QName n)
void
setPortsList(List m)
-
Methods inherited from class com.sun.xml.rpc.processor.model.ModelObject
getProperties, getPropertiesMap, getProperty, removeProperty, setPropertiesMap, setProperty
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.sun.xml.rpc.spi.model.ModelObject
getProperty
-
-
-
-
Constructor Detail
-
Service
public Service()
-
Service
public Service(QName name, JavaInterface javaInterface)
-
-
Method Detail
-
setName
public void setName(QName n)
-
addPort
public void addPort(Port port)
-
getPortsList
public List getPortsList()
- Specified by:
getPortsList
in interfaceService
-
setPortsList
public void setPortsList(List m)
-
getJavaIntf
public JavaInterface getJavaIntf()
Description copied from interface:Service
TODO: better way to derive the generated service * implementation class PE uses service.getJavaInterface() + _Impl Should we provide a method for it?- Specified by:
getJavaIntf
in interfaceService
-
getJavaInterface
public JavaInterface getJavaInterface()
-
setJavaInterface
public void setJavaInterface(JavaInterface i)
-
accept
public void accept(ModelVisitor visitor) throws Exception
- Specified by:
accept
in classModelObject
- Throws:
Exception
-
-