org.granite.gravity.adapters
Class AdapterFactory

java.lang.Object
  extended by org.granite.gravity.adapters.AdapterFactory
All Implemented Interfaces:
Serializable

public class AdapterFactory
extends Object
implements Serializable

Author:
William DRAI
See Also:
Serialized Form

Constructor Summary
AdapterFactory(Gravity gravity)
           
 
Method Summary
 ServiceAdapter getServiceAdapter(Message request)
           
 ServiceAdapter getServiceAdapter(String messageType, String destinationId)
           
 void stopAll()
           
 String toString()
           
 String toString(String append)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AdapterFactory

public AdapterFactory(Gravity gravity)
Method Detail

getServiceAdapter

public ServiceAdapter getServiceAdapter(Message request)
                                 throws ServiceException
Throws:
ServiceException

getServiceAdapter

public ServiceAdapter getServiceAdapter(String messageType,
                                        String destinationId)
                                 throws ServiceException
Throws:
ServiceException

stopAll

public void stopAll()

toString

public String toString()
Overrides:
toString in class Object

toString

public String toString(String append)