sorry it was an attribute not an operation.........
server.setAttribute(new ObjectName("jboss.jca:name=OracleDS,service=ManagedConnectionPool"), new Attribute("MaxSize",new Integer(25)));
oops it seems I have clicked "newtopic" by mistake instead of postreply...sorry