1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef __com_sun_star_reflection_XProxyFactory_idl__
24#define __com_sun_star_reflection_XProxyFactory_idl__
25
26#ifndef __com_sun_star_uno_XInterface_idl__
27#include <com/sun/star/uno/XInterface.idl>
28#endif
29#ifndef __com_sun_star_uno_XAggregation_idl__
30#include <com/sun/star/uno/XAggregation.idl>
31#endif
32
33//=============================================================================
34
35 module com {  module sun {  module star {  module reflection {
36
37//=============================================================================
38
39/** Factory interface to produce proxy objects.
40
41	@deprecated
42    Aggregation will no longer be supported as a high-level concept of UNO.
43    You may still have the option to implement an UNO object consisting of
44    several single objects in your specific programming language, though this
45    depends on your programming language.
46    Thus this interface is deprecated, too.
47*/
48published interface XProxyFactory: com::sun::star::uno::XInterface
49{
50	/** This method creates a new proxy object that acts on behalf of the given
51        target object.<br>
52        The proxy delegates calls to the given target object.
53        In addition, it is aggregatable, thus it is possible to
54        intercept calls on the proxy's interfaces.
55
56        @attention
57        The proxy object is UNO conform, but does NOT provide original target
58        interfaces on queryInterface() calls.  This may lead to problems
59        regarding object identity, e.g. when dealing with listener proxies.
60
61        @param xTarget
62               target object
63        @return
64                proxy object
65    */
66	com::sun::star::uno::XAggregation createProxy(
67		[in] com::sun::star::uno::XInterface xTarget );
68};
69
70//=============================================================================
71
72}; }; }; };
73
74/*=============================================================================
75
76=============================================================================*/
77#endif
78