* @return a list of {@link MessageHandle} instances
* @throws JMSException for any JMS error
*/
public List getDurableMessageHandles(String name)
throws JMSException, PersistenceException {
DatabaseService service = DatabaseService.getInstance();
Connection connection = service.getConnection();
Vector handles = service.getAdapter().getMessageHandles(
connection, getDestination(), name);
List result = new ArrayList(handles.size());
MessageCache cache = getMessageCache();