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.Object
This 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.String
cName
(package private) static java.lang.Class
implementation
(package private) static java.lang.reflect.Method
isLocked
(package private) static java.lang.reflect.Method
launch
(package private) static java.lang.reflect.Method
lock
(package private) static java.lang.reflect.Method
schedule
(package private) static java.lang.reflect.Method
setApplicationDescriptor
(package private) java.lang.Object
target
(package private) static java.lang.reflect.Method
unlock
-
Constructor Summary
Constructors Constructor Description Delegate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) boolean
isLocked()
(package private) void
launch(java.util.Map arguments)
(package private) void
lock()
(package private) ScheduledApplication
schedule(java.lang.String scheduleId, java.util.Map args, java.lang.String topic, java.lang.String filter, boolean recurs)
(package private) void
setApplicationDescriptor(ApplicationDescriptor d, java.lang.String pid)
(package private) void
unlock()
-
-
-
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.InvalidSyntaxException
ApplicationException
-
launch
void launch(java.util.Map arguments) throws ApplicationException
- Throws:
ApplicationException
-
-