org.mule.model
Class ModelFactory

java.lang.Object
  extended by org.mule.model.ModelFactory

Deprecated. This class doesn't make much sense, remove for 2.x

public final class ModelFactory
extends Object

Will locate the model service using the model type as the key and construct the model.


Field Summary
static String DEFAULT_MODEL_NAME
          Deprecated.  
 
Constructor Summary
ModelFactory()
          Deprecated.  
 
Method Summary
static Model createModel(String type)
          Deprecated.  
static Model createModel(String type, String name)
          Deprecated.  
static Class getModelClass(String type)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_MODEL_NAME

public static final String DEFAULT_MODEL_NAME
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

ModelFactory

public ModelFactory()
Deprecated. 
Method Detail

createModel

public static Model createModel(String type)
                         throws ServiceException
Deprecated. 
Throws:
ServiceException

createModel

public static Model createModel(String type,
                                String name)
                         throws ServiceException
Deprecated. 
Throws:
ServiceException

getModelClass

public static Class getModelClass(String type)
                           throws ServiceException
Deprecated. 
Throws:
ServiceException


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.