com.sun.star.comp.helper
Class ComponentContext
java.lang.Object
com.sun.star.comp.helper.ComponentContext
- All Implemented Interfaces:
- XComponent, XComponentContext, XInterface
public class ComponentContext
- extends Object
- implements XComponentContext, XComponent
Component context implementation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentContext
public ComponentContext(Hashtable table,
XComponentContext xDelegate)
- Ctor to create a component context passing a hashtable for values and a delegator
reference. Entries of the passed hashtable are either direct values or
ComponentContextEntry objects.
- Parameters:
table
- entriesxDelegate
- if values are not found, request is delegated to this object
getValueByName
public Object getValueByName(String rName)
- Specified by:
getValueByName
in interface XComponentContext
getServiceManager
public XMultiComponentFactory getServiceManager()
- Specified by:
getServiceManager
in interface XComponentContext
dispose
public void dispose()
- Specified by:
dispose
in interface XComponent
addEventListener
public void addEventListener(XEventListener xListener)
- Specified by:
addEventListener
in interface XComponent
removeEventListener
public void removeEventListener(XEventListener xListener)
- Specified by:
removeEventListener
in interface XComponent