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