org.jboss.txbridge.ba.helper
Class BAServiceVisitor

java.lang.Object
  extended by org.jboss.txbridge.ba.helper.BAServiceVisitor

public class BAServiceVisitor
extends java.lang.Object

This component visits the service and describes it in terms of its requirements related to participating in Business Activities. TODO: Redesign this class - it would be better to have multiple small and exchangeable classes than a big one.

Version:
0.1
Author:
Maciej P. Machulak (mmachulak@redhat.com)

Field Summary
private static org.apache.log4j.Logger log
           
 
Constructor Summary
BAServiceVisitor()
           
 
Method Summary
static ServiceDescription processMethod(java.lang.reflect.Method method)
          This method processes a single method that
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static org.apache.log4j.Logger log
Constructor Detail

BAServiceVisitor

public BAServiceVisitor()
Method Detail

processMethod

public static ServiceDescription processMethod(java.lang.reflect.Method method)
                                        throws MethodIncorrectlyAnnotatedException,
                                               MethodNotAccessibleException
This method processes a single method that

Parameters:
method - is the method to be processed.
Returns:
the service description.
Throws:
MethodIncorrectlyAnnotatedException - if the method is not annotated correctly.
MethodNotAccessibleException - if the specified compensatiom method is not accessible.