String strategyType = strategyClass.getName(); Map<String, Object> properties = clusteredObjectInfo.getProperties(); boolean hasState = clusteredObjectInfo.hasState(); boolean replicated = clusteredObjectInfo.isReplicated(); Set<String> applicationExceptionNames =
clusteredObjectInfo.getClusterName(), clusteredObjectInfo.isProxyEnabled(), providerName, itfClass.getName(), businessName, clusteredObjectInfo.hasState(), clusteredObjectInfo.getApplicationExceptionNames());
/** * 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); }