Interface FaultBeanDesc
-
public interface FaultBeanDesc
Description of FaultBean for a FaultDescription. The FaultBean is used to marshal and unmarshal the exception. The FaultBean is determined via annotation, faultInfo and package introspection.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getFaultBeanClassName()
Get the class name of the fault bean for the FaultDescription.String
getFaultBeanLocalName()
Get the local name of the fault bean.String
getFaultBeanNamespace()
Get the targetNamespace of the fault bean.
-
-
-
Method Detail
-
getFaultBeanClassName
String getFaultBeanClassName()
Get the class name of the fault bean for the FaultDescription. Note that the FaultBean may not be a bean. It can be a non-bean (i.e. String or int) Algorithm: 1) The class defined on @WebFault of the exception 2) If not present or invalid, the class defined by getFaultInfo. 3) If not present, the class is found by looking for the a class namedBean in the interface's package. 4) If not present, the class is found by looking for the a class named Bean in the interface + jaxws package - Returns:
-
getFaultBeanLocalName
String getFaultBeanLocalName()
Get the local name of the fault bean. Algorithm: 1) The name defined on the @WebFault of the exception. 2) If not present, the name defined via the @XmlRootElement of the fault bean class. 3) If not present, theBean - Returns:
- local name
-
getFaultBeanNamespace
String getFaultBeanNamespace()
Get the targetNamespace of the fault bean. Algorithm: 1) The namespace defined on the- Returns:
- local name
-
-