public class JavaServiceDesc extends Object implements ServiceDesc
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
JavaServiceDesc()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 ?
|
public Style getStyle()
getStyle in interface ServiceDescpublic void setStyle(Style style)
setStyle in interface ServiceDescpublic Use getUse()
getUse in interface ServiceDescpublic void setUse(Use use)
setUse in interface ServiceDescpublic boolean isWrapped()
isWrapped in interface ServiceDescpublic String getWSDLFile()
getWSDLFile in interface ServiceDescpublic void setWSDLFile(String wsdlFileName)
setWSDLFile in interface ServiceDescwsdlFileName - filename or null to re-enable introspectionpublic List getAllowedMethods()
getAllowedMethods in interface ServiceDescpublic void setAllowedMethods(List allowedMethods)
setAllowedMethods in interface ServiceDescpublic Class getImplClass()
public void setImplClass(Class implClass)
Warning: You cannot call getInitializedServiceDesc() after setting this as it uses this to indicate its work has already been done.
implClass - IllegalArgumentException - if the implementation class is already
setpublic TypeMapping getTypeMapping()
getTypeMapping in interface ServiceDescpublic void setTypeMapping(TypeMapping tm)
setTypeMapping in interface ServiceDescpublic String getName()
getName in interface ServiceDescpublic void setName(String name)
setName in interface ServiceDescname - public String getDocumentation()
getDocumentation in interface ServiceDescpublic void setDocumentation(String documentation)
setDocumentation in interface ServiceDescpublic ArrayList getStopClasses()
public void setStopClasses(ArrayList stopClasses)
public List getDisallowedMethods()
getDisallowedMethods in interface ServiceDescpublic void setDisallowedMethods(List disallowedMethods)
setDisallowedMethods in interface ServiceDescpublic void removeOperationDesc(OperationDesc operation)
removeOperationDesc in interface ServiceDescpublic void addOperationDesc(OperationDesc operation)
addOperationDesc in interface ServiceDescpublic ArrayList getOperations()
getOperations in interface ServiceDescpublic OperationDesc[] getOperationsByName(String methodName)
getOperationsByName in interface ServiceDescmethodName - public OperationDesc getOperationByName(String methodName)
getOperationByName in interface ServiceDescpublic OperationDesc getOperationByElementQName(QName qname)
getOperationByElementQName in interface ServiceDescpublic OperationDesc[] getOperationsByQName(QName qname)
getOperationsByQName in interface ServiceDescpublic void loadServiceDescByIntrospection()
public void loadServiceDescByIntrospection(Class implClass)
public void loadServiceDescByIntrospection(Class cls, TypeMapping tm)
public void setNamespaceMappings(List namespaces)
setNamespaceMappings in interface ServiceDescpublic String getDefaultNamespace()
getDefaultNamespace in interface ServiceDescpublic void setDefaultNamespace(String namespace)
setDefaultNamespace in interface ServiceDescpublic void setProperty(String name, Object value)
setProperty in interface ServiceDescpublic Object getProperty(String name)
getProperty in interface ServiceDescpublic String getEndpointURL()
getEndpointURL in interface ServiceDescpublic void setEndpointURL(String endpointURL)
setEndpointURL in interface ServiceDescpublic TypeMappingRegistry getTypeMappingRegistry()
getTypeMappingRegistry in interface ServiceDescpublic void setTypeMappingRegistry(TypeMappingRegistry tmr)
setTypeMappingRegistry in interface ServiceDescpublic boolean isInitialized()
isInitialized in interface ServiceDescCopyright © The Apache Software Foundation. All Rights Reserved.