public class SimpleServiceAdapter extends ServiceAdapter
| Constructor and Description |
|---|
SimpleServiceAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(XMap adapterProperties,
XMap destinationProperties) |
Topic |
getTopic(String id) |
Topic |
getTopic(String id,
boolean create) |
Topic |
getTopic(TopicId id) |
TopicId |
getTopicId(String id) |
boolean |
hasTopic(String id) |
Object |
invoke(Channel fromChannel,
AsyncMessage message) |
Object |
manage(Channel fromChannel,
CommandMessage message) |
getAdapterState, getDestination, getGravity, getId, getSecurityPolicy, setAdapterState, setDestination, setGravity, setId, setSecurityPolicy, start, stoppublic SimpleServiceAdapter()
public void configure(XMap adapterProperties, XMap destinationProperties) throws ServiceException
configure in class ServiceAdapterServiceExceptionpublic TopicId getTopicId(String id)
public Object invoke(Channel fromChannel, AsyncMessage message)
invoke in class ServiceAdapterpublic Object manage(Channel fromChannel, CommandMessage message)
manage in class ServiceAdapter