|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis.description.ServiceDesc
A ServiceDesc is an abstract description of a service.
ServiceDescs contain OperationDescs, which are descriptions of operations. The information about a service's operations comes from one of two places: 1) deployment, or 2) introspection.
Constructor Summary | |
ServiceDesc()
Default constructor |
Method Summary | |
void |
addOperationDesc(OperationDesc operation)
|
List |
getAllowedMethods()
|
String |
getDefaultNamespace()
|
List |
getDisallowedMethods()
|
String |
getEndpointURL()
|
Class |
getImplClass()
|
String |
getName()
the name of the service |
OperationDesc |
getOperationByElementQName(javax.xml.namespace.QName qname)
Map an XML QName to an operation. |
OperationDesc |
getOperationByName(String methodName)
Return an operation matching the given method name. |
ArrayList |
getOperations()
get all the operations as a list of OperationDescs. |
OperationDesc[] |
getOperationsByName(String methodName)
get all overloaded operations by name |
OperationDesc[] |
getOperationsByQName(javax.xml.namespace.QName qname)
Return all operations which match this QName (i.e. |
Object |
getProperty(String name)
|
ArrayList |
getStopClasses()
|
Style |
getStyle()
What kind of service is this? |
TypeMapping |
getTypeMapping()
|
TypeMappingRegistry |
getTypeMappingRegistry()
|
Use |
getUse()
What kind of use is this? |
String |
getWSDLFile()
the wsdl file of the service. |
boolean |
isWrapped()
Determine whether or not this is a "wrapped" invocation, i.e. |
void |
loadServiceDescByIntrospection()
Fill in a service description by introspecting the implementation class. |
void |
loadServiceDescByIntrospection(Class implClass)
Fill in a service description by introspecting the implementation class. |
void |
loadServiceDescByIntrospection(Class cls,
TypeMapping tm)
Fill in a service description by introspecting the implementation class. |
void |
setAllowedMethods(List allowedMethods)
|
void |
setDefaultNamespace(String namespace)
|
void |
setDisallowedMethods(List disallowedMethods)
|
void |
setEndpointURL(String endpointURL)
|
void |
setImplClass(Class implClass)
set the implementation class Warning: You cannot call getInitializedServiceDesc() after setting this as it uses this to indicate its work has already been done. |
void |
setName(String name)
the name of the service |
void |
setNamespaceMappings(List namespaces)
|
void |
setProperty(String name,
Object value)
|
void |
setStopClasses(ArrayList stopClasses)
|
void |
setStyle(Style style)
|
void |
setTypeMapping(TypeMapping tm)
|
void |
setTypeMappingRegistry(TypeMappingRegistry tmr)
|
void |
setUse(Use use)
|
void |
setWSDLFile(String wsdlFileName)
set the wsdl file of the service; this causes the named file to be returned on a ?wsdl, probe, not introspection generated wsdl. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ServiceDesc()
Method Detail |
public Style getStyle()
public void setStyle(Style style)
public Use getUse()
public void setUse(Use use)
public boolean isWrapped()
public String getWSDLFile()
public void setWSDLFile(String wsdlFileName)
wsdlFileName
- filename or null to re-enable introspectionpublic List getAllowedMethods()
public void setAllowedMethods(List allowedMethods)
public Class getImplClass()
public void setImplClass(Class implClass)
implClass
-
IllegalArgumentException
- if the implementation class is already
setpublic TypeMapping getTypeMapping()
public void setTypeMapping(TypeMapping tm)
public String getName()
public void setName(String name)
name
- public ArrayList getStopClasses()
public void setStopClasses(ArrayList stopClasses)
public List getDisallowedMethods()
public void setDisallowedMethods(List disallowedMethods)
public void addOperationDesc(OperationDesc operation)
public ArrayList getOperations()
public OperationDesc[] getOperationsByName(String methodName)
methodName
-
public OperationDesc getOperationByName(String methodName)
public OperationDesc getOperationByElementQName(javax.xml.namespace.QName qname)
public OperationDesc[] getOperationsByQName(javax.xml.namespace.QName qname)
public void loadServiceDescByIntrospection()
public void loadServiceDescByIntrospection(Class implClass)
public void loadServiceDescByIntrospection(Class cls, TypeMapping tm)
public void setNamespaceMappings(List namespaces)
public String getDefaultNamespace()
public void setDefaultNamespace(String namespace)
public void setProperty(String name, Object value)
public Object getProperty(String name)
public String getEndpointURL()
public void setEndpointURL(String endpointURL)
public TypeMappingRegistry getTypeMappingRegistry()
public void setTypeMappingRegistry(TypeMappingRegistry tmr)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |