class JmsRealmFactory {

	public JmsRealm getJmsRealm(String jmsRealmName) {
		JmsRealm jmsRealm = jmsRealms.get(jmsRealmName);
		if (jmsRealm == null) {
			log.error("no JmsRealm found under name [" + jmsRealmName + "], factory contents [" + toString() + "]");
		}
		return jmsRealm;
	}

	private  JmsRealmFactory();

}