Examples of create()


Examples of cz.muni.fi.pa165.ddtroopsconsole.service.SkillServiceImpl.create()

                                updateRace.getCharisma());
                    r.id = updateRace.getId();
                    rs.update(r);
                    break;
                case "createskill":
                    ss.create(
                            ss.createNewSkill(
                                createSkill.getName(),
                                createSkill.getDescription(),
                                createSkill.getProfession(),
                                createSkill.getMinXP()));

Examples of de.capacis.jzeemap.creators.ImageCreator.create()

      final Transformation transformation = transformationFactory.create(transformationId);
      creator.setOutputConfiguration(output);
      creator.setScene(scene);
      creator.setBackgroundImageProvider(backgroundImageProvider);
      creator.setTransformation(transformation);
      creator.create();

    } catch (ImageCreatorException e) {
      logger.error("could not create ImageCreator for generator " + generatorId + ": " + e.getMessage());
    } catch (TransformationException e) {
      logger.error("could not create Transformation for transformation " + transformationId + ": " + e.getMessage());

Examples of de.danet.an.util.UtilHome.create()

  Object objref = ic.lookup
      ("ejb/de.danet.an.workflow.util-lib.Util");
  UtilHome home = (UtilHome)PortableRemoteObject.narrow
      (objref, UtilHome.class);
  assertTrue (home != null);
  de.danet.an.util.Util ut = home.create();
  assertTrue (ut != null);
  Principal p = ut.getEJBPrincipal();
  assertTrue(p != null);
  assertTrue("Principal is: " + p.getName(),
       p.getName().startsWith("StaffManagementMember_"));

Examples of de.danet.an.workflow.ejbs.WorkflowEngineHome.create()

       // than de.danet.an.workflow.omgcore
       Object objref = serverContext.lookup(homeName);
       WorkflowEngineHome wfeh
           = (WorkflowEngineHome)PortableRemoteObject.narrow
        (objref, WorkflowEngineHome.class);
       WorkflowEngine wfe = wfeh.create();
       WorkflowService service = new StandardWorkflowService
           (recoveryProps, serverContext, wfe);
       return service;
   } catch (NamingException e) {
       logger.error (e.getMessage (), e);

Examples of de.danet.an.workflow.ejbs.admin.ProcessDefinitionDirectoryHome.create()

   // Create process definition directory bean
  ProcessDefinitionDirectoryHome pddh
      = (ProcessDefinitionDirectoryHome)EJBUtil.lookupEJBHome
      (ProcessDefinitionDirectoryHome.class,
       "ejb/de.danet.an.wfdemo.ProcessDefinitionDirectory");
  ProcessDefinitionDirectory pdd = pddh.create();
  InputStream is = SubFlow.class.getResourceAsStream(filename);
  assertTrue (is != null);
  BufferedReader br = new BufferedReader
      (new InputStreamReader(is, "ISO-8859-1"));
  StringBuffer sb = new StringBuffer();

Examples of de.fu_berlin.inf.dpp.net.internal.DefaultInvitationInfo.UserListRequestExtensionProvider.create()

     */
    protected void completeInvitation() {
        log.debug("Inv" + Utils.prefix(peer) + ": Completing invitation...");
        UserListRequestExtensionProvider extProv = new UserListRequestExtensionProvider();
        transmitter.sendMessageToUser(peer,
            extProv.create(new DefaultInvitationInfo(sessionID, invitationID)));

        /*
         * TODO: Wait until all of the activities in the queue (which arrived
         * during the invitation) are processed and notify the host only after
         * that.
 

Examples of de.iritgo.aktera.hibernate.StandardDao.create()

        else
        {
          StandardDao standardDao = (StandardDao) SpringTools.getBean(StandardDao.ID);
          Object bean = persistents.get(aPersistentConfig.getAttribute("id"));

          standardDao.create(bean);

          try
          {
            id = (Integer) PropertyUtils.getSimpleProperty(bean, "id");
          }

Examples of de.iritgo.aktera.persist.PersistentFactory.create()

        persistentManager = (PersistentFactory) req.getService(PersistentFactory.ROLE, "", context);
      }

      ((KeelContextualizable) req).setKeelContext(context);

      Persistent persistent = persistentManager.create(properties.getProperty("persistent"));

      if (properties.getProperty("persistentFilter").equals("true"))
      {
        persistent.setField(properties.getProperty("persistentFilterAttributeName"), properties
                .get("persistentFilterAttribute"));

Examples of de.kumpelblase2.remoteentities.CreateEntityContext.create()

    CreateEntityContext context = this.npcManager.prepareEntity(RemoteEntityType.Human).asStationary(true).withName("test").atLocation(inEvent.getPlayer().getLocation()).withID(10);
    //Whenever you specify an id it's not 100% sure that the entity you create has that ID. It'll get the next free ID from the give ID.
    for(int i = 0; i < 10; i++)
    {
      //Whenever we call the create method a new entity gets created with the options we specified in the context. That means we'll create ten "test" human npcs in this case.
      context.create();
    }
  }
}

Examples of de.lessvoid.nifty.controls.dynamic.CustomControlCreator.create()

      Element vertical = getElement().findElementByName("#vertical-scrollbar");
      if (newCount > displayItems) {
        if (vertical == null) {
          ElementType templateType = verticalScrollbarTemplate.getElementType().copy();
          CustomControlCreator create = new CustomControlCreator((ControlType) templateType);
          Element e = create.create(nifty, screen, scrollElement);
          if (e.getHeight() < 23*2) { // ugly
            nifty.removeElement(screen, e);
            return;
          }
          subscribeVerticalScrollbar();
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.