Openwings API Documentation (v1.0)

net.openwings.service
Class ServiceInterfaceChecker

java.lang.Object
  |
  +--net.openwings.service.ServiceInterfaceChecker

public class ServiceInterfaceChecker
extends java.lang.Object

This class provides static methods that check synchronous and asynchronous service interfaces according to the standards outlined in the Openwings Interface Specification.


Method Summary
static void asynchronousInterfaceCheck(java.lang.Class serviceInterface)
          This method checks that a asynchronous interface is a valid service interface.
static void synchronousInterfaceCheck(java.lang.Class serviceInterface)
          This method checks that a synchronous interface is a valid service interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

synchronousInterfaceCheck

public static void synchronousInterfaceCheck(java.lang.Class serviceInterface)
                                      throws ServiceInterfaceException
This method checks that a synchronous interface is a valid service interface.

Parameters:
serviceInterface - interface to be checked
Throws:
ServiceInterfaceException - if the interface is not a valid synchronous service interface

asynchronousInterfaceCheck

public static void asynchronousInterfaceCheck(java.lang.Class serviceInterface)
                                       throws ServiceInterfaceException
This method checks that a asynchronous interface is a valid service interface.

Parameters:
serviceInterface - interface to be checked
Throws:
ServiceInterfaceException - if the interface is not a valid asynchronous service interface

Openwings API Documentation (v1.0)