* In this method, we register as a provider of that service
* @throws Exception
*/
public void registerProviderService(String initializer) throws Exception {
// Create and register ourselves as a JPA persistence provider service
PersistenceProvider providerService = new PersistenceProvider(initializer);
Hashtable<String, String> props = new Hashtable<String, String>();
props.put(PERSISTENCE_PROVIDER, ECLIPSELINK_OSGI_PROVIDER);
getContext().registerService(PERSISTENCE_PROVIDER, providerService, props);
}