}
@SuppressWarnings("unchecked")
public BeanContext<T> construct(Object initargs[], Class<?> parameterTypes[]) throws SecurityException, NoSuchMethodException
{
ClassAdvisor advisor = getAdvisor();
Constructor<T> constructor = advisor.getClazz().getConstructor(parameterTypes);
BeanContext<T> targetObject = construct(constructor, initargs);
// If we're advising an indirect container make it aware of this
if(targetObject.getInstance() instanceof IndirectContainer)
((IndirectContainer<T, C>) targetObject.getInstance()).setDirectContainer((C) this);