public class ComponentContextEntry extends Object
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.
Modifier and Type | Field and Description |
---|---|
Object |
m_lateInit
if late init of service instance, set service name (String) or
component factory (XSingleComponentFactory), null otherwise
|
Object |
m_value
set entry value
|
Constructor and Description |
---|
ComponentContextEntry(Object value)
Creating a direct value component context entry.
|
ComponentContextEntry(Object lateInit,
Object value)
Creating a late-init singleton entry component context entry.
|
public Object m_lateInit
public Object m_value
public ComponentContextEntry(Object lateInit, Object value)
lateInit
- object factory or service stringvalue
- pass null (dummy separating from second constructor signature)public ComponentContextEntry(Object value)
value
- pass null