|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.xfire.AbstractContext
org.codehaus.xfire.service.ServiceInfo
public class ServiceInfo
Represents an description of a service. A service consists of a number of OperationInfo
objects, a
qualified name, and a service class.
OperationInfo
Constructor Summary | |
---|---|
ServiceInfo(javax.xml.namespace.QName portType,
java.lang.Class serviceClass)
Initializes a new instance of the ServiceInfo class with the given qualified name and service
class. |
Method Summary | |
---|---|
void |
accept(Visitor visitor)
Acceps the given visitor. |
OperationInfo |
addOperation(javax.xml.namespace.QName name,
java.lang.reflect.Method method)
|
OperationInfo |
addOperation(java.lang.String name,
java.lang.reflect.Method method)
Adds an operation to this service. |
java.lang.String |
getDocumentation()
|
OperationInfo |
getOperation(java.lang.reflect.Method m)
|
OperationInfo |
getOperation(java.lang.String name)
Returns the operation info with the given name, if found. |
java.util.Collection |
getOperations()
Returns all operations for this service. |
javax.xml.namespace.QName |
getPortType()
|
Service |
getService()
|
java.lang.Class |
getServiceClass()
Returns the service class of the service descriptor. |
boolean |
isWrapped()
|
void |
removeOperation(javax.xml.namespace.QName name)
|
void |
removeOperation(java.lang.String name)
Removes an operation from this service. |
void |
setDocumentation(java.lang.String documentation)
|
void |
setPortType(javax.xml.namespace.QName portType)
|
void |
setService(Service service)
|
void |
setServiceClass(java.lang.Class serviceClass)
|
void |
setWrapped(boolean wrapped)
|
Methods inherited from class org.codehaus.xfire.AbstractContext |
---|
getProperty, removeProperty, setProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceInfo(javax.xml.namespace.QName portType, java.lang.Class serviceClass)
ServiceInfo
class with the given qualified name and service
class.
name
- the qualified name.serviceClass
- the service class.Method Detail |
---|
public void accept(Visitor visitor)
accept
in interface Visitable
visitor
- the visitor.public OperationInfo addOperation(java.lang.String name, java.lang.reflect.Method method)
name
- the qualified name of the operation.
public OperationInfo addOperation(javax.xml.namespace.QName name, java.lang.reflect.Method method)
public OperationInfo getOperation(java.lang.String name)
name
- the name.
null
if not found.public OperationInfo getOperation(java.lang.reflect.Method m)
public java.util.Collection getOperations()
public java.lang.Class getServiceClass()
public void setServiceClass(java.lang.Class serviceClass)
public void removeOperation(java.lang.String name)
name
- the operation name.public void removeOperation(javax.xml.namespace.QName name)
public javax.xml.namespace.QName getPortType()
public void setPortType(javax.xml.namespace.QName portType)
public boolean isWrapped()
public void setWrapped(boolean wrapped)
public Service getService()
public void setService(Service service)
public java.lang.String getDocumentation()
public void setDocumentation(java.lang.String documentation)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |