public T getInstance()

in src/java/org/apache/fulcrum/pool/DefaultPoolService.java [215:230]


	public <T> T getInstance(Class<?> clazz, Object params[], String signature[]) throws PoolException 
	{
		try 
		{
			T instance = pollInstance(clazz.getName(), params, signature);
			
			// TODO There is a whacky .toString() on the clazz object, 
			// but otherwise it won't compile
			return instance == null ? getFactory().getInstance(clazz.toString(), params, signature) : instance;
			
		} 
		catch (FactoryException fe) 
		{
			throw new PoolException(fe);
		}
	}