public class ExtendedWorkbenchContentSource extends WorkbenchContentSource implements ServiceListener, NameContextBindingListener
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
| Constructor and Description |
|---|
ExtendedWorkbenchContentSource() |
| Modifier and Type | Method and Description |
|---|---|
void |
nameContextElementBound(NameContextBindingEvent pEvent)
This is called to notify the listener that an element was bound
into the NameContext.
|
void |
nameContextElementUnbound(NameContextBindingEvent pEvent)
This is called to notify the listener that an element was unbound
from the NameContext.
|
void |
startService(ServiceEvent pEvent)
Starts the service running.
|
void |
stopService()
Stops the service.
|
public void startService(ServiceEvent pEvent) throws ServiceException
ServiceListenerstartService in interface ServiceListenerpEvent - the ServiceEvent encapsulating information about
the Service's environment and configurationServiceException - if an error occurred while attempting
to start the service.public void stopService()
throws ServiceException
ServiceListenerstopService in interface ServiceListenerServiceException - if an error occurred while attempting
to stop the service.public void nameContextElementBound(NameContextBindingEvent pEvent)
NameContextBindingListenernameContextElementBound in interface NameContextBindingListenerpublic void nameContextElementUnbound(NameContextBindingEvent pEvent)
NameContextBindingListenernameContextElementUnbound in interface NameContextBindingListener