|
UNO Java Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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 Summary | |
java.lang.Object |
m_lateInit
if late init of service instance, set service name (String) or component factory (XSingleComponentFactory), null otherwise |
java.lang.Object |
m_value
set entry value |
| Constructor Summary | |
ComponentContextEntry(java.lang.Object value)
Creating a direct value component context entry. |
|
ComponentContextEntry(java.lang.Object lateInit,
java.lang.Object value)
Creating a late-init singleton entry component context entry. |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public java.lang.Object m_lateInit
public java.lang.Object m_value
| Constructor Detail |
public ComponentContextEntry(java.lang.Object lateInit,
java.lang.Object value)
lateInit - object factory or service stringvalue - pass null (dummy separating from second ctor signature)public ComponentContextEntry(java.lang.Object value)
value - pass null
|
UNO Java Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||