Examples of deactivateEndpoint()


Examples of javax.jbi.component.ComponentContext.deactivateEndpoint()

                ComponentContext ctx = this.serviceUnit.getComponent().getComponentContext();
                activated = ctx.activateEndpoint(service, endpoint);
            }
            public void deactivate() throws Exception {
                ComponentContext ctx = this.serviceUnit.getComponent().getComponentContext();
                ctx.deactivateEndpoint(activated);
                activated = null;
            }
            public ExchangeProcessor getProcessor() {
                return this;
            }
View Full Code Here

Examples of javax.jbi.component.ComponentContext.deactivateEndpoint()

        stop();
        ServiceEndpoint ep = activated;
        activated = null;
        ComponentContext ctx = getServiceUnit().getComponent()
                .getComponentContext();
        ctx.deactivateEndpoint(ep);
    }

    /*
     * (non-Javadoc)
     *
 
View Full Code Here

Examples of javax.jbi.component.ComponentContext.deactivateEndpoint()

    public void deactivate() throws Exception {
        ServiceEndpoint ep = activated;
        activated = null;
        ComponentContext ctx = this.serviceUnit.getComponent().getComponentContext();
        ctx.deactivateEndpoint(ep);
    }

    public ExchangeProcessor getProcessor() {
        return this;
    }
View Full Code Here

Examples of javax.jbi.component.ComponentContext.deactivateEndpoint()

    public void deactivate() throws Exception {
        stop();
        ServiceEndpoint ep = activated;
        activated = null;
        ComponentContext ctx = getServiceUnit().getComponent().getComponentContext();
        ctx.deactivateEndpoint(ep);
    }

    public ExchangeProcessor getProcessor() {
        return this;
    }
View Full Code Here

Examples of javax.jbi.component.ComponentContext.deactivateEndpoint()

  @Override
  public void deactivate() throws Exception {
        ServiceEndpoint ep = activated;
        activated = null;
        ComponentContext ctx = this.serviceUnit.getComponent().getComponentContext();
        ctx.deactivateEndpoint(ep);
  }

  @Override
  public ExchangeProcessor getProcessor() {
    return this;
View Full Code Here

Examples of javax.jbi.component.ComponentContext.deactivateEndpoint()

    public void deactivate() throws Exception {
        ServiceEndpoint ep = activated;
        activated = null;
        processor.stop();
        ComponentContext ctx = this.serviceUnit.getComponent().getComponentContext();
        ctx.deactivateEndpoint(ep);
        injectContext(null);
    }

    protected void injectContext(ComponentContext context) {
        try {
View Full Code Here

Examples of javax.jbi.component.ComponentContext.deactivateEndpoint()

    stop();
    ServiceEndpoint ep = activated;
    activated = null;
    ComponentContext ctx = getServiceUnit().getComponent()
        .getComponentContext();
    ctx.deactivateEndpoint(ep);
  }

  protected void done(MessageExchange me) throws MessagingException {
    me.setStatus(ExchangeStatus.DONE);
    send(me);
View Full Code Here

Examples of javax.jbi.component.ComponentContext.deactivateEndpoint()

  public void deactivate() throws Exception {
        ServiceEndpoint ep = activated;
        activated = null;
        ComponentContext ctx = this.serviceUnit.getComponent().getComponentContext();
        ctx.deactivateEndpoint(ep);
  }

  public ExchangeProcessor getProcessor() {
    return this;
  }
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.