spring-framework / org.springframework.jndi / JndiObjectFactoryBean / setProxyInterface

setProxyInterface

open fun setProxyInterface(proxyInterface: Class<*>): Unit

Specify the proxy interface to use for the JNDI object.

Typically used in conjunction with "lookupOnStartup"=false and/or "cache"=false. Needs to be specified because the actual JNDI object type is not known in advance in case of a lazy lookup.

See Also
#setProxyInterfaces#setLookupOnStartup#setCache