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
ServiceListener
startService
in interface ServiceListener
pEvent
- 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
ServiceListener
stopService
in interface ServiceListener
ServiceException
- if an error occurred while attempting
to stop the service.public void nameContextElementBound(NameContextBindingEvent pEvent)
NameContextBindingListener
nameContextElementBound
in interface NameContextBindingListener
public void nameContextElementUnbound(NameContextBindingEvent pEvent)
NameContextBindingListener
nameContextElementUnbound
in interface NameContextBindingListener