|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.firebirdsql.ds.DataSourceFactory
public class DataSourceFactory
ObjectFactory for the DataSources in org.firebirdsql.ds.
Constructor Summary | |
---|---|
DataSourceFactory()
|
Method Summary | |
---|---|
protected static java.lang.Object |
deserialize(byte[] data)
|
java.lang.Object |
getObjectInstance(java.lang.Object obj,
javax.naming.Name name,
javax.naming.Context nameCtx,
java.util.Hashtable<?,?> environment)
|
protected static java.lang.String |
getRefAddr(javax.naming.Reference ref,
java.lang.String type)
Retrieves the content of the given Reference address (type). |
protected static byte[] |
serialize(java.lang.Object obj)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataSourceFactory()
Method Detail |
---|
public java.lang.Object getObjectInstance(java.lang.Object obj, javax.naming.Name name, javax.naming.Context nameCtx, java.util.Hashtable<?,?> environment) throws java.lang.Exception
getObjectInstance
in interface javax.naming.spi.ObjectFactory
java.lang.Exception
protected static java.lang.String getRefAddr(javax.naming.Reference ref, java.lang.String type)
ref
- Referencetype
- Address or type
protected static byte[] serialize(java.lang.Object obj)
protected static java.lang.Object deserialize(byte[] data)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |