org.granite.config.flex
Class Service

java.lang.Object
  extended by org.granite.config.flex.Service

public class Service
extends Object

Author:
Franck WOLFF

Constructor Summary
Service(String id, String className, String messageTypes, Adapter defaultAdapter, Map<String,Adapter> adapters, Map<String,Destination> destinations)
           
 
Method Summary
 void addAdapter(Adapter adapter)
           
 Adapter findAdapterById(String id)
           
 Destination findDestinationById(String id)
           
static Service forElement(XMap element)
           
 String getClassName()
           
 Adapter getDefaultAdapter()
           
 Map<String,Destination> getDestinations()
           
 String getId()
           
 String getMessageTypes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Service

public Service(String id,
               String className,
               String messageTypes,
               Adapter defaultAdapter,
               Map<String,Adapter> adapters,
               Map<String,Destination> destinations)
Method Detail

getId

public String getId()

getClassName

public String getClassName()

getMessageTypes

public String getMessageTypes()

findDestinationById

public Destination findDestinationById(String id)

getDestinations

public Map<String,Destination> getDestinations()

findAdapterById

public Adapter findAdapterById(String id)

getDefaultAdapter

public Adapter getDefaultAdapter()

addAdapter

public void addAdapter(Adapter adapter)

forElement

public static Service forElement(XMap element)