20
20
21
21
from wlsdeploy .aliases .model_constants import CAPACITY
22
22
from wlsdeploy .aliases .model_constants import CLUSTER
23
+ from wlsdeploy .aliases .model_constants import COHERENCE_CLUSTER_SYSTEM_RESOURCE
23
24
from wlsdeploy .aliases .model_constants import CONTEXT_REQUEST_CLASS
24
25
from wlsdeploy .aliases .model_constants import DISTRIBUTED_QUEUE
25
26
from wlsdeploy .aliases .model_constants import DISTRIBUTED_TOPIC
59
60
from wlsdeploy .aliases .model_constants import SECURITY_CONFIGURATION
60
61
from wlsdeploy .aliases .model_constants import SELF_TUNING
61
62
from wlsdeploy .aliases .model_constants import SERVER
63
+ from wlsdeploy .aliases .model_constants import SERVER_TEMPLATE
62
64
from wlsdeploy .aliases .model_constants import SMTP_NOTIFICATION
63
65
from wlsdeploy .aliases .model_constants import SNMP_NOTIFICATION
64
66
from wlsdeploy .aliases .model_constants import TEMPLATE
@@ -291,6 +293,19 @@ def set_server_mbean(self, location, key, value, wlst_value):
291
293
self .set_attribute (location , key , mbean , wlst_merge_value = wlst_value , use_raw_value = True )
292
294
return
293
295
296
+ def set_server_template_mbean (self , location , key , value , wlst_value ):
297
+ """
298
+ Set the Server Template MBean.
299
+ :param location: the location
300
+ :param key: the attribute name
301
+ :param value: the string value
302
+ :param wlst_value: the existing value of the attribute from WLST
303
+ :raises BundleAwareException of the specified type: if the server template is not found
304
+ """
305
+ mbean = self .__find_in_location (LocationContext (), SERVER_TEMPLATE , value , required = True )
306
+ self .set_attribute (location , key , mbean , wlst_merge_value = wlst_value , use_raw_value = True )
307
+ return
308
+
294
309
def set_cluster_mbean (self , location , key , value , wlst_value ):
295
310
"""
296
311
Set the Cluster MBean.
@@ -304,6 +319,19 @@ def set_cluster_mbean(self, location, key, value, wlst_value):
304
319
self .set_attribute (location , key , mbean , wlst_merge_value = wlst_value , use_raw_value = True )
305
320
return
306
321
322
+ def set_coherence_cluster_mbean (self , location , key , value , wlst_value ):
323
+ """
324
+ Set the Log Filter MBean.
325
+ :param location: the location
326
+ :param key: the attribute name
327
+ :param value: the string value
328
+ :param wlst_value: the existing value of the attribute from WLST
329
+ :raises BundleAwareException of the specified type: if store is not found
330
+ """
331
+ mbean = self .__find_in_location (LocationContext (), COHERENCE_CLUSTER_SYSTEM_RESOURCE , value , required = True )
332
+ self .set_attribute (location , key , mbean , wlst_merge_value = wlst_value , use_raw_value = True )
333
+ return
334
+
307
335
def set_machine_mbean (self , location , key , value , wlst_value ):
308
336
"""
309
337
Set the Machine MBean.
@@ -645,8 +673,8 @@ def __find_log_filter_mbean(self, location, filter_name):
645
673
Find the domain level log filter with the specified name and return its WLST mbean.
646
674
:param location: the WLST location of the attribute
647
675
:param filter_name: the name of the log filter to find
648
- :return: the mbean for the store
649
- :raises BundleAwareException of the specified type: if store is not found
676
+ :return: the mbean for the log filter
677
+ :raises BundleAwareException of the specified type: if log filter is not found
650
678
"""
651
679
method_name = '__find_log_filter_mbean'
652
680
domain_location = self .__get_domain_location (location )
0 commit comments