InvocationContext context = new RootInvocationContext( bean, component.getPostConstructMethod(), new Object[0] )
{
@Override
public Object proceed() throws Exception
{
component.callPostConstructMethod(bean);
return null;
}
};
invokeAndHandle(context, EventType.POST_CONSTRUCT);