My service MBeans seem to be getting their attributes initialized twice,
once when GeronimoMBeanInfo is constructed and another when
InitializeMBeanInstance.perform() is called. Is this correct behavior?
My security-service.xml file looks like:
<?xml version="1.0" encoding="UTF-8"?>
<components>
<class-space name="geronimo.system:role=ClassSpace,name=System"/>
<mbean descriptor="org.apache.geronimo.security.SecurityService"
name="geronimo.security:type=SecurityService">
<attribute name="DefaultPrincipal">Default</attribute>
</mbean>
<mbean
descriptor="org.apache.geronimo.security.providers.PropertiesFileSecurit
yRealm" name="geronimo.security:type=SecurityRealm">
<attribute name="RealmName">Foo</attribute>
<attribute
name="UsersURI">../../../modules/core/src/test-data/data/users.propertie
s</attribute>
<attribute
name="GroupsURI">../../../modules/core/src/test-data/data/groups.propert
ies</attribute>
<depends name="geronimo.security:type=SecurityService"/>
</mbean>
</components>
Regards,
Alan