Overview | Module | Use | Devguide | Index

Included Services | Exported Interfaces | Properties' Summary | Properties' Details

:: com :: sun :: star :: ucb ::
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 ::com::sun::star::uno::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.
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.
XContentProvider | Description a content provider implementation that wrappes the original provider.
XParameterizedContentProvider | Description a parameterized content provider implementation that wrappes the original provider.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.