Code example for Set

Methods: addAll

0
	 * which this factory is allowed to cache once obtained. 
	 * @param shareableResources the JNDI names 
	 * (typically within the "java:comp/env/" namespace) 
	 */ 
	public void setShareableResources(String... shareableResources) {
		this.shareableResources.addAll(Arrays.asList(shareableResources));
	} 
 
 
	//--------------------------------------------------------------------- 
	// Implementation of BeanFactory interface 
	//--------------------------------------------------------------------- 
 
 
	@Override 
	public Object getBean(String name) throws BeansException {
		return getBean(name, Object.class);
	} 
 
	@Override 
Contextual code suggestions in your IDE  Get Codota for Java