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