UNO Java Documentation

com.sun.star.comp.helper
Class ComponentContext

com.sun.star.comp.helper.ComponentContext

public class ComponentContext

Component context implementation.


Constructor Summary
ComponentContext(java.util.Hashtable table, com.sun.star.uno.XComponentContext xDelegate)
          Ctor to create a component context passing a hashtable for values and a delegator reference.
 
Method Summary
 void addEventListener(com.sun.star.lang.XEventListener xListener)
           
 void dispose()
           
 com.sun.star.lang.XMultiComponentFactory getServiceManager()
           
 java.lang.Object getValueByName(java.lang.String rName)
           
 void removeEventListener(com.sun.star.lang.XEventListener xListener)
           
 

Constructor Detail

ComponentContext

public ComponentContext(java.util.Hashtable table,
                        com.sun.star.uno.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 - entries
xDelegate - if values are not found, request is delegated to this object
Method Detail

getValueByName

public java.lang.Object getValueByName(java.lang.String rName)

getServiceManager

public com.sun.star.lang.XMultiComponentFactory getServiceManager()

dispose

public void dispose()

addEventListener

public void addEventListener(com.sun.star.lang.XEventListener xListener)

removeEventListener

public void removeEventListener(com.sun.star.lang.XEventListener xListener)

UNO Java Documentation