public Context getContext(final String identifier) {
NamingStore namingStore = getNamingStore(identifier);
if (namingStore != null) {
try {
return (Context) namingStore.lookup(EMPTY_NAME);
} catch (NamingException e) {
throw new IllegalStateException(e);
}
} else {
return null;