|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectWorkbenchContentSource
atg.endeca.assembler.content.ExtendedWorkbenchContentSource
public class ExtendedWorkbenchContentSource
This class extends WorkbenchContentSource to implement ServiceListener interface. This allows to call init() method when services is started, and destroy() when it is no longer needed.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
ExtendedWorkbenchContentSource()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public ExtendedWorkbenchContentSource()
Method Detail |
---|
public void startService(ServiceEvent pEvent) throws ServiceException
ServiceListener
startService
in interface ServiceListener
pEvent
- the ServiceEvent encapsulating information about
the Service's environment and configuration
ServiceException
- 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |