Examples of store()


Examples of models.Data.store()

        error(response.getStatus(), "Unable to retrieve data.");
      }
     
      data = new Data(ipaddress, response.getString());
      try {
        data.store(TTL_DATA);
      } catch (ConnectionException e) {
        Logger.warn("[Weather.data] Error storing data object into the DB.");
      }
    }
   
View Full Code Here

Examples of mx4j.persist.PersisterMBean.store()

      PersisterMBean persister = findPersister();
      if (persister != null)
      {
         // Take a clone to avoid synchronization problems
         ModelMBeanInfo info = (ModelMBeanInfo)getMBeanInfo();
         persister.store(info);
      }
   }

   protected ClassLoaderRepository getClassLoaderRepository()
   {
View Full Code Here

Examples of net.bnubot.util.SortedProperties.store()

        }
      }

      VER = new VersionNumber(RELEASE_TYPE, VER_MAJOR, VER_MINOR, VER_REVISION, VER_RELEASE, VER_SVN_REVISION, BUILD_DATE);
      if(!fromJar)
        versionprops.store(new FileOutputStream(f), VER.toString());
      return VER;
    } catch(Exception e) {
      Out.exception(e);
      throw new IllegalStateException(e.getMessage(), e);
    }
View Full Code Here

Examples of net.janino.util.ClassFile.store()

        if (cf == null) throw new ClassNotFoundException(name);

        // Store the class file's byte code into a byte array.
        ByteArrayOutputStream bos = new ByteArrayOutputStream();
        try {
            cf.store(bos);
        } catch (IOException ex) {
            throw new RuntimeException(); // SNO: ByteArrayOutputStream thows IOException,
        }
        byte[] ba = bos.toByteArray();
View Full Code Here

Examples of net.sf.eclipsecs.core.projectconfig.ProjectConfigurationWorkingCopy.store()

      }
     

          // persist the checkconfig
          if (pcWorkingCopy.isDirty()) {
              pcWorkingCopy.store();
          }
         
        } catch (CheckstylePluginException ex) {
            // MavenLogger.log("CheckstylePluginException", ex);
        }
View Full Code Here

Examples of net.sf.gilead.core.store.stateful.AbstractStatefulProxyStore.store()

    }
    proxyInformations.put(ILightEntity.INITIALISED, true);
   
  //  Store proxy infos
  //
    statefulProxyStore.store(key, proxyInformations);
  }
}
View Full Code Here

Examples of net.sf.l2j.gameserver.model.L2Clan.store()

    L2Clan clan = new L2Clan(IdFactory.getInstance().getNextId(), clanName);
    L2ClanMember leader = new L2ClanMember(clan, player.getName(), player.getLevel(), player.getClassId().getId(), player.getObjectId(), player.getPledgeType(), player.getPowerGrade(), player.getTitle());
    clan.setLeader(leader);
    leader.setPlayerInstance(player);
    clan.store();
    player.setClan(clan);
    player.setPledgeClass(leader.calculatePledgeClass(player));
    player.setClanPrivileges(L2Clan.CP_ALL);

    if (Config.DEBUG)
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.store()

        // Create a summon effect!
        MagicSkillUser MSU = new MagicSkillUser(playable, activeChar, 2003, 1, 1, 0);
        activeChar.broadcastPacket(MSU);

    // Update the changed stat for the character in the DB.
    activeChar.store();

        // Remove the item from inventory.
    activeChar.destroyItem("Consume", item.getObjectId(), 1, null, false);

    // Broadcast the changes to the char and all those nearby.
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PetInstance.store()

        }

        petSummon.setRunning();

        if (!petSummon.isRespawned())
          petSummon.store();

            activeChar.setPet(petSummon);

        activeChar.sendPacket(new MagicSkillUser(activeChar, 2046, 1, 1000, 600000));
        activeChar.sendPacket(new SystemMessage(SystemMessageId.SUMMON_A_PET));
View Full Code Here

Examples of net.sourceforge.pebble.BlogCompanion.store()

    if (content != null && content.length() > 0) {
      BlogCompanion bc = blog.getBlogCompanion();
      bc.setContent(content);

      try {
        bc.store();
      } catch (Exception e) {
        status = "Error";
      }
    }
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.