1 package org.apache.ojb.broker.core.proxy; 2 3 /* Copyright 2002-2005 The Apache Software Foundation 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); 6 * you may not use this file except in compliance with the License. 7 * You may obtain a copy of the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 * See the License for the specific language governing permissions and 15 * limitations under the License. 16 */ 17 18 /** 19 * Declares a configuration for he indirection handler factory. 20 * 21 * @see org.apache.ojb.broker.core.proxy.ProxyFactory 22 * @author <a HREF="mailto:tomdz@apache.org">Thomas Dudziak<a> 23 */ 24 public interface ProxyConfiguration 25 { 26 /** 27 * Returns the indirection handler implementation class. 28 * 29 * @return The indirection handler class 30 * @see org.apache.ojb.broker.core.proxy.IndirectionHandler 31 */ 32 Class getIndirectionHandlerClass(); 33 34 /** 35 * Returns the collection proxy class for collection classes that implement the {@link java.util.List} 36 * interface. 37 * 38 * @return The proxy class 39 * @see org.apache.ojb.broker.core.proxy.ProxyFactory#setListProxyClass(Class) 40 */ 41 Class getListProxyClass(); 42 43 /** 44 * Returns the collection proxy class for collection classes that implement the {@link java.util.Set} 45 * interface. 46 * 47 * @return The proxy class 48 * @see org.apache.ojb.broker.core.proxy.ProxyFactory#setSetProxyClass(Class) 49 */ 50 Class getSetProxyClass(); 51 52 /** 53 * Returns the collection proxy class for generic collection classes that implement the 54 * {@link java.util.Collection} interface. 55 * 56 * @return The proxy class 57 * @see org.apache.ojb.broker.core.proxy.ProxyFactory#setCollectionProxyClass(Class) 58 */ 59 Class getCollectionProxyClass(); 60 61 /** 62 * Returns the proxy factory class 63 * 64 * @return The proxy class 65 */ 66 Class getProxyFactoryClass(); 67 68 69 } 70