Class ObjectHolder

java.lang.Object
com.atlassian.confluence.spring.ObjectHolder
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<Object>

@Deprecated(since="8.2", forRemoval=true) public class ObjectHolder extends Object implements org.springframework.beans.factory.FactoryBean<Object>
Deprecated, for removal: This API element is subject to removal in a future version.
since 8.2 unused, no replacement
Replacement for BeanReferenceFactoryBean, which was deprecated in Spring 3.2 and removed in Spring 4.
Since:
5.10
  • Field Summary

    Fields inherited from interface org.springframework.beans.factory.FactoryBean

    OBJECT_TYPE_ATTRIBUTE
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setObject(Object object)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ObjectHolder

      public ObjectHolder()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • setObject

      public void setObject(Object object)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getObject

      public Object getObject() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getObject in interface org.springframework.beans.factory.FactoryBean<Object>
      Throws:
      Exception
    • getObjectType

      public Class<?> getObjectType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<Object>
    • isSingleton

      public boolean isSingleton()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isSingleton in interface org.springframework.beans.factory.FactoryBean<Object>