cxf-lazy-deploy

Deploy CXF clients faster

Лицензия

Лицензия

Категории

Категории

CLI Взаимодействие с пользователем
Группа

Группа

com.vecna.cxf
Идентификатор

Идентификатор

cxf-lazy-clients
Последняя версия

Последняя версия

1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

cxf-lazy-deploy
Deploy CXF clients faster
Организация-разработчик

Организация-разработчик

Vecna Technologies
Система контроля версий

Система контроля версий

https://github.com/vecnatechnologies/cxf-lazy-clients

Скачать cxf-lazy-clients

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.vecna.cxf/cxf-lazy-clients/ -->
<dependency>
    <groupId>com.vecna.cxf</groupId>
    <artifactId>cxf-lazy-clients</artifactId>
    <version>1.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.vecna.cxf/cxf-lazy-clients/
implementation 'com.vecna.cxf:cxf-lazy-clients:1.0'
// https://jarcasting.com/artifacts/com.vecna.cxf/cxf-lazy-clients/
implementation ("com.vecna.cxf:cxf-lazy-clients:1.0")
'com.vecna.cxf:cxf-lazy-clients:jar:1.0'
<dependency org="com.vecna.cxf" name="cxf-lazy-clients" rev="1.0">
  <artifact name="cxf-lazy-clients" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.vecna.cxf', module='cxf-lazy-clients', version='1.0')
)
libraryDependencies += "com.vecna.cxf" % "cxf-lazy-clients" % "1.0"
[com.vecna.cxf/cxf-lazy-clients "1.0"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.apache.cxf : cxf-rt-rs-client Необязательный jar 3.0.1
org.apache.cxf : cxf-rt-frontend-jaxws Необязательный jar 3.0.1
org.slf4j : slf4j-api jar 1.7.7

test (2)

Идентификатор библиотеки Тип Версия
org.slf4j : slf4j-simple jar 1.7.7
junit : junit jar 4.10

Модули Проекта

Данный проект не имеет модулей.

Lazy CXF

About

Deploy CXF clients faster (in development).

This library provides drop-in replacements for CXF's JAXRSClientFactoryBean and JaxWsProxyFactoryBean. Both have an additional lazy parameter which controls whether a proxied, uninitialized (lazy) client is created by the factory. A lazy client would delay all expensive initialization (data binding generation/introspection or what have you) until the first call to the client.

Note that lazy clients incur the cost of an additional reflective call for each call, so it's not advised to set lazy to true outside of the development environment.

Compatibility

Has been tested with CXF 3.0.1 but should be compatible with older 2.x versions. The CXF dependencies are marked as optional (assuming your project already depends on the CXF's JAX-RS and/or JAX-WS runtime if you're using this library).

Example

  <bean id="myServiceFactory" class="com.vecna.cxf.ws.JaxWsProxyFactoryBean"
    p:serviceClass="com.services.MyService"
    p:address="https://myserver/MyService"
    p:lazy="true"/>

  <bean id="myService" factory-bean="myServiceFactory" factory-method="get"/>
com.vecna.cxf

Vecna Technologies, Inc.

Версии библиотеки

Версия
1.0