* @throws NamingException in case the File Retriever EIS is not found
* @throws ResourceException in case of any problem with File Retriever
*/
public FileRetrieverConnection getConnection() throws NamingException, ResourceException {
javax.naming.InitialContext ctx = new javax.naming.InitialContext();
FileRetrieverConnectionFactory factory =
(FileRetrieverConnectionFactory)ctx.lookup(CONNECTOR_REF_NAME);
return factory.getConnection();
}