|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.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 (src) operation)
|
java.util.List |
getAllowedMethods()
|
java.lang.String |
getDefaultNamespace()
|
java.util.List |
getDisallowedMethods()
|
java.lang.String |
getEndpointURL()
|
java.lang.Class |
getImplClass()
|
java.lang.String |
getName()
the name of the service |
OperationDesc (src) |
getOperationByElementQName(QName (src) qname)
Map an XML QName to an operation. |
OperationDesc (src) |
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 (src) [] |
getOperationsByName(java.lang.String methodName)
get all overloaded operations by name |
OperationDesc (src) [] |
getOperationsByQName(QName (src) qname)
Return all operations which match this QName (i.e. |
java.lang.Object |
getProperty(java.lang.String name)
|
java.util.ArrayList |
getStopClasses()
|
Style (src) |
getStyle()
What kind of service is this? |
TypeMapping (src) |
getTypeMapping()
|
TypeMappingRegistry (src) |
getTypeMappingRegistry()
|
Use (src) |
getUse()
What kind of use is this? |
java.lang.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(java.lang.Class implClass)
Fill in a service description by introspecting the implementation class. |
void |
loadServiceDescByIntrospection(java.lang.Class cls,
TypeMapping (src) tm)
Fill in a service description by introspecting the implementation class. |
void |
setAllowedMethods(java.util.List allowedMethods)
|
void |
setDefaultNamespace(java.lang.String namespace)
|
void |
setDisallowedMethods(java.util.List disallowedMethods)
|
void |
setEndpointURL(java.lang.String endpointURL)
|
void |
setImplClass(java.lang.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(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 (src) style)
|
void |
setTypeMapping(TypeMapping (src) tm)
|
void |
setTypeMappingRegistry(TypeMappingRegistry (src) tmr)
|
void |
setUse(Use (src) 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 |
Constructor Detail |
public ServiceDesc()
Method Detail |
public Style (src) getStyle()
public void setStyle(Style (src) style)
public Use (src) getUse()
public void setUse(Use (src) use)
public boolean isWrapped()
public java.lang.String getWSDLFile()
public void setWSDLFile(java.lang.String wsdlFileName)
wsdlFileName
- filename or null to re-enable introspectionpublic java.util.List getAllowedMethods()
public void setAllowedMethods(java.util.List allowedMethods)
public java.lang.Class getImplClass()
public void setImplClass(java.lang.Class implClass)
implClass
-
java.lang.IllegalArgumentException
- if the implementation class is already
setpublic TypeMapping (src) getTypeMapping()
public void setTypeMapping(TypeMapping (src) tm)
public java.lang.String getName()
public void setName(java.lang.String name)
name
- public java.util.ArrayList getStopClasses()
public void setStopClasses(java.util.ArrayList stopClasses)
public java.util.List getDisallowedMethods()
public void setDisallowedMethods(java.util.List disallowedMethods)
public void addOperationDesc(OperationDesc (src) operation)
public java.util.ArrayList getOperations()
public OperationDesc (src) [] getOperationsByName(java.lang.String methodName)
methodName
-
public OperationDesc (src) getOperationByName(java.lang.String methodName)
public OperationDesc (src) getOperationByElementQName(QName (src) qname)
public OperationDesc (src) [] getOperationsByQName(QName (src) qname)
public void loadServiceDescByIntrospection()
public void loadServiceDescByIntrospection(java.lang.Class implClass)
public void loadServiceDescByIntrospection(java.lang.Class cls, TypeMapping (src) tm)
public void setNamespaceMappings(java.util.List namespaces)
public java.lang.String getDefaultNamespace()
public void setDefaultNamespace(java.lang.String namespace)
public void setProperty(java.lang.String name, java.lang.Object value)
public java.lang.Object getProperty(java.lang.String name)
public java.lang.String getEndpointURL()
public void setEndpointURL(java.lang.String endpointURL)
public TypeMappingRegistry (src) getTypeMappingRegistry()
public void setTypeMappingRegistry(TypeMappingRegistry (src) tmr)
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |