|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.oddjob.sql.ConnectionType
public class ConnectionType
SQLJob
for an example.Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.oddjob.arooa.types.ValueFactory |
---|
ValueFactory.Conversions |
Constructor Summary | |
---|---|
ConnectionType()
|
Method Summary | |
---|---|
ClassLoader |
getClassLoader()
|
String |
getDriver()
Get this connections driver class name. |
String |
getPassword()
Get the password. |
String |
getUrl()
Get the url. |
String |
getUsername()
Get the username. |
void |
setClassLoader(ClassLoader classLoader)
|
void |
setDriver(String driver)
Set this connections dirver class name. |
void |
setPassword(String password)
Set the password. |
void |
setUrl(String url)
Set the url. |
void |
setUsername(String username)
Set the username. |
String |
toString()
|
Connection |
toValue()
Provide an instance of the type this is a factory for. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConnectionType()
Method Detail |
---|
public Connection toValue() throws ArooaConversionException
ValueFactory
toValue
in interface ValueFactory<Connection>
ArooaConversionException
- If unable to provide a value.public String getDriver()
public void setDriver(String driver)
driver
- The driver class name.public String getPassword()
public void setPassword(String password)
password
- The password.public String getUrl()
public void setUrl(String url)
url
- The urlpublic String getUsername()
public void setUsername(String username)
username
- The username.public ClassLoader getClassLoader()
@Inject public void setClassLoader(ClassLoader classLoader)
public String toString()
toString
in class Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |