// get an instance of MDB
EasyBeansMDB easyBeansMDB = null;
try {
easyBeansMDB = getPool().get();
} catch (PoolException e) {
throw new UnavailableException("Cannot get instance in the pool", e);
}
// Build a wrapper around this mdb instance
MDBListenerEndpointInvocationHandler handler = new MDBListenerEndpointInvocationHandler(this, easyBeansMDB,
this.listenerInterface);