def _add_named_elements(self, type_name, model_nodes, location): """ Override default behavior to create placeholders for referenced Coherence clusters. :param type_name: the model folder type :param model_nodes: the model dictionary of the specified model folder type :param location: the location object to use to create the MBeans :raises: DeployException: if an error occurs """ self._topology_helper.check_coherence_cluster_references(type_name, model_nodes) # continue with regular processing Deployer._add_named_elements(self, type_name, model_nodes, location)
def _add_named_elements(self, type_name, model_nodes, location): """ Override the base method for these special cases: 1) Group params require special handling. 2) Destinations may require placeholder templates. """ if type_name == GROUP_PARAMS: self._add_group_params(model_nodes, location) return if type_name == JNDI_PROPERTY: self._add_jndi_properties(model_nodes, location) return if type_name in self.template_destination_type_names: self._check_destination_template(model_nodes, location) # continue with regular processing Deployer._add_named_elements(self, type_name, model_nodes, location)