Package org.gatein.wsrp.producer.config.mapping

Examples of org.gatein.wsrp.producer.config.mapping.ProducerConfigurationMapping.initFrom()


            ProducerConfigurationService service = new SimpleXMLProducerConfigurationService(defaultConfigurationIS);

            service.reloadConfiguration();
            configuration.set(service.getConfiguration());
            pcm.initFrom(configuration.get());

            persister.save();
         }
         else
         {
View Full Code Here


         ProducerConfigurationMapping pcm = session.findByPath(ProducerConfigurationMapping.class, PRODUCER_CONFIGURATION_PATH);
         if (pcm == null)
         {
            pcm = session.insert(ProducerConfigurationMapping.class, PRODUCER_CONFIGURATION_PATH);
         }
         pcm.initFrom(configuration.get());
         persister.save();
      }
      finally
      {
         persister.closeSession(false);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.