org.jboss.seam.rest.client
Class RestClientProducer

java.lang.Object
  extended by org.jboss.seam.rest.client.RestClientProducer

@ApplicationScoped
public class RestClientProducer
extends Object

Produces REST Clients

Author:
Jozef Hartinger

Constructor Summary
RestClientProducer()
           
 
Method Summary
 void initClientSupport(javax.enterprise.inject.Instance<org.jboss.resteasy.client.core.ClientErrorInterceptor> interceptors)
           
 org.jboss.resteasy.client.ClientRequest produceClientRequest(javax.enterprise.inject.spi.InjectionPoint ip, org.jboss.resteasy.client.ClientExecutor executor)
          Produces ClientRequest instances.
 Object produceRestClient(javax.enterprise.inject.spi.InjectionPoint ip, org.jboss.resteasy.client.ClientExecutor executor)
          Producer method for proxied JAX-RS interfaces - REST Clients This method is not registered as a producer method by default.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestClientProducer

public RestClientProducer()
Method Detail

initClientSupport

@Inject
public void initClientSupport(javax.enterprise.inject.Instance<org.jboss.resteasy.client.core.ClientErrorInterceptor> interceptors)

produceRestClient

public Object produceRestClient(javax.enterprise.inject.spi.InjectionPoint ip,
                                org.jboss.resteasy.client.ClientExecutor executor)
Producer method for proxied JAX-RS interfaces - REST Clients This method is not registered as a producer method by default. It is registered by RestClientExtension only if there is an appropriate injection point.


produceClientRequest

@Produces
@RestClient(value="")
public org.jboss.resteasy.client.ClientRequest produceClientRequest(javax.enterprise.inject.spi.InjectionPoint ip,
                                                                                             org.jboss.resteasy.client.ClientExecutor executor)
Produces ClientRequest instances.



Copyright © 2011 Seam Framework. All Rights Reserved.