|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.soa.esb.addressing.EPR
org.jboss.soa.esb.addressing.eprs.JDBCEpr
public class JDBCEpr
A helper class for using database style EPRs. Simply create instances of this class instead of the base EPR.
| Field Summary | |
|---|---|
static java.lang.String |
DRIVER_TAG
|
static java.lang.String |
JDBC_PROTOCOL
|
static java.lang.String |
PASSWORD_TAG
|
static java.lang.String |
SQL_TAG
|
static java.lang.String |
URL_TAG
|
static java.lang.String |
USERNAME_TAG
|
| Constructor Summary | |
|---|---|
JDBCEpr(EPR epr)
|
|
JDBCEpr(java.lang.String url,
java.lang.String sql)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getDriver()
|
java.lang.String |
getPassword()
|
java.lang.String |
getSQL()
|
java.lang.String |
getURL()
Get the URL address. |
java.lang.String |
getUserName()
|
void |
setDriver(java.lang.String driver)
Set the driver that is used by this EPR. |
void |
setPassword(java.lang.String password)
Set the password for this FTP EPR. |
void |
setSQL(java.lang.String sql)
Set the SQL command that is used by this EPR. |
void |
setURL(java.lang.String url)
Set the URL for this endpoint. |
void |
setUserName(java.lang.String username)
Set the username for this FTP EPR. |
static java.net.URI |
type()
|
| Methods inherited from class org.jboss.soa.esb.addressing.EPR |
|---|
copy, equals, getAddr, setAddr, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String JDBC_PROTOCOL
public static final java.lang.String USERNAME_TAG
public static final java.lang.String PASSWORD_TAG
public static final java.lang.String SQL_TAG
public static final java.lang.String DRIVER_TAG
public static final java.lang.String URL_TAG
| Constructor Detail |
|---|
public JDBCEpr(EPR epr)
public JDBCEpr(java.lang.String url,
java.lang.String sql)
throws java.net.URISyntaxException
java.net.URISyntaxException| Method Detail |
|---|
public final void setURL(java.lang.String url)
url - the address.
public final java.lang.String getURL()
throws java.net.URISyntaxException
java.net.URISyntaxException - thrown if the address is invalid.
public final void setUserName(java.lang.String username)
throws java.net.URISyntaxException
username - the user's name.
java.net.URISyntaxException - thrown if this EPR is malformed.
public final java.lang.String getUserName()
throws java.net.URISyntaxException
java.net.URISyntaxException - thrown if this EPR is malformed.
public final void setPassword(java.lang.String password)
throws java.net.URISyntaxException
password - the user's name.
java.net.URISyntaxException - thrown if this EPR is malformed.
public final java.lang.String getPassword()
throws java.net.URISyntaxException
java.net.URISyntaxException - thrown if this EPR is malformed.
public final void setSQL(java.lang.String sql)
throws java.net.URISyntaxException
sql - the statement.
java.net.URISyntaxException - thrown if this EPR is malformed.
public final java.lang.String getSQL()
throws java.net.URISyntaxException
java.net.URISyntaxException - thrown if this EPR is malformed.
public final void setDriver(java.lang.String driver)
throws java.net.URISyntaxException
driver - the driver.
java.net.URISyntaxException - thrown if this EPR is malformed.
public final java.lang.String getDriver()
throws java.net.URISyntaxException
java.net.URISyntaxException - thrown if this EPR is malformed.public static final java.net.URI type()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||