|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectBaseBundleActivator
org.eclipse.soda.dk.core.bundle.CoreBundle
public abstract class CoreBundle
The TransportBundle is the standard Bundle Activator for all other transport bundle activators to subclass.
| Constructor Summary | |
|---|---|
CoreBundle()
|
|
| Method Summary | |
|---|---|
protected void |
activate()
Create exported services. |
java.util.Hashtable |
createManagedProperties()
Create managed properties and return the Hashtable result. |
java.util.Hashtable |
createProperties()
Create the properties. |
protected void |
deactivate()
Deactivate. |
java.lang.String[] |
getExportedServiceNames()
Gets the exported service names (String[]) value. |
java.util.Dictionary |
getManagedProperties()
Gets the managed properties (Dictionary) value. |
java.lang.String |
getServiceName()
Return the service name to be registered. |
protected void |
handleAcquiredImportedService(java.lang.Object service)
Handle acquired imported service with the specified service parameter. |
protected void |
handleReleasedImportedService(java.lang.Object service)
Handle released imported service with the specified service parameter. |
void |
log(int severity,
java.lang.String message)
Log with the specified severity and message parameters. |
void |
log(int severity,
java.lang.String message,
java.lang.Throwable exception)
Log with the specified severity, message and exception parameters. |
protected boolean |
requiresAllImportedServices()
Requires all imported services and return the boolean result. |
void |
setManagedProperties(java.util.Dictionary managedProperties)
Sets the managed properties value. |
void |
updated(java.util.Dictionary properties)
Updated with the specified properties parameter. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CoreBundle()
| Method Detail |
|---|
protected void activate()
public java.util.Hashtable createManagedProperties()
Hashtable) value.getManagedProperties(),
setManagedProperties(Dictionary)public java.util.Hashtable createProperties()
Hashtable) value.createManagedProperties(),
getManagedProperties(),
setManagedProperties(Dictionary),
updateProperties(Dictionary,Dictionary),
updateProperties(Dictionary,Map)protected void deactivate()
public java.lang.String[] getExportedServiceNames()
String[]) value.public java.util.Dictionary getManagedProperties()
Dictionary) value.createManagedProperties(),
setManagedProperties(Dictionary)public java.lang.String getServiceName()
String) value.protected void handleAcquiredImportedService(java.lang.Object service)
service - The service (Object) parameter.protected void handleReleasedImportedService(java.lang.Object service)
service - The service (Object) parameter.
public void log(int severity,
java.lang.String message)
severity - The severity (int) parameter.message - The message (String) parameter.log(int,String,Throwable)
public void log(int severity,
java.lang.String message,
java.lang.Throwable exception)
severity - The severity (int) parameter.message - The message (String) parameter.exception - The exception (Throwable) parameter.log(int,String)protected boolean requiresAllImportedServices()
boolean) value.public void setManagedProperties(java.util.Dictionary managedProperties)
managedProperties - The managed properties (Dictionary) parameter.createManagedProperties(),
getManagedProperties()
public void updateProperties(java.util.Dictionary table,
java.util.Dictionary from)
table - The table (Dictionary) parameter.from - The from (Dictionary) parameter.createManagedProperties(),
createProperties(),
getManagedProperties(),
setManagedProperties(Dictionary),
updateProperties(Dictionary,Map)
public void updateProperties(java.util.Dictionary table,
java.util.Map from)
table - The table (Dictionary) parameter.from - The from (Map) parameter.createManagedProperties(),
createProperties(),
getManagedProperties(),
setManagedProperties(Dictionary),
updateProperties(Dictionary,Dictionary)
public void updated(java.util.Dictionary properties)
throws org.osgi.service.cm.ConfigurationException
Dictionary) parameter. Configuration Exception.
updated in interface org.osgi.service.cm.ManagedServiceproperties - 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 | |||||||||