KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * $Id: DefaultLifecycleAdapterFactory.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 import org.mule.umo.UMOException;
15 import org.mule.umo.lifecycle.UMOLifecycleAdapter;
16 import org.mule.umo.lifecycle.UMOLifecycleAdapterFactory;
17 import org.mule.umo.model.UMOEntryPointResolver;
18
19 /**
20  * <code>DefaultLifecycleAdapterFactory</code> TODO (document class)
21  *
22  * @author <a HREF="mailto:ross.mason@symphonysoft.com">Ross Mason</a>
23  * @version $Revision: 3798 $
24  */

25 public class DefaultLifecycleAdapterFactory implements UMOLifecycleAdapterFactory
26 {
27     public DefaultLifecycleAdapterFactory()
28     {
29         super();
30     }
31
32     /*
33      * (non-Javadoc)
34      *
35      * @see org.mule.umo.lifecycle.UMOLifecycleAdapterFactory#create(java.lang.Object,
36      * org.mule.umo.UMODescriptor)
37      */

38     public UMOLifecycleAdapter create(Object JavaDoc component,
39                                       UMODescriptor descriptor,
40                                       UMOEntryPointResolver resolver) throws UMOException
41     {
42         return new DefaultLifecycleAdapter(component, descriptor, resolver);
43     }
44
45 }
46
Popular Tags