Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: 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 - Summary
::com::sun::star::uno::XInterface

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

gives access to the original content provider behind the proxy. (details)

XContentProvider

a content provider implementation that wrappes the original provider.

XParameterizedContentProvider

a parameterized content provider implementation that wrappes the original provider.

Exported Interfaces - Details
::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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.