|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.dyade.aaa.common.Service
public class Service
This class is used to register an AgentServer service as an OSGi service. It is needed because AgentServer services are accessed with static methods and are not instantiable.
Field Summary | |
---|---|
static java.lang.String |
SERVICE_NAME_PROP
This property must be added when registering an A3 service to specify the class name of the registered service. |
Constructor Summary | |
---|---|
Service()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SERVICE_NAME_PROP
Properties props = new Properties();
props.put(Service.SERVICE_NAME_PROP, MyService.class.getName());
bundleContext.registerService(Service.class.getName(), new Service(), props);
Constructor Detail |
---|
public Service()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |