public class JavaServiceDesc
extends java.lang.Object
implements org.apache.axis.description.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(org.apache.axis.description.OperationDesc operation) |
java.util.List |
getAllowedMethods() |
java.lang.String |
getDefaultNamespace() |
java.util.List |
getDisallowedMethods() |
java.lang.String |
getDocumentation()
get the documentation for the service
|
java.lang.String |
getEndpointURL() |
java.lang.Class |
getImplClass() |
java.lang.String |
getName()
the name of the service
|
org.apache.axis.description.OperationDesc |
getOperationByElementQName(javax.xml.namespace.QName qname)
Map an XML QName to an operation.
|
org.apache.axis.description.OperationDesc |
getOperationByName(java.lang.String methodName)
Return an operation matching the given method name.
|
java.util.ArrayList |
getOperations()
get all the operations as a list of OperationDescs.
|
org.apache.axis.description.OperationDesc[] |
getOperationsByName(java.lang.String methodName)
get all overloaded operations by name
|
org.apache.axis.description.OperationDesc[] |
getOperationsByQName(javax.xml.namespace.QName qname)
Return all operations which match this QName (i.e.
|
java.lang.Object |
getProperty(java.lang.String name) |
java.util.ArrayList |
getStopClasses() |
org.apache.axis.constants.Style |
getStyle()
What kind of service is this?
|
org.apache.axis.encoding.TypeMapping |
getTypeMapping() |
org.apache.axis.encoding.TypeMappingRegistry |
getTypeMappingRegistry() |
org.apache.axis.constants.Use |
getUse()
What kind of use is this?
|
java.lang.String |
getWSDLFile()
the wsdl file of the service.
|
boolean |
isInitialized() |
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(java.lang.Class implClass)
Fill in a service description by introspecting the implementation
class.
|
void |
loadServiceDescByIntrospection(java.lang.Class cls,
org.apache.axis.encoding.TypeMapping tm)
Fill in a service description by introspecting the implementation
class.
|
void |
removeOperationDesc(org.apache.axis.description.OperationDesc operation) |
void |
setAllowedMethods(java.util.List allowedMethods) |
void |
setDefaultNamespace(java.lang.String namespace) |
void |
setDisallowedMethods(java.util.List disallowedMethods) |
void |
setDocumentation(java.lang.String documentation)
set the documentation for the service
|
void |
setEndpointURL(java.lang.String endpointURL) |
void |
setImplClass(java.lang.Class implClass)
set the implementation class
|
void |
setName(java.lang.String name)
the name of the service
|
void |
setNamespaceMappings(java.util.List namespaces) |
void |
setProperty(java.lang.String name,
java.lang.Object value) |
void |
setStopClasses(java.util.ArrayList stopClasses) |
void |
setStyle(org.apache.axis.constants.Style style) |
void |
setTypeMapping(org.apache.axis.encoding.TypeMapping tm) |
void |
setTypeMappingRegistry(org.apache.axis.encoding.TypeMappingRegistry tmr) |
void |
setUse(org.apache.axis.constants.Use use) |
void |
setWSDLFile(java.lang.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.
|
public org.apache.axis.constants.Style getStyle()
getStyle in interface org.apache.axis.description.ServiceDescpublic void setStyle(org.apache.axis.constants.Style style)
setStyle in interface org.apache.axis.description.ServiceDescpublic org.apache.axis.constants.Use getUse()
getUse in interface org.apache.axis.description.ServiceDescpublic void setUse(org.apache.axis.constants.Use use)
setUse in interface org.apache.axis.description.ServiceDescpublic boolean isWrapped()
isWrapped in interface org.apache.axis.description.ServiceDescpublic java.lang.String getWSDLFile()
getWSDLFile in interface org.apache.axis.description.ServiceDescpublic void setWSDLFile(java.lang.String wsdlFileName)
setWSDLFile in interface org.apache.axis.description.ServiceDescwsdlFileName - filename or null to re-enable introspectionpublic java.util.List getAllowedMethods()
getAllowedMethods in interface org.apache.axis.description.ServiceDescpublic void setAllowedMethods(java.util.List allowedMethods)
setAllowedMethods in interface org.apache.axis.description.ServiceDescpublic java.lang.Class getImplClass()
public void setImplClass(java.lang.Class implClass)
Warning: You cannot call getInitializedServiceDesc() after setting this as it uses this to indicate its work has already been done.
implClass - java.lang.IllegalArgumentException - if the implementation class is already
setpublic org.apache.axis.encoding.TypeMapping getTypeMapping()
getTypeMapping in interface org.apache.axis.description.ServiceDescpublic void setTypeMapping(org.apache.axis.encoding.TypeMapping tm)
setTypeMapping in interface org.apache.axis.description.ServiceDescpublic java.lang.String getName()
getName in interface org.apache.axis.description.ServiceDescpublic void setName(java.lang.String name)
setName in interface org.apache.axis.description.ServiceDescname - public java.lang.String getDocumentation()
getDocumentation in interface org.apache.axis.description.ServiceDescpublic void setDocumentation(java.lang.String documentation)
setDocumentation in interface org.apache.axis.description.ServiceDescpublic java.util.ArrayList getStopClasses()
public void setStopClasses(java.util.ArrayList stopClasses)
public java.util.List getDisallowedMethods()
getDisallowedMethods in interface org.apache.axis.description.ServiceDescpublic void setDisallowedMethods(java.util.List disallowedMethods)
setDisallowedMethods in interface org.apache.axis.description.ServiceDescpublic void removeOperationDesc(org.apache.axis.description.OperationDesc operation)
removeOperationDesc in interface org.apache.axis.description.ServiceDescpublic void addOperationDesc(org.apache.axis.description.OperationDesc operation)
addOperationDesc in interface org.apache.axis.description.ServiceDescpublic java.util.ArrayList getOperations()
getOperations in interface org.apache.axis.description.ServiceDescpublic org.apache.axis.description.OperationDesc[] getOperationsByName(java.lang.String methodName)
getOperationsByName in interface org.apache.axis.description.ServiceDescmethodName - public org.apache.axis.description.OperationDesc getOperationByName(java.lang.String methodName)
getOperationByName in interface org.apache.axis.description.ServiceDescpublic org.apache.axis.description.OperationDesc getOperationByElementQName(javax.xml.namespace.QName qname)
getOperationByElementQName in interface org.apache.axis.description.ServiceDescpublic org.apache.axis.description.OperationDesc[] getOperationsByQName(javax.xml.namespace.QName qname)
getOperationsByQName in interface org.apache.axis.description.ServiceDescpublic void loadServiceDescByIntrospection()
public void loadServiceDescByIntrospection(java.lang.Class implClass)
public void loadServiceDescByIntrospection(java.lang.Class cls,
org.apache.axis.encoding.TypeMapping tm)
public void setNamespaceMappings(java.util.List namespaces)
setNamespaceMappings in interface org.apache.axis.description.ServiceDescpublic java.lang.String getDefaultNamespace()
getDefaultNamespace in interface org.apache.axis.description.ServiceDescpublic void setDefaultNamespace(java.lang.String namespace)
setDefaultNamespace in interface org.apache.axis.description.ServiceDescpublic void setProperty(java.lang.String name,
java.lang.Object value)
setProperty in interface org.apache.axis.description.ServiceDescpublic java.lang.Object getProperty(java.lang.String name)
getProperty in interface org.apache.axis.description.ServiceDescpublic java.lang.String getEndpointURL()
getEndpointURL in interface org.apache.axis.description.ServiceDescpublic void setEndpointURL(java.lang.String endpointURL)
setEndpointURL in interface org.apache.axis.description.ServiceDescpublic org.apache.axis.encoding.TypeMappingRegistry getTypeMappingRegistry()
getTypeMappingRegistry in interface org.apache.axis.description.ServiceDescpublic void setTypeMappingRegistry(org.apache.axis.encoding.TypeMappingRegistry tmr)
setTypeMappingRegistry in interface org.apache.axis.description.ServiceDescpublic boolean isInitialized()
isInitialized in interface org.apache.axis.description.ServiceDesc