Class RestClientExtension
java.lang.Object
org.jboss.resteasy.microprofile.client.RestClientExtension
- All Implemented Interfaces:
jakarta.enterprise.inject.spi.Extension
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidDeprecated.this method is not supported and will eventually be deletedstatic ObjectDeprecated.this method is not supported and will eventually be deletedvoidcreateProxy(jakarta.enterprise.inject.spi.AfterBeanDiscovery afterBeanDiscovery, jakarta.enterprise.inject.spi.BeanManager beanManager) static booleanDeprecated.this method is not supported and will eventually be deleted<T> voidobserveSessionBeans(jakarta.enterprise.inject.spi.ProcessSessionBean<T> event) Observes ProcessSessionBean events and creates a (Bean class -> Local interface) map for Session beans with local interfaces.voidregisterRestClient(jakarta.enterprise.inject.spi.ProcessAnnotatedType<?> type) voidreportErrors(jakarta.enterprise.inject.spi.AfterDeploymentValidation afterDeploymentValidation)
-
Constructor Details
-
RestClientExtension
public RestClientExtension()
-
-
Method Details
-
registerRestClient
public void registerRestClient(@Observes jakarta.enterprise.inject.spi.ProcessAnnotatedType<?> type) -
createProxy
public void createProxy(@Observes jakarta.enterprise.inject.spi.AfterBeanDiscovery afterBeanDiscovery, jakarta.enterprise.inject.spi.BeanManager beanManager) -
reportErrors
public void reportErrors(@Observes jakarta.enterprise.inject.spi.AfterDeploymentValidation afterDeploymentValidation) -
observeSessionBeans
public <T> void observeSessionBeans(@Observes jakarta.enterprise.inject.spi.ProcessSessionBean<T> event) Observes ProcessSessionBean events and creates a (Bean class -> Local interface) map for Session beans with local interfaces. This map is necessary since RESTEasy identifies a bean class as JAX-RS components while CDI requires a local interface to be used for lookup.- Parameters:
event- event the process session bean event
-
getSessionBeanInterface
-
isCDIActive
Deprecated.this method is not supported and will eventually be deleted- Returns:
trueif CDI is believed to be activated, otherwisefalse
-
clearBeanManager
Deprecated.this method is not supported and will eventually be deletedThis method currently does nothing. -
construct
Deprecated.this method is not supported and will eventually be deletedLifted from CdiConstructorInjector in resteasy-cdi
-