org.apache.axis.description
public class JavaServiceDesc extends Object implements ServiceDesc
Field Summary | |
---|---|
protected static Log | log |
Constructor Summary | |
---|---|
JavaServiceDesc()
Default constructor |
Method Summary | |
---|---|
void | addOperationDesc(OperationDesc operation) |
List | getAllowedMethods() |
String | getDefaultNamespace() |
List | getDisallowedMethods() |
String | getDocumentation()
get the documentation for the service |
String | getEndpointURL() |
Class | getImplClass() |
String | getName()
the name of the service |
OperationDesc | getOperationByElementQName(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.
this method triggers an evaluation of the valid operations by
introspection, so use sparingly |
OperationDesc[] | getOperationsByName(String methodName)
get all overloaded operations by name |
OperationDesc[] | getOperationsByQName(QName qname)
Return all operations which match this QName (i.e. get all the
overloads) |
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 | isInitialized() |
boolean | isWrapped()
Determine whether or not this is a "wrapped" invocation, i.e. whether
the outermost XML element of the "main" body element represents a
method call, with the immediate children of that element representing
arguments to the method.
|
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 | removeOperationDesc(OperationDesc operation) |
void | setAllowedMethods(List allowedMethods) |
void | setDefaultNamespace(String namespace) |
void | setDisallowedMethods(List disallowedMethods) |
void | setDocumentation(String documentation)
set the documentation for the service |
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 ? |
Returns: null for no match
Returns: null for no match
Returns: reference to the operations array. This is not a copy
Parameters: methodName
Returns: null for no match, or an array of OperationDesc objects
Returns: null for no match
Returns:
Returns:
Returns: filename or null
Returns: true if this is wrapped (i.e. RPC or WRAPPED style), false otherwise
Warning: You cannot call getInitializedServiceDesc() after setting this as it uses this to indicate its work has already been done.
Parameters: implClass
Throws: IllegalArgumentException if the implementation class is already set
Parameters: name
Parameters: wsdlFileName filename or null to re-enable introspection