1 Reply Latest reply on Apr 3, 2003 1:34 PM by Adrian Brock

    How can I use PersistPolicy

    Alexander Rabinowitz Newbie

      I am using JBoss 3.0.6

      What classes do support PersistyPolicy?
      Is it correct, that for ModelBase and for XMBean classes persistPolicy "OnUpdate" is already implemented and I do not need to implement it on my own?

      Is it correct that for ModelMBean it is not implemented and I need to implement it on my own?

        • 1. Re: How can I use PersistPolicy
          Adrian Brock Master

          ModelBase by default uses the
          NullPersistence Manager (no persistence)

          You can plugin your own persistence
          by implementing
          and instantiating it in your MBean
          persistence = new MyPersistenceManager();

          I believe there is an implementation in
          jboss4 - I don't know much about it, sorry