|
|||||||||||
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
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(java.lang.String name,
java.lang.reflect.Method method)
Adds an operation to this service. |
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()
|
java.lang.Class |
getServiceClass()
Returns the service class of the service descriptor. |
boolean |
isWrapped()
|
void |
removeOperation(java.lang.String name)
Removes an operation from this service. |
void |
setPortType(javax.xml.namespace.QName portType)
|
void |
setServiceClass(java.lang.Class serviceClass)
|
void |
setWrapped(boolean wrapped)
|
Methods inherited from class org.codehaus.xfire.AbstractContext |
getProperty, 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.
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 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 javax.xml.namespace.QName getPortType()
public void setPortType(javax.xml.namespace.QName portType)
public boolean isWrapped()
public void setWrapped(boolean wrapped)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |