public JRMPHelloServer(final String string) throws RemoteException { msg = string; try { clusteredObjectInfo = CMIInfoExtractor.extractClusteringInfoFromAnnotatedPOJO( "jrmpHelloServer", TestItf.class, JRMPHelloServer.class, false, null); } catch (CMIInfoExtractorException e) { // TODO Auto-generated catch block e.printStackTrace(); } } /**
public IIOPHelloServer(final String string) throws RemoteException { msg = string; try { clusteredObjectInfo = CMIInfoExtractor.extractClusteringInfoFromAnnotatedPOJO( "iiopHelloServer", TestItf.class, IIOPHelloServer.class, false, null); } catch (CMIInfoExtractorException e) { // TODO Auto-generated catch block e.printStackTrace(); } }
applicationExceptionNames); } else { infos = CMIInfoExtractor.extractClusteringInfoFromAnnotatedPOJO( reference.getJNDINamingInfos().get(0).jndiName(), itfClass, beanClass, factory instanceof StatefulSessionFactory, applicationExceptionNames);
try { clusteredObjectInfo = CMIInfoExtractor.extractClusteringInfoFromAnnotatedPOJO(bindName, ClientClusterViewProvider.class, ClusteredClientClusterViewProvider.class, false,
CMIInfoExtractor.extractClusteringInfoFromAnnotatedPOJO( getConfig().getDummyRegistryName(), null, ClusteredDummyRegistry.class, false, null);
/** * Registers the dummy registry as an object to watch. * @throws ClientClusterViewManagerException */ private void initDataOfDummyRegistry() throws ClientClusterViewManagerException { String dummyName = getConfig().getDummyRegistryName(); ClusteredObjectInfo clusteredObjectInfo; // Extracts informations on clustering of dummy context try { clusteredObjectInfo = CMIInfoExtractor.extractClusteringInfoFromAnnotatedPOJO( dummyName, null, ClusteredDummyRegistry.class, false, null); } catch (CMIInfoExtractorException e) { LOGGER.error("Cannot get infos for dummy registry", e); throw new ClientClusterViewManagerException("Cannot get infos for dummy registry", e); } clientClusterViewCache.addClusteredObject( clusteredObjectInfo.getClusterName(), clusteredObjectInfo.isProxyEnabled(), dummyName, null, null, clusteredObjectInfo.hasState(), clusteredObjectInfo.getApplicationExceptionNames()); watch(dummyName); }
clusteredObjectInfo = CMIInfoExtractor.extractClusteringInfoFromAnnotatedPOJO(providerName, ClientClusterViewProvider.class, ClusteredClientClusterViewProvider.class, false, null); } catch (CMIInfoExtractorException e) {