What makes you think you want to get the connection pool? What do you plan to do to it?
I want to get connection from the connection Pool.And I also want to use the pool to manager the connections.
Well, as with any DataSource, you get a connection by calling getConnection().
If you think you need to manage the pool from your application (which IMO is mixing up logical levels and a really bad idea) use jmx.