This content has been marked as final.
Show 3 replies
-
1. Re: How to see the EJB configuration (e.g. commit-options) a
juha Jan 17, 2004 3:14 AM (in response to thoennes)There's an EJB service MBean registered for your EJB deployment, under the 'jboss.j2ee' domain that binds an MBean with name 'jndiName=<your-jndi-name>,service=EJB'.
This one has attribute BeanMetaData that returns an instance of org.jboss.metadata.BeanMetaData.
You can then do :public static final byte A_COMMIT_OPTION = 0; public static final byte B_COMMIT_OPTION = 1; public static final byte C_COMMIT_OPTION = 2; public static final byte D_COMMIT_OPTION = 3 byte option = beanMetaData.getConfigurationMetaData().getCommitOption();
-
2. Re: How to see the EJB configuration (e.g. commit-options) a
thoennes Jan 19, 2004 3:07 AM (in response to thoennes)Thanks, Juha!
I assume that there is no way to get this information from the JMX console without extra programming.
Cheers, Joerg -
3. Re: How to see the EJB configuration (e.g. commit-options) a
juha Jan 19, 2004 3:12 AM (in response to thoennes)No, as the BeanMetaData is a custom type that cannot be displayed by the console.
It should be fairly trivial to get through RMIAdaptor though.