Exemplo n.º 1
0
 public void destroyObject(Object o) throws Exception {
   if (o instanceof PooledXPathExpression) {
     PooledXPathExpression xp = (PooledXPathExpression) o;
     xp.destroy();
   } else throw new OXFException(o.toString() + " is not a PooledXPathExpression");
 }