protected void checkCoherency () throws Exception { // Check clustering cohrency wrt metadata // if (metaData.isClustered()) { boolean clusteredProxyFactoryFound = false; for (Iterator it = proxyFactories.keySet().iterator(); it.hasNext(); ) { String invokerBinding = (String)it.next(); EJBProxyFactory ci = (EJBProxyFactory)proxyFactories.get(invokerBinding); if (ci instanceof org.jboss.proxy.ejb.ClusterProxyFactory) clusteredProxyFactoryFound = true; } if (!clusteredProxyFactoryFound) { log.warn("*** EJB '" + this.metaData.getEjbName() + "' deployed as CLUSTERED but not a single clustered-invoker is bound to container ***"); } } }
protected void checkCoherency() throws Exception { // Check clustering cohrency wrt metadata // if (metaData.isClustered()) { boolean clusteredProxyFactoryFound = false; Iterator it = proxyFactories.keySet().iterator(); while (it.hasNext()) { String invokerBinding = (String) it.next(); EJBProxyFactory ci = (EJBProxyFactory) proxyFactories.get(invokerBinding); if (ci instanceof org.jboss.proxy.ejb.ClusterProxyFactory) clusteredProxyFactoryFound = true; } if (!clusteredProxyFactoryFound) { log.warn("*** EJB '" + this.metaData.getEjbName() + "' deployed as CLUSTERED but not a single clustered-invoker is bound to container ***"); } } }