|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The driver finder interface. DriverFinder should be implemented by the customer as a part of the configuration. It can then be registered as the DriverFinder hook by an admistrator. The expected semantics of this hook is to map an address to a set of driver instances. This is optional and when provided might be able to fill in the driver info that the application developer might not know, helping the transport system to make its routing decision and enhance its performance.
Method Summary | |
void |
destroy() Destroy the driver finder. |
void |
getDriver(Destination[] d, Message m) Find a list of driver names of driver instances which can be used to send messages to a given list of devices. |
void |
getDriver(Destination d, Message m) Find the name of a driver instance which can be used to send messages to a given device. |
java.lang.String |
getDriver(DeviceInfo d, MessageInfo mi, Message m) Find the name of a driver instance which can be used to send messages to device of given info. |
java.lang.String |
getVersion() Get the version of the driver finder. |
void |
init(java.util.Properties properties) Initialize the driver finder. |
Method Detail |
public void destroy()
public void getDriver(Destination[] d, Message m)
d
- the destination devices.m
- the message to send.public void getDriver(Destination d, Message m)
d
- the destination device.m
- the message to send.public java.lang.String getDriver(DeviceInfo d, MessageInfo mi, Message m)
d
- the destination device info.mi
- the message info.m
- the message to send.public java.lang.String getVersion()
public void init(java.util.Properties properties)
properties
- the driver finder's properties.
|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |