private void initDataOfDummyRegistry() throws ClientClusterViewManagerException {
String dummyName = getConfig().getDummyRegistryName();
ClusteredObjectInfo clusteredObjectInfo;
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);
}