}
@Override
public void reset(String configId) {
CFMLFactoryImpl cfmlFactory;
//ScopeContext scopeContext;
try {
Iterator<String> it = contextes.keySet().iterator();
while(it.hasNext()) {
try {
cfmlFactory=(CFMLFactoryImpl) contextes.get(it.next());
if(configId!=null && !configId.equals(cfmlFactory.getConfigWebImpl().getId())) continue;
// scopes
try{cfmlFactory.getScopeContext().clear();}catch(Throwable t){t.printStackTrace();}
// PageContext
try{cfmlFactory.resetPageContext();}catch(Throwable t){t.printStackTrace();}
// Query Cache
try{ cfmlFactory.getDefaultQueryCache().clear(null);}catch(Throwable t){t.printStackTrace();}
// Gateway
try{ cfmlFactory.getConfigWebImpl().getGatewayEngine().reset();}catch(Throwable t){t.printStackTrace();}
}
catch(Throwable t){
t.printStackTrace();
}