|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectManagedServiceBundleActivator
org.eclipse.soda.dk.core.managed.CoreManaged
public abstract class CoreManaged
The ConnectionBundle is the standard Bundle Activator for all other transport bundle activators to subclass.
| Field Summary | |
|---|---|
static java.lang.String |
CONFIGURATION_ADMIN_SERVICE
Define the configuration admin service (String) constant. |
static java.lang.String |
ID_KEY
Define the id key (String) constant. |
static java.lang.String |
ID_KEY_FILTER
Define the id key filter (String) constant. |
static java.lang.String[] |
IMPORTED_SERVICES
Define the imported services (String[]) constant. |
static java.lang.String |
METATYPE_SERVICE
Define the metatype service (String) constant. |
static java.lang.String[] |
OPTIONAL_SERVICES
Define the optional service (String[]) constant. |
| Constructor Summary | |
|---|---|
CoreManaged()
|
|
| Method Summary | |
|---|---|
protected IManagedServiceAdvisor |
createAdvisor()
Create advisor and return the IManagedServiceAdvisor result. |
void |
createImportedServiceFilters(java.lang.String pid,
java.util.Dictionary oldProperties,
java.util.Dictionary properties,
IBundleActivationManager manager)
Create imported service filters with the specified pid, old properties, properties and manager parameters. |
java.util.Hashtable |
createProperties()
Create the properties. |
abstract java.lang.String[] |
getExportedServiceNames(java.lang.String pid,
java.util.Dictionary oldProperties,
java.util.Dictionary properties,
IBundleActivationManager manager)
Gets the service names (String[]) value. |
protected java.lang.String[] |
getImportedServiceNames()
Gets the imported service names (String[]) value. |
java.lang.String[] |
getImportedServiceNames(java.lang.String pid,
java.util.Dictionary arg1,
java.util.Dictionary arg2,
IBundleActivationManager manager)
Get imported service names with the specified pid, arg1, arg2 and manager parameters and return the String[] result. |
java.lang.String |
getInterestServiceName()
Gets the interest service name (String) value. |
protected java.lang.String[] |
getOptionalImportedServiceNames()
Gets the optional imported service names (String[]) value. |
java.lang.String[] |
getOptionalImportedServiceNames(java.lang.String pid,
java.util.Dictionary arg1,
java.util.Dictionary arg2,
IBundleActivationManager arg3)
Get optional imported service names with the specified pid, arg1, arg2 and arg3 parameters and return the String[] result. |
void |
handleAcquiredOptionalImportedService(java.lang.String pid,
java.lang.Object arg1,
java.lang.String arg2,
java.lang.Object arg3,
IBundleActivationManager arg4)
Handle acquired optional imported service with the specified pid, arg1, arg2, arg3 and arg4 parameters. |
protected void |
handleAcquiredOptionalImportedService(java.lang.String pid,
java.lang.String serviceName,
java.lang.Object service)
Handle acquired optional imported service with the specified service name and service parameters. |
void |
handleReleasedOptionalImportedService(java.lang.String pid,
java.lang.Object arg1,
java.lang.String arg2,
java.lang.Object arg3,
IBundleActivationManager arg4)
Handle released optional imported service with the specified pid, arg1, arg2, arg3 and arg4 parameters. |
protected void |
handleReleasedOptionalImportedService(java.lang.String pid,
java.lang.String serviceName,
java.lang.Object service)
Handle released optional imported service with the specified service name and service parameters. |
void |
updateProperties(java.util.Dictionary table,
java.util.Dictionary from)
Update properties with the specified table and from parameters. |
void |
updateProperties(java.util.Dictionary table,
java.util.Map from)
Update properties with the specified table and from parameters. |
void |
validateConfiguration(java.lang.String pid,
java.util.Dictionary properties)
Validate configuration with the specified pid and properties parameters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.osgi.service.cm.ManagedService |
|---|
updated |
| Field Detail |
|---|
public static final java.lang.String METATYPE_SERVICE
public static final java.lang.String CONFIGURATION_ADMIN_SERVICE
public static final java.lang.String[] IMPORTED_SERVICES
public static final java.lang.String[] OPTIONAL_SERVICES
public static final java.lang.String ID_KEY_FILTER
public static final java.lang.String ID_KEY
| Constructor Detail |
|---|
public CoreManaged()
| Method Detail |
|---|
protected IManagedServiceAdvisor createAdvisor()
IManagedServiceFactoryAdvisor) value.
public void createImportedServiceFilters(java.lang.String pid,
java.util.Dictionary oldProperties,
java.util.Dictionary properties,
IBundleActivationManager manager)
pid - The PID (String) parameter.oldProperties - The old properties (Dictionary) parameter.properties - The properties (Dictionary) parameter.manager - The manager (IBundleActivationManager) parameter.public java.util.Hashtable createProperties()
Hashtable).updateProperties(Dictionary,Dictionary),
updateProperties(Dictionary,Map)
public abstract java.lang.String[] getExportedServiceNames(java.lang.String pid,
java.util.Dictionary oldProperties,
java.util.Dictionary properties,
IBundleActivationManager manager)
pid - The PID (String) parameter.oldProperties - The old properties (Dictionary) parameter.properties - The properties (Dictionary) parameter.manager - The manager (IBundleActivationManager) parameter.
String[]) value. The manager (IBundleActivationManager) parameter.protected java.lang.String[] getImportedServiceNames()
String[]) value.getImportedServiceNames(String,Dictionary,Dictionary,IBundleActivationManager),
getOptionalImportedServiceNames(),
getOptionalImportedServiceNames(String,Dictionary,Dictionary,IBundleActivationManager)
public java.lang.String[] getImportedServiceNames(java.lang.String pid,
java.util.Dictionary arg1,
java.util.Dictionary arg2,
IBundleActivationManager manager)
pid - The PID (String) parameter.arg1 - The arg1 (Dictionary) parameter.arg2 - The arg2 (Dictionary) parameter.manager - The manager (IBundleActivationManager) parameter.
String[]) value.getImportedServiceNames(),
getOptionalImportedServiceNames(),
getOptionalImportedServiceNames(String,Dictionary,Dictionary,IBundleActivationManager)public java.lang.String getInterestServiceName()
String) value.protected java.lang.String[] getOptionalImportedServiceNames()
String[]) value.getOptionalImportedServiceNames(String,Dictionary,Dictionary,IBundleActivationManager)
public java.lang.String[] getOptionalImportedServiceNames(java.lang.String pid,
java.util.Dictionary arg1,
java.util.Dictionary arg2,
IBundleActivationManager arg3)
pid - The PID (String) parameter.arg1 - The arg1 (Dictionary) parameter.arg2 - The arg2 (Dictionary) parameter.arg3 - The arg3 (IBundleActivationManager) parameter.
String[]) value.getOptionalImportedServiceNames()
public void handleAcquiredOptionalImportedService(java.lang.String pid,
java.lang.Object arg1,
java.lang.String arg2,
java.lang.Object arg3,
IBundleActivationManager arg4)
pid - The PID (String) parameter.arg1 - The arg1 (Object) parameter.arg2 - The arg2 (String) parameter.arg3 - The arg3 (Object) parameter.arg4 - The arg4 (IBundleActivationManager) parameter.handleAcquiredOptionalImportedService(String,String,Object)
protected void handleAcquiredOptionalImportedService(java.lang.String pid,
java.lang.String serviceName,
java.lang.Object service)
pid - The PID (String) parameter.serviceName - The service name (String) parameter.service - The service (Object) parameter.handleAcquiredOptionalImportedService(String,Object,String,Object,IBundleActivationManager)
public void handleReleasedOptionalImportedService(java.lang.String pid,
java.lang.Object arg1,
java.lang.String arg2,
java.lang.Object arg3,
IBundleActivationManager arg4)
pid - The PID (String) parameter.arg1 - The arg1 (Object) parameter.arg2 - The arg2 (String) parameter.arg3 - The arg3 (Object) parameter.arg4 - The arg4 (IBundleActivationManager) parameter.handleReleasedOptionalImportedService(String,String,Object)
protected void handleReleasedOptionalImportedService(java.lang.String pid,
java.lang.String serviceName,
java.lang.Object service)
pid - The PID (String) parameter.serviceName - The service name (String) parameter.service - The service (Object) parameter.handleReleasedOptionalImportedService(String,Object,String,Object,IBundleActivationManager)
public void updateProperties(java.util.Dictionary table,
java.util.Dictionary from)
table - The table (Dictionary) parameter.from - The from (Dictionary) parameter.createProperties(),
updateProperties(Dictionary,Map)
public void updateProperties(java.util.Dictionary table,
java.util.Map from)
table - The table (Dictionary) parameter.from - The from (Map) parameter.createProperties(),
updateProperties(Dictionary,Dictionary)
public void validateConfiguration(java.lang.String pid,
java.util.Dictionary properties)
throws org.osgi.service.cm.ConfigurationException
pid - The PID (String) parameter.properties - The properties (Dictionary) parameter.
org.osgi.service.cm.ConfigurationException - Configuration Exception.
|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||