update dev300-m58
[ooovba.git] / udkapi / com / sun / star / reflection / XProxyFactory.idl
blobfab2e0b7e55c0ad8d2377b5206042f4448e927ae
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: XProxyFactory.idl,v $
10 * $Revision: 1.11 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_reflection_XProxyFactory_idl__
31 #define __com_sun_star_reflection_XProxyFactory_idl__
33 #ifndef __com_sun_star_uno_XInterface_idl__
34 #include <com/sun/star/uno/XInterface.idl>
35 #endif
36 #ifndef __com_sun_star_uno_XAggregation_idl__
37 #include <com/sun/star/uno/XAggregation.idl>
38 #endif
40 //=============================================================================
42 module com { module sun { module star { module reflection {
44 //=============================================================================
46 /** Factory interface to produce proxy objects.
48 @deprecated
49 Aggregation will no longer be supported as a high-level concept of UNO.
50 You may still have the option to implement an UNO object consisting of
51 several single objects in your specific programming language, though this
52 depends on your programming language.
53 Thus this interface is deprecated, too.
55 published interface XProxyFactory: com::sun::star::uno::XInterface
57 /** This method creates a new proxy object that acts on behalf of the given
58 target object.<br>
59 The proxy delegates calls to the given target object.
60 In addition, it is aggregatable, thus it is possible to
61 intercept calls on the proxy's interfaces.
63 @attention
64 The proxy object is UNO conform, but does NOT provide original target
65 interfaces on queryInterface() calls. This may lead to problems
66 regarding object identity, e.g. when dealing with listener proxies.
68 @param xTarget
69 target object
70 @return
71 proxy object
73 com::sun::star::uno::XAggregation createProxy(
74 [in] com::sun::star::uno::XInterface xTarget );
75 };
77 //=============================================================================
79 }; }; }; };
81 /*=============================================================================
83 =============================================================================*/
84 #endif