Examples of addDescriptor()


Examples of org.apache.ojb.broker.metadata.ConnectionRepository.addDescriptor()

            log.debug("Initializing OJB");
        }

        // This line effectively loads OJB.properties & repository.xml
        ConnectionRepository     connRep = MetadataManager.getInstance().connectionRepository();
        JdbcConnectionDescriptor jcd     = connRep.addDescriptor("default", dataSource, username, password);
        SequenceDescriptor       seqDesc = new SequenceDescriptor(jcd);

        seqDesc.setSequenceManagerClass(SequenceManagerHighLowImpl.class);
        jcd.setSequenceDescriptor(seqDesc);
    }
View Full Code Here

Examples of org.eclipse.persistence.sessions.Project.addDescriptor()

              return this;
            }
        }.setProjectAndAdapter(oxProject, dbwsAdapter));
        parametersMapping.setKeepAsElementPolicy(KEEP_UNKNOWN_AS_ELEMENT);
        invocationDescriptor.addMapping(parametersMapping);
        oxProject.addDescriptor(invocationDescriptor);
        ((DatabaseSessionImpl)dbwsAdapter.getOXSession()).initializeDescriptorIfSessionAlive(invocationDescriptor);
        dbwsAdapter.getXMLContext().storeXMLDescriptorByQName(invocationDescriptor);

        // create SOAP message response handler
        responseWriter = new SOAPResponseWriter(dbwsAdapter);
View Full Code Here

Examples of org.eclipse.persistence.sessions.server.ServerSession.addDescriptor()

        args.add(dept);

        ServerSession session =
          ((JpaEntityManager)em.getDelegate()).getServerSession();

        session.addDescriptor(DepartmentUtils.departmentDescriptor());
        // execute
        JpaHelper.getEntityManager(em).getActiveSession().executeQuery(databaseQuery,args);

        em.getTransaction().commit();
View Full Code Here

Examples of org.exolab.javasource.JDocComment.addDescriptor()

        desc = "The PropertyChangeListener to remove.";
        jdDesc = jdc.getParamDescriptor("pcl");
        jdDesc.setDescription(desc);

        desc = "true if the given PropertyChangeListener was removed.";
        jdc.addDescriptor(JDocDescriptor.createReturnDesc(desc));

        parent.addMethod(jMethod);

        jsc = jMethod.getSourceCode();
        jsc.add("return ");
View Full Code Here

Examples of org.jbpm.pvm.internal.wire.WireDefinition.addDescriptor()

       
        // add the descriptor
        if ( (wireDefinition!=null)
             && (descriptor!=null)
           ) {
          wireDefinition.addDescriptor(descriptor);
        }
      }
    } finally {
      parse.popObject();
    }
View Full Code Here

Examples of org.jbpm.wire.WireDefinition.addDescriptor()

 
  // object builders //////////////////////////////////////////////////////////

  protected T constructFromDescriptor() {
    WireDefinition wireDefinition = new WireDefinition();
    wireDefinition.addDescriptor("o", descriptor);
    WireContext wireContext = new WireContext(wireDefinition);
    return (T) wireContext.get("o");
  }

  protected T resolveValueExpression() {
View Full Code Here

Examples of org.jbpm.wire.WireDefinition.addDescriptor()

        }
      }
     
      // add the descriptor
      WireDefinition wireDefinition = parse.findObject(WireDefinition.class);
      wireDefinition.addDescriptor(descriptor);
    }
    return object;
  }

  // other methods ////////////////////////////////////////////////////////////
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.