Package com.sun.star.comp.helper
Class ComponentContextEntry
java.lang.Object
com.sun.star.comp.helper.ComponentContextEntry
Component context entry for constructing ComponentContext objects.
    
A ComponentContextEntry is separated into a late-init and direct-value purpose. The first one is commonly used for singleton objects of the component context, that are raised on first-time retrieval of the key. You have to pass a com.sun.star.lang.XSingleComponentFactory or string (=> service name) object for this.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionif late init of service instance, set service name (String) or component factory (XSingleComponentFactory), null otherwiseset entry value
- 
Constructor SummaryConstructorsConstructorDescriptionComponentContextEntry(Object value) Creating a direct value component context entry.ComponentContextEntry(Object lateInit, Object value) Creating a late-init singleton entry component context entry.
- 
Method Summary
- 
Field Details- 
m_lateInitif late init of service instance, set service name (String) or component factory (XSingleComponentFactory), null otherwise
- 
m_valueset entry value
 
- 
- 
Constructor Details- 
ComponentContextEntryCreating a late-init singleton entry component context entry. The second parameter will be ignored and overwritten during instantiation of the singleton instance.- Parameters:
- lateInit- object factory or service string
- value- pass null (dummy separating from second constructor signature)
 
- 
ComponentContextEntryCreating a direct value component context entry.- Parameters:
- value- pass null
 
 
-