org.sca4j.binding.jms.control
Class PayloadTypeIntrospectorImpl
java.lang.Object
org.sca4j.binding.jms.control.PayloadTypeIntrospectorImpl
- All Implemented Interfaces:
- PayloadTypeIntrospector
public class PayloadTypeIntrospectorImpl
- extends java.lang.Object
- implements PayloadTypeIntrospector
Default implementation of the PayloadTypeIntrospector. Message types are
determined as follows:
<ul>
<li>If the operation has a JAXB databinding intent, a text type is returned
<li>If the parameters are Serializable, an object message is returned
<li>If the parameters are primitives, the specific primitive type is returned
<li>If the parameters are a stream, a stream message is returned
<ul>
- Version:
- $Revision$ $Date$
|
Method Summary |
|
introspect(org.sca4j.scdl.Operation<T> operation)
Performs the introspection. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PayloadTypeIntrospectorImpl
public PayloadTypeIntrospectorImpl()
introspect
public <T> PayloadType introspect(org.sca4j.scdl.Operation<T> operation)
throws JmsGenerationException
- Description copied from interface:
PayloadTypeIntrospector
- Performs the introspection.
- Specified by:
introspect in interface PayloadTypeIntrospector
- Parameters:
operation - the operation to introspect
- Returns:
- the JMS message type
- Throws:
JmsGenerationException - if an error occurs introspecting the
operation
Copyright © 2008-2010 Service Symphony. All Rights Reserved.