1 /*
2 * $Id: JcaModel.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.ra;
12
13 import org.mule.impl.MuleDescriptor;
14 import org.mule.impl.model.AbstractModel;
15 import org.mule.umo.UMOComponent;
16 import org.mule.umo.UMODescriptor;
17
18 /**
19 * Creates a model suitable for Jca execution
20 */
21 public class JcaModel extends AbstractModel
22 {
23 public static final String JCA_MODEL_TYPE = "jca";
24
25
26 protected UMOComponent createComponent(UMODescriptor descriptor)
27 {
28 return new JcaComponent((MuleDescriptor)descriptor);
29 }
30
31 public String getType()
32 {
33 return JCA_MODEL_TYPE;
34 }
35
36 }