Spring Framework JndiObjectLocator - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Spring Framework JndiObjectLocator class.

This code example shows how to use the following methods:afterPropertiesSet, getJndiName, lookup
	} 
 
 
	@Override 
	public void afterPropertiesSet() throws NamingException { 
		super.afterPropertiesSet(); 
		prepare(); 
	} 
 
	/** 
	 * Fetches the RMI stub on startup, if necessary. 
	 * @throws RemoteLookupFailureException if RMI stub creation failed 
	 * @see #setLookupStubOnStartup 
	 * @see #lookupStub 
	 */ 
	public void prepare() throws RemoteLookupFailureException { 
		// Cache RMI stub on initialization? 
		if (this.lookupStubOnStartup) { 
			Object remoteObj = lookupStub(); 
			if (logger.isDebugEnabled()) { 

5
CodeRank
Contextual code suggestions in your IDE  Get Codota for Java
This code example shows how to use the following methods:
 * special way, getting executed on an EJB instance retrieved via an EJB home. 
 * 
 * @author Rod Johnson 
 * @author Juergen Hoeller 
 */ 
public abstract class AbstractSlsbInvokerInterceptor extends JndiObjectLocator
		implements MethodInterceptor { 
 
	private boolean lookupHomeOnStartup = true;
 
	private boolean cacheHome = true;
 
	private boolean exposeAccessContext = false;
 
	/** 
	 * The EJB's home object, potentially cached. 
	 * The type must be Object as it could be either EJBHome or EJBLocalHome. 
	 */ 
	private Object cachedHome;
 
5
CodeRank
Contextual code suggestions in your IDE  Get Codota for Java
See Code Examples for Spring Framework JndiObjectLocator Methods: