service ContentProviderProxy in module com::sun::star::ucb::

(Global Index)

Syntax

service ContentProviderProxy;

Description

is a proxy for a content provider.

Implementing a content provider proxy can be useful if the creation of the real content provider object shall be deferred for some reason (i.e. performance) until the first method gets called on it. Instaead of instanciating and registering the real provider at the UCB, a proxy for the real provider can be created and registered at the UCB.

See also

XContentProviderProxyFactory

Exported Interfaces

com::sun::star::uno::XInterface

Description

The implementation of XInterface::queryInterface must instanciate the real provider and return the return value of a queryInterface call at the real provider, except for queries for the interfaces implemented by the proxy itself. So the caller of the queryInterface method at the proxy will get access to the real provider in a completely transparent way.


com::sun::star::ucb::XContentProviderSupplier

Description

gives access to the original content provider behind the proxy.

The implementation will instantiate the real content provider only on demand using its UNO service name. This will load the content providers implementation code (dynamic library), if not already done.


com::sun::star::ucb::XContentProvider

Description

a content provider implementation that wrappes the original provider.


com::sun::star::ucb::XParameterizedContentProvider

Description

a parameterized content provider implementation that wrappes the original provider.


Top of Page