/** * Responsible for instantiating the {@link BasicComponentInstance}. This method is *not* responsible for * handling the post construct activities like injection and lifecycle invocation. That is handled by * {@link #constructComponentInstance(org.jboss.as.naming.ManagedReference, boolean)}. * <p/> * * @return the component instance */ protected BasicComponentInstance instantiateComponentInstance(final Interceptor preDestroyInterceptor, final Map<Method, Interceptor> methodInterceptors, Map<Object, Object> context) { // create and return the component instance return new BasicComponentInstance(this, preDestroyInterceptor, methodInterceptors); }
/** * Responsible for instantiating the {@link BasicComponentInstance}. This method is *not* responsible for * handling the post construct activities like injection and lifecycle invocation. That is handled by * {@link #constructComponentInstance(org.jboss.as.naming.ManagedReference, boolean)}. * <p/> * * @return the component instance */ protected BasicComponentInstance instantiateComponentInstance(final Interceptor preDestroyInterceptor, final Map<Method, Interceptor> methodInterceptors, Map<Object, Object> context) { // create and return the component instance return new BasicComponentInstance(this, preDestroyInterceptor, methodInterceptors); }
/** * Responsible for instantiating the {@link BasicComponentInstance}. This method is *not* responsible for * handling the post construct activities like injection and lifecycle invocation. That is handled by * {@link #constructComponentInstance(ManagedReference, boolean, InterceptorFactoryContext)}. * <p/> * * @return the component instance */ protected BasicComponentInstance instantiateComponentInstance(final AtomicReference<ManagedReference> instanceReference, final Interceptor preDestroyInterceptor, final Map<Method, Interceptor> methodInterceptors, final InterceptorFactoryContext context) { // create and return the component instance return new BasicComponentInstance(this, instanceReference, preDestroyInterceptor, methodInterceptors); }
/** * Responsible for instantiating the {@link BasicComponentInstance}. This method is *not* responsible for * handling the post construct activities like injection and lifecycle invocation. That is handled by * {@link #constructComponentInstance(org.jboss.as.naming.ManagedReference, boolean)}. * <p/> * * @return the component instance */ protected BasicComponentInstance instantiateComponentInstance(final Interceptor preDestroyInterceptor, final Map<Method, Interceptor> methodInterceptors, Map<Object, Object> context) { // create and return the component instance return new BasicComponentInstance(this, preDestroyInterceptor, methodInterceptors); }