Use ObjectProviderFactory to get ObjectProvider