Examples of binding()


Examples of com.caucho.config.inject.BeanFactory.binding()

    BeanFactory factory = beanManager.createBeanFactory(_object.getClass());

    if (name != null) {
      factory.name(name);
      factory.binding(CurrentLiteral.CURRENT);
      factory.binding(Names.create(name));
    }

    // server/12dt
    // for backward compatibility <resource> is always ApplicationScoped
View Full Code Here

Examples of com.caucho.remote.server.ProtocolServletFactory.binding()

    */
    for (Annotation binding : annotated.getAnnotations()) {
      Class bindingType = binding.annotationType();
     
      if (bindingType.isAnnotationPresent(Qualifier.class))
        factory.binding(binding);
    }

    _beanManager.addBean(factory.singleton(proxy));

    event.veto();
View Full Code Here

Examples of com.centeractive.ws.builder.core.WsdlParser.binding()

    String operationName;
    byte[] xmlRequest;
    List<String> endpoints;
    for (QName i : bindings) {
      bindingName = i.getLocalPart();
      builder = parser.binding().localPart(bindingName).builder();
      operations = builder.getOperations();
      for (SoapOperation j : operations) {
        operationName = j.getOperationName();
        operation = builder.operation().name(operationName).find();
        xmlRequest = createRequest(requestResponse, builder, operation);
View Full Code Here

Examples of com.sissi.context.JIDContext.binding()

  @Override
  public Recall call(String to) {
    JID jid = this.jidBuilder.build(to);
    JIDContext context = this.addressing.find(jid);
    if (context.binding()) {
      context.write(this.persistent.pull(jid));
    }
    return this;
  }
}
View Full Code Here

Examples of com.sun.xml.internal.ws.wsdl.writer.document.Port.binding()

        QName portQName = model.getPortName();
        QName serviceQName = model.getServiceQName();
        Service service = serviceDefinitions.service().name(serviceQName.getLocalPart());
        extension.addServiceExtension(service);
        Port port = service.port().name(portQName.getLocalPart());
        port.binding(model.getBoundPortTypeName());
        extension.addPortExtension(port);
        if (model.getJavaMethods().size() == 0)
            return;

        if(this.binding.getBindingId().getSOAPVersion()== SOAPVersion.SOAP_12){
View Full Code Here

Examples of com.sun.xml.ws.wsdl.writer.document.Port.binding()

        QName portQName = model.getPortName();
        QName serviceQName = model.getServiceQName();
        Service service = serviceDefinitions.service().name(serviceQName.getLocalPart());
        extension.addServiceExtension(service);
        Port port = service.port().name(portQName.getLocalPart());
        port.binding(model.getBoundPortTypeName());
        extension.addPortExtension(port);
        if (model.getJavaMethods().isEmpty())
            return;

        if (this.binding.getBindingId().getSOAPVersion() == SOAPVersion.SOAP_12) {
View Full Code Here

Examples of com.sun.xml.ws.wsdl.writer.document.Port.binding()

        QName portQName = model.getPortName();
        QName serviceQName = model.getServiceQName();
        Service service = serviceDefinitions.service().name(serviceQName.getLocalPart());
        extension.addServiceExtension(service);
        Port port = service.port().name(portQName.getLocalPart());
        port.binding(model.getBoundPortTypeName());
        extension.addPortExtension(port);
        if (model.getJavaMethods().size() == 0)
            return;

        if(this.binding.getBindingId().getSOAPVersion()== SOAPVersion.SOAP_12){
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.ast.Invocation.binding()

    }
    if (expri instanceof FunctionalExpression) {
      c.add(new ConstraintExceptionFormula((FunctionalExpression) expri, substF));
    } else if (expri instanceof Invocation && expri.isPolyExpression()) {
      Invocation invocation = (Invocation) expri;
      MethodBinding innerMethod = invocation.binding(null, false, null);
      if (innerMethod instanceof ParameterizedGenericMethodBinding) {
        InferenceContext18 innerCtx = invocation.getInferenceContext((ParameterizedMethodBinding) innerMethod);
        if (innerCtx != null) { // otherwise innerMethod does not participate in inference
          return addConstraintsToC(invocation.arguments(), c, innerMethod.genericMethod(), innerCtx.inferenceKind);
        }
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.ast.Invocation.binding()

      if (inner instanceof Invocation) {
        Invocation innerMessage = (Invocation) inner;
        TypeBinding innerTargetType = inner.expectedType(); // may be set from acceptPendingPolyArguments
        if (innerTargetType != null && !innerTargetType.isProperType(true))
          innerTargetType = null;
        MethodBinding binding = innerMessage.binding(innerTargetType, innerTargetType != null, this.scope);
        if (binding == null)
          continue;
        MethodBinding original = binding.shallowOriginal();

        // apply inference results onto the allocation type of inner diamonds:
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.ast.Invocation.binding()

        targetType = Scope.substitute(substitution, targetType);
      Expression expression = this.invocationArguments[i];
      if (expression instanceof Invocation) {
        Invocation invocation = (Invocation) expression;
        if (!this.innerPolies.contains(invocation)) {
          MethodBinding method = invocation.binding(targetType, true, this.scope);
          if (method instanceof ParameterizedGenericMethodBinding) {
            ParameterizedGenericMethodBinding previousBinding = (ParameterizedGenericMethodBinding) method;
            InferenceContext18 innerCtx = invocation.getInferenceContext(previousBinding);
            if (innerCtx != null) {
              // we have a non-poly generic invocation, which needs inference but is not connected via innerPolis.
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.