Class JsonTargetFactoryBean
- java.lang.Object
-
- org.smallmind.web.jersey.proxy.spring.JsonTargetFactoryBean
-
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<JsonTarget>,org.springframework.beans.factory.InitializingBean
public class JsonTargetFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<JsonTarget>, org.springframework.beans.factory.InitializingBean
-
-
Constructor Summary
Constructors Constructor Description JsonTargetFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()JsonTargetgetObject()Class<?>getObjectType()booleanisSingleton()voidsetConcurrencyLevel(int concurrencyLevel)voidsetContext(String context)voidsetHost(String host)voidsetPort(int port)voidsetProtocol(HttpProtocol protocol)voidsetTimeout(int timeout)
-
-
-
Method Detail
-
setProtocol
public void setProtocol(HttpProtocol protocol)
-
setHost
public void setHost(String host)
-
setPort
public void setPort(int port)
-
setContext
public void setContext(String context)
-
setConcurrencyLevel
public void setConcurrencyLevel(int concurrencyLevel)
-
setTimeout
public void setTimeout(int timeout)
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean<JsonTarget>
-
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<JsonTarget>
-
afterPropertiesSet
public void afterPropertiesSet() throws NoSuchAlgorithmException, MalformedURLException, URISyntaxException, KeyStoreException, KeyManagementException- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
NoSuchAlgorithmExceptionMalformedURLExceptionURISyntaxExceptionKeyStoreExceptionKeyManagementException
-
getObject
public JsonTarget getObject()
- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<JsonTarget>
-
-