KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mule > impl > UMODescriptorAware


1 /*
2  * $Id: UMODescriptorAware.java 3798 2006-11-04 04:07:14Z aperepel $
3  * --------------------------------------------------------------------------------------
4  * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
5  *
6  * The software in this package is published under the terms of the MuleSource MPL
7  * license, a copy of which has been included with this distribution in the
8  * LICENSE.txt file.
9  */

10
11 package org.mule.impl;
12
13 import org.mule.umo.UMODescriptor;
14
15 /**
16  * <code>UMODescriptorAware</code> is an injector interface that will supply a
17  * UMODescriptor to the object. This interface should be implemented by components
18  * managed by mule that want to receive their UMODescriptor instance. The
19  * UMODescriptor will be set before any initialisation method is called. i.e. if the
20  * component implements org.mule.umo.lifecycle.Initialisable, the descriptor will be
21  * set before initialise() method is called.
22  *
23  * @author <a HREF="mailto:ross.mason@symphonysoft.com">Ross Mason</a>
24  * @version $Revision: 3798 $
25  * @see org.mule.umo.lifecycle.Initialisable
26  * @see UMODescriptor
27  */

28
29 public interface UMODescriptorAware
30 {
31     void setDescriptor(UMODescriptor descriptor);
32 }
33
Popular Tags