|
SunSPOT host API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISpotClientExtension
ISpotClientExtension
An interface which extenders of the standard SpotClient command set must implement. First
create a class which implements the interface, then register it by modifying the ant property
spotclient.addin.classes accordingly - something like
spotclient.addin.classes=com.sun.spot.client.command.crypto.MySpotClientExtension
The value of the property may be a comma-separated list of extensions. The jars containing the
classes must also be added to the SpotClient's class path through another ant property:
spotclient.addin.jars=${sunspot.lib}/myspotclientextension.jar
This may also be a list of jars, but these should be separated with a path separator.
See the SPOT Developer's Guide for more details.
Method Summary | |
---|---|
void |
editCommandRepository(SpotClientCommands commandRepository)
This callback is made by the SpotClient during startup. |
Method Detail |
---|
void editCommandRepository(SpotClientCommands commandRepository)
SpotClientCommands
.
commandRepository
- the SpotClientCommands
to modify
|
SunSPOT host API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |