org.jboss.xb.spi
Class AbstractBeanAdapterFactory

java.lang.Object
  extended by org.jboss.xb.spi.BeanAdapterFactory
      extended by org.jboss.xb.spi.AbstractBeanAdapterFactory
Direct Known Subclasses:
DefaultBeanAdapterFactory

public class AbstractBeanAdapterFactory
extends BeanAdapterFactory

AbstractBeanAdapterFactory.

Version:
$Revision: 1.1 $
Author:
Adrian Brock

Constructor Summary
AbstractBeanAdapterFactory(org.jboss.beans.info.spi.BeanInfo beanInfo, org.jboss.reflect.spi.MethodInfo factory)
          Create a new bean adapter factory
 
Method Summary
 org.jboss.beans.info.spi.BeanInfo getBeanInfo()
          Get the bean info
 org.jboss.reflect.spi.MethodInfo getFactory()
          Get the factory.
 AbstractBeanAdapter newInstance()
          Create a new BeanAdapter
 
Methods inherited from class org.jboss.xb.spi.BeanAdapterFactory
addProperty, getAvailable, getProperties, getPropertyHandler, getWildcardHandler, setWildcardHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractBeanAdapterFactory

public AbstractBeanAdapterFactory(org.jboss.beans.info.spi.BeanInfo beanInfo,
                                  org.jboss.reflect.spi.MethodInfo factory)
Create a new bean adapter factory

Parameters:
beanInfo - the bean info
factory - the factory
Throws:
IllegalArgumentException - for a null bean info
Method Detail

getBeanInfo

public org.jboss.beans.info.spi.BeanInfo getBeanInfo()
Get the bean info

Returns:
the bean info

getFactory

public org.jboss.reflect.spi.MethodInfo getFactory()
Get the factory.

Returns:
the factory.

newInstance

public AbstractBeanAdapter newInstance()
Description copied from class: BeanAdapterFactory
Create a new BeanAdapter

Specified by:
newInstance in class BeanAdapterFactory
Returns:
the new bean adapter


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.