Service Activator Toolkit
Version 1.1.0 (20081206)

org.eclipse.soda.sat.core.record.interfaces
Interface IExportProxyServiceRecord

All Superinterfaces:
IExportServiceRecord, IServiceRecord

public interface IExportProxyServiceRecord
extends IExportServiceRecord

The IExportProxyServiceRecord interface extends the IExportServiceRecord to define how to export a proxy service.

Note: Since this abstraction is used internally by the SAT bundle this interface is typically not used directly by bundle developers. For cases where subclassing the BaseBundleActivator is not appropriate, instances of this interface can be created using the FactoryUtility class.


Field Summary
 
Fields inherited from interface org.eclipse.soda.sat.core.record.interfaces.IExportServiceRecord
BUNDLE_ID_PROPERTY, BUNDLE_VERSION_PROPERTY, SERVICE_REGISTRATION_TIMESTAMP_PROPERTY, SERVICE_VENDOR_PROPERTY
 
Method Summary
 Object getRealService()
          Get the real service, rather than the proxy.
 boolean isServiceCreated()
          Query method for testing whether the proxy service has been created.
 
Methods inherited from interface org.eclipse.soda.sat.core.record.interfaces.IExportServiceRecord
getNames, getProperties, getServiceReference, isProxy, isRegistered, register, setProperties, unregister
 
Methods inherited from interface org.eclipse.soda.sat.core.record.interfaces.IServiceRecord
basicToString, getBundleContext, getProperty, getPropertyKeys, getService
 

Method Detail

getRealService

Object getRealService()
Get the real service, rather than the proxy.

Returns:
The real service.

isServiceCreated

boolean isServiceCreated()
Query method for testing whether the proxy service has been created. Being able to test whether the proxy service has been created is important since getRealService() causes the proxy service to be created if it does not exist.

Returns:
True if the proxy service has been created, otherwise false.

Service Activator Toolkit
Version 1.1.0 (20081206)