java.lang.Object
org.firebirdsql.ds.DataSourceFactory
- All Implemented Interfaces:
ObjectFactory
ObjectFactory for the DataSources in org.firebirdsql.ds.
- Since:
- 2.2
- Author:
- Mark Rotteveel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static Object
deserialize
(byte[] data) getObjectInstance
(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment) protected static String
getRefAddr
(Reference ref, String type) Retrieves the content of the given Reference address (type).protected static byte[]
-
Constructor Details
-
DataSourceFactory
public DataSourceFactory()
-
-
Method Details
-
getObjectInstance
public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment) throws Exception- Specified by:
getObjectInstance
in interfaceObjectFactory
- Throws:
Exception
-
getRefAddr
Retrieves the content of the given Reference address (type).- Parameters:
ref
- Referencetype
- Address or type- Returns:
- Content as String
-
serialize
- Throws:
NamingException
-
deserialize
-