org.apache.axis2.jaxws.runtime.description.marshal.impl
Class MarshalServiceRuntimeDescriptionImpl

java.lang.Object
  extended by org.apache.axis2.jaxws.runtime.description.marshal.impl.MarshalServiceRuntimeDescriptionImpl
All Implemented Interfaces:
ServiceRuntimeDescription, MarshalServiceRuntimeDescription

public class MarshalServiceRuntimeDescriptionImpl
extends Object
implements MarshalServiceRuntimeDescription


Constructor Summary
protected MarshalServiceRuntimeDescriptionImpl(String key, ServiceDescription serviceDesc)
           
 
Method Summary
 AnnotationDesc getAnnotationDesc(Class cls)
          Gets/Creates the AnnotationDesc for this class.
 AnnotationDesc getAnnotationDesc(String clsName)
          Gets the AnnotationDesc for this class if already determined
 FaultBeanDesc getFaultBeanDesc(FaultDescription faultDesc)
           
 String getKey()
           
 MessageFactory getMessageFactory()
           
 Method getMethod(OperationDescription operationDesc)
          Get the Method for the specified OperationDescription
 TreeSet<String> getPackages()
           
 String getPackagesKey()
           
 Map<String,PropertyDescriptorPlus> getPropertyDescriptorMap(Class cls)
          Get the PropertyDescriptor map for the class.
 String getRequestWrapperClassName(OperationDescription operationDesc)
           
 String getResponseWrapperClassName(OperationDescription operationDesc)
           
 ServiceDescription getServiceDescription()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MarshalServiceRuntimeDescriptionImpl

protected MarshalServiceRuntimeDescriptionImpl(String key,
                                               ServiceDescription serviceDesc)
Method Detail

getServiceDescription

public ServiceDescription getServiceDescription()
Specified by:
getServiceDescription in interface ServiceRuntimeDescription
Returns:
OperationDesc parent

getKey

public String getKey()
Specified by:
getKey in interface ServiceRuntimeDescription
Returns:
String

getPackages

public TreeSet<String> getPackages()
Specified by:
getPackages in interface MarshalServiceRuntimeDescription
Returns:
Set of package names for this service

getPackagesKey

public String getPackagesKey()
Specified by:
getPackagesKey in interface MarshalServiceRuntimeDescription
Returns:
Unique key that represents the object returned by getPackages

getAnnotationDesc

public AnnotationDesc getAnnotationDesc(Class cls)
Description copied from interface: MarshalServiceRuntimeDescription
Gets/Creates the AnnotationDesc for this class.

Specified by:
getAnnotationDesc in interface MarshalServiceRuntimeDescription
Returns:
AnnotationDesc

getAnnotationDesc

public AnnotationDesc getAnnotationDesc(String clsName)
Description copied from interface: MarshalServiceRuntimeDescription
Gets the AnnotationDesc for this class if already determined

Specified by:
getAnnotationDesc in interface MarshalServiceRuntimeDescription
Returns:
AnnotationDesc or null

getPropertyDescriptorMap

public Map<String,PropertyDescriptorPlus> getPropertyDescriptorMap(Class cls)
Description copied from interface: MarshalServiceRuntimeDescription
Get the PropertyDescriptor map for the class. The key of the map is a child xml local name. The value is a PropertyDescriptor, that will be used to set/get values from a bean of the indicated class

Specified by:
getPropertyDescriptorMap in interface MarshalServiceRuntimeDescription
Returns:
get the cached copy or create a new one

getRequestWrapperClassName

public String getRequestWrapperClassName(OperationDescription operationDesc)
Specified by:
getRequestWrapperClassName in interface MarshalServiceRuntimeDescription
Returns:
specified or defaulted wrapper class name. Always returns null if the wrapper class does not exist.

getResponseWrapperClassName

public String getResponseWrapperClassName(OperationDescription operationDesc)
Specified by:
getResponseWrapperClassName in interface MarshalServiceRuntimeDescription
Returns:
specified or defaulted wrapper class name. Always returns null if the wrapper class does not exist.

getFaultBeanDesc

public FaultBeanDesc getFaultBeanDesc(FaultDescription faultDesc)
Specified by:
getFaultBeanDesc in interface MarshalServiceRuntimeDescription
Returns:
FaultBeanDescriptor that describes the fault bean

getMethod

public Method getMethod(OperationDescription operationDesc)
Get the Method for the specified OperationDescription

Specified by:
getMethod in interface MarshalServiceRuntimeDescription
Returns:
Method

toString

public String toString()
Overrides:
toString in class Object

getMessageFactory

public MessageFactory getMessageFactory()
Specified by:
getMessageFactory in interface MarshalServiceRuntimeDescription
Returns:
MessageFactory for this Marshaller


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.