1 package org.sapia.soto; 2 3 4 /** 5 * Instance of classes that implement this interface are assigned an <code>Env</code> 6 * instance after their creation. This allows them to indirectly have a hook on their 7 * container. 8 * 9 * @see org.sapia.soto.Env 10 * 11 * @author Yanick Duchesne 12 * <dl> 13 * <dt><b>Copyright:</b><dd>Copyright © 2002-2003 <a HREF="http://www.sapia-oss.org">Sapia Open Source Software</a>. All Rights Reserved.</dd></dt> 14 * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the 15 * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt> 16 * </dl> 17 */ 18 public interface EnvAware { 19 /** 20 * @param env an <code>Env</code> instance that indirectly corresponds to the Soto container 21 * to which this instance belongs. 22 */ 23 public void setEnv(Env env); 24 } 25