org.exolab.castor.jdo.conf
Class DataSource
java.lang.Object
org.exolab.castor.jdo.conf.DataSource
- All Implemented Interfaces:
- java.io.Serializable
- public class DataSource
- extends java.lang.Object
- implements java.io.Serializable
- Version:
- $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:09 $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataSource
public DataSource()
getClassName
public java.lang.String getClassName()
getParams
public javax.sql.DataSource getParams()
isValid
public boolean isValid()
marshal
public void marshal(java.io.Writer out)
throws MarshalException,
ValidationException
- Parameters:
out
-
- Throws:
MarshalException
ValidationException
marshal
public void marshal(org.xml.sax.DocumentHandler handler)
throws MarshalException,
ValidationException
- Parameters:
handler
-
- Throws:
MarshalException
ValidationException
setClassName
public void setClassName(java.lang.String _className)
- Parameters:
_className
-
setParams
public void setParams(javax.sql.DataSource _params)
- Parameters:
_params
-
createParams
public javax.sql.DataSource createParams()
throws java.lang.IllegalStateException
- Throws:
java.lang.IllegalStateException
unmarshal
public static DataSource unmarshal(java.io.Reader reader)
throws MarshalException,
ValidationException
- Parameters:
reader
-
- Throws:
MarshalException
ValidationException
validate
public void validate()
throws ValidationException
- Throws:
ValidationException
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com