/* */
/* */ public Object execute(Object[] args) throws FinderException {
/* 106 */ Method method = getMethod();
/* */ Collection retVal;
/* */ try {
/* 109 */ JDBCQueryCommand query = this.manager.getQueryManager().getQueryCommand(method);
/* 110 */ EntityContainer selectedContainer = query.getSelectManager().getContainer();
/* */ GenericEntityObjectFactory factory;
/* */ GenericEntityObjectFactory factory;
/* 112 */ if ((this.queryMetaData.isResultTypeMappingLocal()) && (selectedContainer.getLocalHomeClass() != null))
/* */ {
/* 114 */ factory = selectedContainer.getLocalProxyFactory();
/* */ }
/* */ else
/* */ {
/* 118 */ factory = selectedContainer.getProxyFactory();
/* */ }
/* */
/* 121 */ retVal = query.execute(method, args, null, factory);
/* */ }
/* */ catch (FinderException e)
/* */ {
/* 125 */ throw e;
/* */ }