Map<Method, EntityBridgeInvocationHandler.BridgeInvoker> selectorsByMethod = new HashMap<Method, EntityBridgeInvocationHandler.BridgeInvoker>(queries.size());
for (JDBCQueryMetaData metadata : queries) {
if (metadata.getMethod().getName().startsWith("ejbSelect")) {
try {
QueryCommand queryCommand = queryFactory.getQueryCommand(metadata.getMethod());
Schema schema = ((JDBCStoreManager2) entityBridge.getManager()).getSchema();
EJBSelectBridge ejbSelectBridge = new EJBSelectBridge((JDBCStoreManager2) entityBridge.getManager(), entityBridge.getComponent(), schema, metadata, queryCommand);
selectorsByMethod.put(metadata.getMethod(), ejbSelectBridge);
} catch (FinderException e) {
throw new RuntimeException(e.getMessage());
}