code: public Object getConnection(Subject subject,
                                 ConnectionRequestInfo cxRequestInfo) 
        throws ResourceException
     {
        HelloWorldConnectionImpl connection = new HelloWorldConnectionImpl(this, mcf);
  
        connections.add(connection);
  
        return connection;
     }
docs: Creates a new connection handle for the underlying physical connection
  represented by the ManagedConnection instance.
  
  @param subject Security context as JAAS subject
  @param cxRequestInfo ConnectionRequestInfo instance
  @return generic Object instance representing the connection handle.
  @throws ResourceException generic exception if operation fails