|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Created Thu May 9 09:52:36 2002
A door is a way for integrating easily new services
without configuring the jason configuration file. This
is tipically a directory that can contains news service
loaded at starting. However, user can integrate more
service loading type with this interface. It will have
to specify a valid class in the jason.xml file.
DoorContext,
PathDoor| Method Summary | |
Service[] |
getServices()
|
void |
init(DoorContext context)
This is call at the beginning of the Door using by the Domain container. |
boolean |
isUpdatable()
|
void |
update()
Run again the door for signaling new service |
boolean |
writeService(java.lang.String name,
byte[] service)
Write a service. the byte array is the .jas format. |
| Method Detail |
public void init(DoorContext context)
throws DoorException
context - location for services
DoorException - exception for bad location valuepublic void update()
public Service[] getServices()
public boolean isUpdatable()
true if this door can be called at runtime for updating a service
public boolean writeService(java.lang.String name,
byte[] service)
false if the service can't be written
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||