Sorry for cross-port.
Persistence of the attributes is necessary to I have a possibility to edit JCA
connector's parameters and that after reboot JBoss this changes remained.
I think to do this something like this
http://www.jboss.org/community/docs/DOC-12775.
But, when I specifi the DelegatingPersistenceManager in jboss-service.xml descriptor
<mbean
code="org.jboss.resource.connectionmanager.ConnectionFactoryBindingService"
|
name="jboss.jca:name=Aurora/baxi/green/maxi,service=ConnectionFactoryBinding"
| xmbean-dd="">
| <description>PersistentServiceExample</description>
| <descriptors>
| <persistence persistPolicy="OnUpdate"/>
| <persistence-manager
value="org.jboss.mx.persistence.DelegatingPersistenceManager"/>
| <descriptor name="attribute-persistence-operation"
value="apmCreate"></descriptor>
| </descriptors>
|
<class>org.jboss.resource.connectionmanager.ConnectionFactoryBindingService</class>
|
| <!-- Attributes -->
|
| <attribute access="read-write" getMethod="getJndiName"
setMethod="setJndiName">
| <name>JndiName</name>
| <type>java.lang.String</type>
| </attribute>
| </mbean>
I catch MBeanRegistrationException which reports that this bean has been registered.
How can I say that JBoss will not regist new MBean and persist needed Mbean?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197304#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...