Package mx4j.persist

Examples of mx4j.persist.FilePersister


            // It does not delegates to another mbean, use default
            if (logger.isEnabledFor(Logger.TRACE)) logger.trace("Persistence is not delegated to another MBean");
         }

         // Default is serialization to file
         FilePersister persister = new FilePersister(location, name);
         if (logger.isEnabledFor(Logger.DEBUG)) logger.debug("Persistence is realized through file system in " + persister.getFileName());
         return persister;
      }
      else
      {
         // Only location given, use MBean name
         FilePersister persister = new FilePersister(location, mbeanName);
         if (logger.isEnabledFor(Logger.DEBUG)) logger.debug("Persistence is realized through file system in " + persister.getFileName());
         return persister;
      }
   }
View Full Code Here


            // It does not delegates to another mbean, use default
            if (logger.isEnabledFor(Logger.TRACE)) logger.trace("Persistence is not delegated to another MBean");
         }

         // Default is serialization to file
         FilePersister persister = new FilePersister(location, name);
         if (logger.isEnabledFor(Logger.DEBUG)) logger.debug("Persistence is realized through file system in " + persister.getFileName());
         return persister;
      }
      else
      {
         // Only location given, use MBean name
         FilePersister persister = new FilePersister(location, mbeanName);
         if (logger.isEnabledFor(Logger.DEBUG)) logger.debug("Persistence is realized through file system in " + persister.getFileName());
         return persister;
      }
   }
View Full Code Here

TOP

Related Classes of mx4j.persist.FilePersister

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.