org.jboss.resteasy.plugins.spring
Class OptionalValueBeanFactory

java.lang.Object
  extended by org.jboss.resteasy.plugins.spring.OptionalValueBeanFactory
All Implemented Interfaces:
org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.FactoryBean

public class OptionalValueBeanFactory
extends java.lang.Object
implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.BeanFactoryAware

This resovles optional

Version:
$Revision: 1 $
Author:
Solomon Duskis

Constructor Summary
OptionalValueBeanFactory()
           
 
Method Summary
 java.lang.String getBeanName()
           
 java.lang.Class<?> getClazz()
           
 java.lang.Object getObject()
           
 java.lang.Class<?> getObjectType()
           
 boolean isSingleton()
           
 void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
           
 void setBeanName(java.lang.String beanName)
           
 void setClazz(java.lang.Class<?> clazz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptionalValueBeanFactory

public OptionalValueBeanFactory()
Method Detail

getBeanName

public java.lang.String getBeanName()

setBeanName

public void setBeanName(java.lang.String beanName)

getClazz

public java.lang.Class<?> getClazz()

setClazz

public void setClazz(java.lang.Class<?> clazz)

getObject

public java.lang.Object getObject()
                           throws java.lang.Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
Throws:
java.lang.Exception

getObjectType

public java.lang.Class<?> getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean

setBeanFactory

public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
                    throws org.springframework.beans.BeansException
Specified by:
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
Throws:
org.springframework.beans.BeansException


Copyright © 2010. All Rights Reserved.