Name

XADataSource

Synopsis

A factory for XAConnection objects.

public interface XADataSource {
// Public Instance Methods
   public abstract int getLoginTimeout(
        ) throws java.sql.SQLException;  
   public abstract PrintWriter getLogWriter(
        ) throws java.sql.SQLException;  
   public abstract javax.sql.XAConnection getXAConnection(
        ) throws java.sql.SQLException;  
   public abstract javax.sql.XAConnection getXAConnection(
        String user, 
        String password) throws java.sql.SQLException;  
   public abstract void setLoginTimeout(
        int seconds) throws java.sql.SQLException;  
   public abstract void setLogWriter(
        PrintWriter out) throws java.sql.SQLException;  
}

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.