Package

org.springframework.scala.beans.factory

function

Permalink

package function

Visibility
  1. Public
  2. All

Type Members

  1. class Function0Wrapper extends AnyRef

    Permalink
  2. trait FunctionalBeanDefinition[T] extends BeanDefinition

    Permalink

    Extended org.springframework.beans.factory.config.BeanDefinition interface that exposes a bean creation function.

    Extended org.springframework.beans.factory.config.BeanDefinition interface that exposes a bean creation function.

    See also

    FunctionalGenericBeanDefinition

  3. class FunctionalRootBeanDefinition[T] extends RootBeanDefinition with FunctionalBeanDefinition[T]

    Permalink

    Default implementation of org.springframework.scala.beans.factory.function.FunctionalBeanDefinition.

  4. class InitDestroyFunctionBeanPostProcessor extends DestructionAwareBeanPostProcessor with PriorityOrdered

    Permalink

    org.springframework.beans.factory.config.BeanPostProcessor implementation that invokes init and destroy functions.

    org.springframework.beans.factory.config.BeanPostProcessor implementation that invokes init and destroy functions. Allows for an functional alternative to Spring's org.springframework.beans.factory.InitializingBean and org.springframework.beans.factory.DisposableBean callback interfaces.

    Initialization functions are defined as (T) => Unit, i.e. a function that takes the bean as parameter, but does not return anything.

    Destruction functions are defined as (T) => Unit, i.e. a function that takes the bean as parameter, but does not return anything.

Ungrouped