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
if late init of service instance, set service name (String) or
component factory (XSingleComponentFactory), null otherwise
m_value
public java.lang.Object m_value
set entry value
Constructor Detail
ComponentContextEntry
public ComponentContextEntry(java.lang.Object lateInit,
java.lang.Object value)
Creating a late-init singleton entry component context entry.
The second parameter will be ignored and overwritten during
instanciation of the singleton instance.
Parameters:
lateInit - object factory or service string
value - pass null (dummy separating from second ctor signature)
ComponentContextEntry
public ComponentContextEntry(java.lang.Object value)