|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.axis.description.JavaServiceDesc
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.
| Field Summary | |
protected static org.apache.commons.logging.Log |
log
|
| Constructor Summary | |
JavaServiceDesc()
Default constructor |
|
| Method Summary | |
void |
addOperationDesc(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 |
OperationDesc |
getOperationByElementQName(QName qname)
Map an XML QName to an operation. |
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. |
OperationDesc[] |
getOperationsByName(java.lang.String methodName)
get all overloaded operations by name |
OperationDesc[] |
getOperationsByQName(QName qname)
Return all operations which match this QName (i.e. |
java.lang.Object |
getProperty(java.lang.String name)
|
java.util.ArrayList |
getStopClasses()
|
Style |
getStyle()
What kind of service is this? |
TypeMapping |
getTypeMapping()
|
TypeMappingRegistry |
getTypeMappingRegistry()
|
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,
TypeMapping tm)
Fill in a service description by introspecting the implementation class. |
void |
removeOperationDesc(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(Style style)
|
void |
setTypeMapping(TypeMapping tm)
|
void |
setTypeMappingRegistry(TypeMappingRegistry tmr)
|
void |
setUse(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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static org.apache.commons.logging.Log log
| Constructor Detail |
public JavaServiceDesc()
| Method Detail |
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 java.lang.String getWSDLFile()
getWSDLFile in interface ServiceDescpublic void setWSDLFile(java.lang.String wsdlFileName)
setWSDLFile in interface ServiceDescwsdlFileName - filename or null to re-enable introspectionpublic java.util.List getAllowedMethods()
getAllowedMethods in interface ServiceDescpublic void setAllowedMethods(java.util.List allowedMethods)
setAllowedMethods in interface 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 TypeMapping getTypeMapping()
getTypeMapping in interface ServiceDescpublic void setTypeMapping(TypeMapping tm)
setTypeMapping in interface ServiceDescpublic java.lang.String getName()
getName in interface ServiceDescpublic void setName(java.lang.String name)
setName in interface ServiceDescname - public java.lang.String getDocumentation()
getDocumentation in interface ServiceDescpublic void setDocumentation(java.lang.String documentation)
setDocumentation in interface ServiceDescpublic java.util.ArrayList getStopClasses()
public void setStopClasses(java.util.ArrayList stopClasses)
public java.util.List getDisallowedMethods()
getDisallowedMethods in interface ServiceDescpublic void setDisallowedMethods(java.util.List disallowedMethods)
setDisallowedMethods in interface ServiceDescpublic void removeOperationDesc(OperationDesc operation)
removeOperationDesc in interface ServiceDescpublic void addOperationDesc(OperationDesc operation)
addOperationDesc in interface ServiceDescpublic java.util.ArrayList getOperations()
getOperations in interface ServiceDescpublic OperationDesc[] getOperationsByName(java.lang.String methodName)
getOperationsByName in interface ServiceDescmethodName -
public OperationDesc getOperationByName(java.lang.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(java.lang.Class implClass)
public void loadServiceDescByIntrospection(java.lang.Class cls,
TypeMapping tm)
public void setNamespaceMappings(java.util.List namespaces)
setNamespaceMappings in interface ServiceDescpublic java.lang.String getDefaultNamespace()
getDefaultNamespace in interface ServiceDescpublic void setDefaultNamespace(java.lang.String namespace)
setDefaultNamespace in interface ServiceDesc
public void setProperty(java.lang.String name,
java.lang.Object value)
setProperty in interface ServiceDescpublic java.lang.Object getProperty(java.lang.String name)
getProperty in interface ServiceDescpublic java.lang.String getEndpointURL()
getEndpointURL in interface ServiceDescpublic void setEndpointURL(java.lang.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 ServiceDesc
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||