Class CurrentActivityDataFactoryBean

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAttributeName()
      Returns the attribute name of the current ActivityDataMap specified to register in the request scope.
      ActivityDataMap getObject()
      Return an instance (possibly shared or independent) of the object managed by this factory.
      boolean isAttributable()
      Returns whether the current ActivityDataMap is registered as an attribute in the request scope.
      void setAttributeName​(java.lang.String attributeName)
      Specifies the attribute name for registering the current ActivityDataMap as an attribute in the request scope.
      void setCurrentActivity​(Activity activity)  
      • Methods inherited from class java.lang.Object

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

      • CurrentActivityDataFactoryBean

        public CurrentActivityDataFactoryBean()
    • Method Detail

      • isAttributable

        public boolean isAttributable()
        Returns whether the current ActivityDataMap is registered as an attribute in the request scope.
        Returns:
        true if the current ActivityDataMap is registered as an attribute in the request scope; otherwise false
      • getAttributeName

        public java.lang.String getAttributeName()
        Returns the attribute name of the current ActivityDataMap specified to register in the request scope.
        Returns:
        the attribute name
      • setAttributeName

        public void setAttributeName​(java.lang.String attributeName)
        Specifies the attribute name for registering the current ActivityDataMap as an attribute in the request scope.
        Parameters:
        attributeName - the attribute name of the current ActivityDataMap to be registered in the request scope.
      • getObject

        public ActivityDataMap getObject()
        Description copied from interface: FactoryBean
        Return an instance (possibly shared or independent) of the object managed by this factory. As with a BeanFactory, this allows support for both the Singleton and Prototype design pattern.
        Specified by:
        getObject in interface FactoryBean<ActivityDataMap>
        Returns:
        an instance of the bean (can be null)