Use ObjectProviderFactory to create ObjectProvider