JBoss XML Binding 2.0.3.GA-redhat-2

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

Field Summary
protected  org.jboss.beans.info.spi.BeanInfo beanInfo
          The bean info
protected  org.jboss.reflect.spi.MethodInfo factory
          Any factory
 
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.
 BeanAdapter 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
 

Field Detail

beanInfo

protected org.jboss.beans.info.spi.BeanInfo beanInfo
The bean info


factory

protected org.jboss.reflect.spi.MethodInfo factory
Any factory

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 BeanAdapter newInstance()
Description copied from class: BeanAdapterFactory
Create a new BeanAdapter

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

JBoss XML Binding 2.0.3.GA-redhat-2

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.