|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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 name,
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. |
javax.xml.namespace.QName |
getName()
Returns the qualified name of the service descriptor. |
OperationInfo |
getOperation(java.lang.String name)
Returns the operation info with the given name, if found. |
OperationInfo |
getOperationByAction(java.lang.String name)
Returns the operation info with the given action, if found. |
java.util.Collection |
getOperations()
Returns all operations for this service. |
java.lang.Class |
getServiceClass()
Returns the service class of the service descriptor. |
void |
removeOperation(java.lang.String name)
Removes an operation from this service. |
void |
setName(javax.xml.namespace.QName name)
Sets the qualified name of the service descriptor. |
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 name, 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 javax.xml.namespace.QName getName()
public void setName(javax.xml.namespace.QName name)
name
- the new qualified name.public OperationInfo getOperation(java.lang.String name)
name
- the name.
null
if not found.public OperationInfo getOperationByAction(java.lang.String name)
name
- the name.
null
if not found.public java.util.Collection getOperations()
public java.lang.Class getServiceClass()
public void removeOperation(java.lang.String name)
name
- the operation name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |