Examples of Target


Examples of org.andromda.cartridges.deployment.psm.ant.Target

            ComponentFacade element = (ComponentFacade) iter.next();
            compilationTasks.addAll(element.getTasksForCompilationPhase());
            deploymentTasks.addAll(element.getTasksForDeploymentPhase());
        }

        Target compilationTarget = new Target("compile", null, compilationTasks);
        Target deploymentTarget = new Target("deploy", "compile",
                deploymentTasks);

        ArrayList allTargets = new ArrayList(2);
        allTargets.add(compilationTarget);
        allTargets.add(deploymentTarget);
View Full Code Here

Examples of org.apache.abdera.protocol.server.Target

    protected abstract TargetBuilder getTargetBuilder(RequestContext request);

    protected abstract Resolver<Target> getTargetResolver(RequestContext request);

    public ResponseContext process(RequestContext request) {
        Target target = request.getTarget();
        if (target == null || target.getType() == TargetType.TYPE_NOT_FOUND) {
            return ProviderHelper.notfound(request);
        }

        TargetType type = target.getType();
        RequestProcessor processor = this.requestProcessors.get(type);
        if (processor == null) {
            return ProviderHelper.notfound(request);
        }
View Full Code Here

Examples of org.apache.abdera.protocol.server.provider.Target

    if (provider == null) {
      noprovider(response);
      return false;
    }
    // Check The Target
    Target target = request.getTarget();
    if (target == null) {
      notfound(response);
      return false;
    }
    // Check The Method
    if (!checkMethod(request)) {
      notallowed(
        response,
        request.getMethod(),
        getAllowedMethods(target.getType()));
      return false;
    }
    // Check The Conditions
    ResponseInfo info = provider.getInfo(request);
    switch(checkConditions(info, request)) {
View Full Code Here

Examples of org.apache.activemq.partition.dto.Target

    }

    protected void checkTarget(ConnectionMonitor monitor) {

        // can we find a preferred target for the connection?
        Target targetDTO = pickBestBroker(monitor);
        if( targetDTO == null || targetDTO.ids==null) {
            LOG.debug("No partition target found for connection: "+monitor.context.getConnectionId());
            return;
        }
View Full Code Here

Examples of org.apache.avalon.cornerstone.services.scheduler.Target

         * Start this Watchdog, causing it to begin monitoring.  The Watchdog can
         * be stopped and restarted.
         */
        public void start() {
            PeriodicTimeTrigger theTrigger = new PeriodicTimeTrigger((int)SchedulerWatchdogFactory.this.timeout, -1);
            Target theTarget = new Target() {
                                    public void targetTriggered(String targetID) {
                                        theWatchdogTarget.execute();
                                    }
                               };
            SchedulerWatchdogFactory.this.myTimeScheduler.addTrigger(triggerID, theTrigger, theTarget);
View Full Code Here

Examples of org.apache.axis.encoding.Target

    public void valueComplete() throws SAXException {
        if (componentsReady()) {           
            if (targets != null) {
                Enumeration e = targets.elements();
                while (e.hasMoreElements()) {
                    Target target = (Target)e.nextElement();
                    target.set(value);
                }
                // Don't need targets any more, so clear them
                removeValueTargets();
            }
        }
View Full Code Here

Examples of org.apache.commons.math3.optim.nonlinear.vector.Target

        // Perform the fit.
        final PointVectorValuePair optimum
            = optimizer.optimize(new MaxEval(maxEval),
                                 model.getModelFunction(),
                                 model.getModelFunctionJacobian(),
                                 new Target(target),
                                 new Weight(weights),
                                 new InitialGuess(initialGuess));
        // Extract the coefficients.
        return optimum.getPointRef();
    }
View Full Code Here

Examples of org.apache.commons.math3.optim.nonlinear.vector.Target

            this.factors = new BlockRealMatrix(factors);
            this.target  = target;
        }

        public Target getTarget() {
            return new Target(target);
        }
View Full Code Here

Examples of org.apache.commons.math3.optim.nonlinear.vector.Target

    }

    @Test(expected=MathUnsupportedOperationException.class)
    public void testConstraintsUnsupported() {
        createOptimizer().optimize(new MaxEval(100),
                                   new Target(new double[] { 2 }),
                                   new Weight(new double[] { 1 }),
                                   new InitialGuess(new double[] { 1, 2 }),
                                   new SimpleBounds(new double[] { -10, 0 },
                                                    new double[] { 20, 30 }));
    }
View Full Code Here

Examples of org.apache.commons.math3.optim.nonlinear.vector.Target

            = new GaussNewtonOptimizer(new SimpleVectorValueChecker(1e-30, 1e-30));

        optimizer.optimize(new MaxEval(100),
                           circle.getModelFunction(),
                           circle.getModelFunctionJacobian(),
                           new Target(new double[] { 0, 0, 0, 0, 0 }),
                           new Weight(new double[] { 1, 1, 1, 1, 1 }),
                           new InitialGuess(new double[] { 98.680, 47.345 }));
    }
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.