26 lines
593 B
Java
26 lines
593 B
Java
package com.inteligr8.alfresco.acs;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.context.annotation.Lazy;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
import com.inteligr8.rs.ClientConfiguration;
|
|
import com.inteligr8.rs.ClientJerseyImpl;
|
|
|
|
/**
|
|
* Configured JAX-RS Client & WebTarget for ACS & Jersey
|
|
*/
|
|
@Component("acs.client.jersey")
|
|
@Lazy
|
|
public class AcsClientJerseyImpl extends ClientJerseyImpl {
|
|
|
|
@Autowired
|
|
private AcsClientConfiguration config;
|
|
|
|
@Override
|
|
protected ClientConfiguration getConfig() {
|
|
return this.config;
|
|
}
|
|
|
|
}
|