}
@Override
public void addSingletonResource(Object singleton, ResourceClass resourceClass)
{
SingletonResource resourceFactory = new SingletonResource(singleton, resourceClass);
register(resourceFactory, null, resourceClass);
if (resourceFactory != null) resourceFactory.registered(providerFactory);
}