* with a configuration at first.
* @return {@link de.novanic.eventservice.config.ConfigurationDependentFactory} (singleton)
*/
public static ConfigurationDependentFactory getInstance(EventServiceConfiguration aConfiguration) {
if(aConfiguration == null) {
throw new ConfigurationException(ConfigurationDependentFactory.class.getName() + " was initialized without a configuration!");
}
if(myConfiguration == null) {
myConfiguration = aConfiguration;
}
return ConfigurationDependentFactoryHolder.INSTANCE;