Class DefaultBeanContextLifecycleEvent

  • All Implemented Interfaces:
    org.smooks.api.bean.lifecycle.BeanContextLifecycleEvent

    public class DefaultBeanContextLifecycleEvent
    extends Object
    implements org.smooks.api.bean.lifecycle.BeanContextLifecycleEvent
    • Constructor Detail

      • DefaultBeanContextLifecycleEvent

        public DefaultBeanContextLifecycleEvent​(org.smooks.api.ExecutionContext executionContext,
                                                org.smooks.api.delivery.fragment.Fragment<?> source,
                                                org.smooks.api.bean.lifecycle.BeanLifecycle lifecycle,
                                                org.smooks.api.bean.repository.BeanId beanId,
                                                Object bean)
        Public constructor.
        Parameters:
        executionContext -
        source - Source fragment name.
        beanId - Source bean.
        lifecycle - Lifecycle.
        bean - Bean instance.
    • Method Detail

      • getExecutionContext

        public org.smooks.api.ExecutionContext getExecutionContext()
        Specified by:
        getExecutionContext in interface org.smooks.api.bean.lifecycle.BeanContextLifecycleEvent
        Returns:
        the executionContext
      • getSource

        public org.smooks.api.delivery.fragment.Fragment<?> getSource()
        Get the even source fragment.
        Specified by:
        getSource in interface org.smooks.api.bean.lifecycle.BeanContextLifecycleEvent
        Returns:
        Source fragment.
      • getLifecycle

        public org.smooks.api.bean.lifecycle.BeanLifecycle getLifecycle()
        Specified by:
        getLifecycle in interface org.smooks.api.bean.lifecycle.BeanContextLifecycleEvent
        Returns:
        the lifecycle
      • getBeanId

        public org.smooks.api.bean.repository.BeanId getBeanId()
        Specified by:
        getBeanId in interface org.smooks.api.bean.lifecycle.BeanContextLifecycleEvent
        Returns:
        the beanId
      • getBean

        public Object getBean()
        Specified by:
        getBean in interface org.smooks.api.bean.lifecycle.BeanContextLifecycleEvent
        Returns:
        the bean