Package org.osgi.service.application
Class ApplicationDescriptor.Delegate
- java.lang.Object
-
- org.osgi.service.application.ApplicationDescriptor.Delegate
-
- Enclosing class:
- ApplicationDescriptor
static class ApplicationDescriptor.Delegate extends java.lang.ObjectThis class will load the class named by the org.osgi.vendor.application.ApplicationDescriptor and delegate method calls to an instance of the class.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.lang.StringcName(package private) static java.lang.Classimplementation(package private) static java.lang.reflect.MethodisLocked(package private) static java.lang.reflect.Methodlaunch(package private) static java.lang.reflect.Methodlock(package private) static java.lang.reflect.Methodschedule(package private) static java.lang.reflect.MethodsetApplicationDescriptor(package private) java.lang.Objecttarget(package private) static java.lang.reflect.Methodunlock
-
Constructor Summary
Constructors Constructor Description Delegate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) booleanisLocked()(package private) voidlaunch(java.util.Map arguments)(package private) voidlock()(package private) ScheduledApplicationschedule(java.lang.String scheduleId, java.util.Map args, java.lang.String topic, java.lang.String filter, boolean recurs)(package private) voidsetApplicationDescriptor(ApplicationDescriptor d, java.lang.String pid)(package private) voidunlock()
-
-
-
Field Detail
-
cName
static java.lang.String cName
-
implementation
static java.lang.Class implementation
-
setApplicationDescriptor
static java.lang.reflect.Method setApplicationDescriptor
-
isLocked
static java.lang.reflect.Method isLocked
-
lock
static java.lang.reflect.Method lock
-
unlock
static java.lang.reflect.Method unlock
-
schedule
static java.lang.reflect.Method schedule
-
launch
static java.lang.reflect.Method launch
-
target
java.lang.Object target
-
-
Method Detail
-
setApplicationDescriptor
void setApplicationDescriptor(ApplicationDescriptor d, java.lang.String pid)
-
isLocked
boolean isLocked()
-
lock
void lock()
-
unlock
void unlock()
-
schedule
ScheduledApplication schedule(java.lang.String scheduleId, java.util.Map args, java.lang.String topic, java.lang.String filter, boolean recurs) throws org.osgi.framework.InvalidSyntaxException, ApplicationException
- Throws:
org.osgi.framework.InvalidSyntaxExceptionApplicationException
-
launch
void launch(java.util.Map arguments) throws ApplicationException- Throws:
ApplicationException
-
-