org.granite.gravity.adapters
Class SimpleServiceAdapter
java.lang.Object
org.granite.gravity.adapters.ServiceAdapter
org.granite.gravity.adapters.SimpleServiceAdapter
public class SimpleServiceAdapter
- extends ServiceAdapter
- Author:
- William DRAI
| Methods inherited from class org.granite.gravity.adapters.ServiceAdapter |
getAdapterState, getDestination, getGravity, getId, getSecurityPolicy, setAdapterState, setDestination, setGravity, setId, setSecurityPolicy, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleServiceAdapter
public SimpleServiceAdapter()
configure
public void configure(XMap adapterProperties,
XMap destinationProperties)
throws ServiceException
- Overrides:
configure in class ServiceAdapter
- Throws:
ServiceException
getTopic
public Topic getTopic(TopicId id)
getTopic
public Topic getTopic(String id)
getTopic
public Topic getTopic(String id,
boolean create)
getTopicId
public TopicId getTopicId(String id)
hasTopic
public boolean hasTopic(String id)
invoke
public Object invoke(Channel fromChannel,
AsyncMessage message)
- Specified by:
invoke in class ServiceAdapter
manage
public Object manage(Channel fromChannel,
CommandMessage message)
- Specified by:
manage in class ServiceAdapter