站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.0.1 API 英文版文档

WrapperFactory (JBoss Seam API Documentation) - JBoss Seam 1.0.1 API 英文版文档


org.jboss.seam.remoting.wrapper
Class WrapperFactory

java.lang.Object
  extended by org.jboss.seam.remoting.wrapper.WrapperFactory

public class WrapperFactory
extends Object

Author:
Shane Bryzak

Method Summary
 Wrapper createWrapper(String type)
           
static WrapperFactory getInstance()
           
 Wrapper getWrapperForObject(Object obj)
           
 void registerWrapper(String type, Class wrapperClass)
           
 void registerWrapperClass(Class cls, Class wrapperClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

registerWrapper

public void registerWrapper(String type,
                            Class wrapperClass)
Parameters:
type - String
wrapperClass - Class

registerWrapperClass

public void registerWrapperClass(Class cls,
                                 Class wrapperClass)
Parameters:
cls - Class
wrapperClass - Class

getInstance

public static WrapperFactory getInstance()
Returns:
WrapperFactory

createWrapper

public Wrapper createWrapper(String type)
Parameters:
element - Element
Returns:
BaseWrapper

getWrapperForObject

public Wrapper getWrapperForObject(Object obj)
Parameters:
obj - Object
Returns:
Wrapper