Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.

1 /**2 * Redistribution and use of this software and associated documentation3 * ("Software"), with or without modification, are permitted provided4 * that the following conditions are met:5 *6 * 1. Redistributions of source code must retain copyright7 * statements and notices. Redistributions must also contain a8 * copy of this document.9 *10 * 2. Redistributions in binary form must reproduce the11 * above copyright notice, this list of conditions and the12 * following disclaimer in the documentation and/or other13 * materials provided with the distribution.14 *15 * 3. The name "Exolab" must not be used to endorse or promote16 * products derived from this Software without prior written17 * permission of Exoffice Technologies. For written permission,18 * please contact info@exolab.org.19 *20 * 4. Products derived from this Software may not be called "Exolab"21 * nor may "Exolab" appear in their names without prior written22 * permission of Exoffice Technologies. Exolab is a registered23 * trademark of Exoffice Technologies.24 *25 * 5. Due credit should be given to the Exolab Project26 * (http://www.exolab.org/).27 *28 * THIS SOFTWARE IS PROVIDED BY EXOFFICE TECHNOLOGIES AND CONTRIBUTORS29 * ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT30 * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND31 * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL32 * EXOFFICE TECHNOLOGIES OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,33 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES34 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR35 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)36 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,37 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)38 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED39 * OF THE POSSIBILITY OF SUCH DAMAGE.40 *41 * Copyright 1999 (C) Exoffice Technologies Inc. All Rights Reserved.42 *43 * $Id: Reference.java 1096 2004-03-26 21:41:16Z dblevins $44 */45 package org.openejb.core.ivm.naming;46 47 importjavax.naming.NamingException;48 /*49 This interface is implemented by special wrappers for EJB references and50 resource references. When the getObject( ) method is invoked the Operation51 is checked to ensure that its is allowed for the bean's current state.52 53 In addition, dynamic resolution and special conditions can be encapsulated54 in the implementation object.55 56 */57 publicinterface Reference {58 publicObject getObject( ) throwsNamingException;59 }