Class ForwardingContextual<T>

  • All Implemented Interfaces:
    javax.enterprise.context.spi.Contextual<T>

    public abstract class ForwardingContextual<T>
    extends Object
    implements javax.enterprise.context.spi.Contextual<T>
    • Constructor Detail

      • ForwardingContextual

        public ForwardingContextual()
    • Method Detail

      • delegate

        protected abstract javax.enterprise.context.spi.Contextual<T> delegate()
      • create

        public T create​(javax.enterprise.context.spi.CreationalContext<T> creationalContext)
        Specified by:
        create in interface javax.enterprise.context.spi.Contextual<T>
      • destroy

        public void destroy​(T instance,
                            javax.enterprise.context.spi.CreationalContext<T> creationalContext)
        Specified by:
        destroy in interface javax.enterprise.context.spi.Contextual<T>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object