Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
UMODescriptorAware |
|
| 1.0;1 |
1 | /* | |
2 | * $Id: UMODescriptorAware.java 7976 2007-08-21 14:26:13Z dirk.olmes $ | |
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 CPAL v1.0 | |
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.config.ConfigurationException; | |
14 | import org.mule.umo.UMODescriptor; | |
15 | ||
16 | /** | |
17 | * <code>UMODescriptorAware</code> is an injector interface that will supply a | |
18 | * UMODescriptor to the object. This interface should be implemented by components | |
19 | * managed by mule that want to receive their UMODescriptor instance. The | |
20 | * UMODescriptor will be set before any initialisation method is called. i.e. if the | |
21 | * component implements org.mule.umo.lifecycle.Initialisable, the descriptor will be | |
22 | * set before initialise() method is called. | |
23 | * | |
24 | * @see org.mule.umo.lifecycle.Initialisable | |
25 | * @see UMODescriptor | |
26 | */ | |
27 | ||
28 | public interface UMODescriptorAware | |
29 | { | |
30 | void setDescriptor(UMODescriptor descriptor) throws ConfigurationException; | |
31 | } |