View Javadoc
1 /* 2 * Copyright (C) The JContainer Group. All rights reserved. 3 * 4 * This software is published under the terms of the JContainer 5 * Software License version 1.1, a copy of which has been included 6 * with this distribution in the LICENSE.txt file. 7 */ 8 package org.jcontainer.dna; 9 10 /*** 11 * The component implements this interface if it wishes 12 * to be supplied with services via ResourceLocator. 13 * The ResourceLocator contains the services that this 14 * component depends upon under keys specified in the 15 * components metadata. 16 * 17 * @version $Revision: 1.5 $ $Date: 2003/09/23 08:10:14 $ 18 */ 19 public interface Composable 20 { 21 /*** 22 * Supply the component with ResourceLocator object 23 * via which they can access any dependency services. 24 * 25 * @param locator the ResourceLocator 26 * @throws MissingResourceException if the ResourceLocator does not 27 * contain all the required services 28 */ 29 void compose( ResourceLocator locator ) 30 throws MissingResourceException; 31 }

This page was automatically generated by Maven