Examples of Target


Examples of com.sun.enterprise.admin.target.Target

        String[] ctxRoots = getAppContextRoots(appBean);
        if(ctxRoots==null || ctxRoots.length<=0)
          return null;

        //create target by name
        final Target target = TargetBuilder.INSTANCE.createTarget(
            new TargetType[]{TargetType.CLUSTER, TargetType.SERVER, TargetType.DAS}, targetName, ctx);           
       
        //get apprefs for target
        ApplicationRef[] refs = null;
        if (target.getType() == TargetType.CLUSTER ||
            target.getType() == TargetType.STANDALONE_CLUSTER)
        {
            refs = ClusterHelper.getApplicationReferences(ctx, targetName);
        }
        else
        {
View Full Code Here

Examples of com.sun.jini.jeri.internal.runtime.ObjectTable.Target

        {
      assert strongRef != null;
      if (moreTargetsLeft) { // one must be DGC-enabled, too
          for (Iterator i = targets.iterator(); i.hasNext();)
          {
        Target t = (Target) i.next();
        if (t.getEnableDGC()) {
            invokeUnreferenced(t);
            break;
        }
          }
      }
View Full Code Here

Examples of com.sun.jini.jeri.internal.runtime.Target

        {
      assert strongRef != null;
      if (moreTargetsLeft) { // one must be DGC-enabled, too
          for (Iterator i = targets.iterator(); i.hasNext();)
          {
        Target t = (Target) i.next();
        if (t.getEnableDGC()) {
            invokeUnreferenced(t);
            break;
        }
          }
      }
View Full Code Here

Examples of com.sun.tools.javac.jvm.Target

            }
        },
        new Option(TARGET,              "opt.arg.release",      "opt.target") {
            @Override
            public boolean process(Options options, String option, String operand) {
                Target target = Target.lookup(operand);
                if (target == null) {
                    helper.error("err.invalid.target", operand);
                    return true;
                }
                return super.process(options, option, operand);
View Full Code Here

Examples of com.sun.xacml.Target

  {
    final CombiningAlgorithm alg = getCombiningAlgorithm();
    if(!(alg instanceof PolicyCombiningAlgorithm))
      {throw new IllegalStateException("Combining algorithm must be a policy combining algorithm");}
    final PolicyCombiningAlgorithm algorithm = (PolicyCombiningAlgorithm)alg;
    final Target target = getTarget().getTarget();
    final List<PolicyTreeElement> copy = new ArrayList<PolicyTreeElement>(children.size());
    for(final PolicyElementNode child : children)
      copy.add(child.create());
    final URI useId = (id == null) ? getId() : id;
    return new PolicySet(useId, algorithm, getDescription(), target, copy);
View Full Code Here

Examples of com.sun.xml.ws.security.policy.Target

    }


    protected SignedParts getEmptySignedParts(Iterator itr){
        while(itr.hasNext()){
            Target target = (Target)itr.next();
            SecurityPolicyVersion spVersion = SecurityPolicyUtil.getSPVersion((PolicyAssertion)target);
            if(PolicyUtil.isSignedParts((PolicyAssertion)target, spVersion)){
                if(SecurityPolicyUtil.isSignedPartsEmpty((SignedParts) target)){
                    return (SignedParts) target;
                }
View Full Code Here

Examples of com.sun.xml.wss.impl.policy.mls.Target

    // replace uri target types with qname target types
    @SuppressWarnings("unchecked")
    private void modifyTargets(ArrayList targets) {
        for (int i = 0; i < targets.size(); i++) {
            Target target = (Target) targets.get(i);
            if (Target.TARGET_TYPE_VALUE_URI.equals(target.getType())) {
                findAndReplaceTargets(target);
            }
        }
    }
View Full Code Here

Examples of de.willuhn.logging.targets.Target

    BackgroundTask task = new BackgroundTask() {
      public void run(final ProgressMonitor monitor) throws ApplicationException
      {
        HBCIHandler handler = null;
        Target target       = null;
        try {
          monitor.setStatusText(i18n.tr("Teste Sicherheits-Medium..."));

          // Log-Ausgaben temporaer auch mit im Progressbar-Fenster
          // ausgeben
          target = new Target() {
            public void write(Message msg) throws Exception
            {
              monitor.addPercentComplete(2);
              format(monitor,msg.getText());
            }
View Full Code Here

Examples of edu.umd.cs.findbugs.ba.AnnotationDatabase.Target

        annotationClass = lastPortion(annotationClass);
        if (n == null) {
            if (annotationClass.startsWith("DefaultAnnotation")) {
                annotationClass = annotationClass.substring("DefaultAnnotation".length());

                Target annotationTarget = defaultKind.get(annotationClass);
                if (annotationTarget != Target.METHOD) {
                    return;
                }

                ElementValue v = map.get("value");
View Full Code Here

Examples of flex.messaging.log.Target

            Class c = ClassUtil.createClass(className,
                        FlexContext.getMessageBroker() == null ? null :
                        FlexContext.getMessageBroker().getClassLoader());
            try
            {
                Target target = (Target)c.newInstance();
                target.setLevel(Log.readLevel(targetSettings.getLevel()));
                target.setFilters(targetSettings.getFilters());
                target.initialize(null, targetSettings.getProperties());
                Log.addTarget(target);
            }
            catch (Throwable t)
            {
                // Unwrap to get to the interesting exception
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.