  public void initialize() {
    if (entityManagerFactory != null) {
      return;
    }
    if (persistenceOptions != null) {
      if (!persistenceOptions.containsKey(ECLIPSELINK_CLASSLOADER_OPTION)) {
        persistenceOptions.put(ECLIPSELINK_CLASSLOADER_OPTION, EntityManagerProvider.class.getClassLoader());
      }
      persistenceOptions.put(MULTITENANT_PROPERTY_DEFAULT, "texo");
      entityManagerFactory = Persistence.createEntityManagerFactory(persistenceUnitName, persistenceOptions);
    } else {
      entityManagerFactory = Persistence.createEntityManagerFactory(persistenceUnitName);
    }
  }

  public void initialize() {
    if (entityManagerFactory != null) {
      return;
    }
    if (persistenceOptions != null) {
      if (!persistenceOptions.containsKey(ECLIPSELINK_CLASSLOADER_OPTION)) {
        persistenceOptions.put(ECLIPSELINK_CLASSLOADER_OPTION, EntityManagerProvider.class.getClassLoader());
      }
      persistenceOptions.put(MULTITENANT_PROPERTY_DEFAULT, "texo"); 
      entityManagerFactory = Persistence.createEntityManagerFactory(persistenceUnitName, persistenceOptions);
    } else {
      entityManagerFactory = Persistence.createEntityManagerFactory(persistenceUnitName);
    }
  }
