Package de.hybris.platform.jmx
Class AbstractHybrisJmxTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.jmx.AbstractHybrisJmxTest
- All Implemented Interfaces:
JaloSessionHolder
- Direct Known Subclasses:
HybrisJmxIntegrationTest,HybrisJmxStructureTest
Base class for JMX tests
-
Field Summary
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckAllAttributes(AbstractJMXMBean bean, MBeanInfo infoToVerify) checks if all methods exposed in interface for jmx bean and annotated asManagedAttributeare in its implementation is assembled correctly by JMX assemblerprotected voidcheckAllOperations(AbstractJMXMBean bean, MBeanInfo infoToVerify) checks if all methods exposed in interface for jmx bean and annotated asManagedOperationare in its implementation is assembled correctly by JMX assemblerprotected voidcheckDuplicatedOperations(AbstractJMXMBean bean, MBeanInfo infoToVerify) checks if for a bean meta information retrieved byMetadataMBeanInfoAssemblerimplementation no duplicate operation is retrieved for a specific attribute (see : HOR-683)protected Map<String,AbstractJMXMBean> gets all spring beans registered as JMX beans as map where key = jmx bean name (), value = is jmx bean instanceprotected org.springframework.jmx.export.assembler.MetadataMBeanInfoAssemblerprotected MBeanRegisterUtilitiesvoidprotected voidverifyMethodSignature(String prefix, Map<String, Method> attributableMethods, MBeanAttributeInfo mbai) verify method signatureMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
AbstractHybrisJmxTest
public AbstractHybrisJmxTest()
-
-
Method Details
-
initContext
- Throws:
JMException
-
getJMXRegistry
-
getJMXAssembler
protected org.springframework.jmx.export.assembler.MetadataMBeanInfoAssembler getJMXAssembler() -
getAllSpringJMXBeans
gets all spring beans registered as JMX beans as map where key = jmx bean name (), value = is jmx bean instance -
checkDuplicatedOperations
checks if for a bean meta information retrieved byMetadataMBeanInfoAssemblerimplementation no duplicate operation is retrieved for a specific attribute (see : HOR-683) -
checkAllAttributes
checks if all methods exposed in interface for jmx bean and annotated asManagedAttributeare in its implementation is assembled correctly by JMX assembler -
checkAllOperations
checks if all methods exposed in interface for jmx bean and annotated asManagedOperationare in its implementation is assembled correctly by JMX assembler -
verifyMethodSignature
protected void verifyMethodSignature(String prefix, Map<String, Method> attributableMethods, MBeanAttributeInfo mbai) verify method signature
-