23 lines
553 B
Java
23 lines
553 B
Java
|
package info.ebenoit.ebul.cmp;
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Interface for registry-aware components
|
||
|
* <p>
|
||
|
* This interface can be implemented by a component that is aware of the component registry it is bound to.
|
||
|
*
|
||
|
* @author <a href="mailto:ebenoit@ebenoit.info">E. Benoît</a>
|
||
|
*/
|
||
|
public interface RegistryAware
|
||
|
{
|
||
|
|
||
|
/**
|
||
|
* Sets the component registry
|
||
|
*
|
||
|
* @param registry
|
||
|
* the registry if the component is being bound, or <code>null</code> if the component is being detached.
|
||
|
*/
|
||
|
public void setComponentRegistry( ComponentRegistry registry );
|
||
|
|
||
|
}
|