Package org.firebirdsql.ds
Class DataSourceFactory
- java.lang.Object
- 
- org.firebirdsql.ds.DataSourceFactory
 
- 
- All Implemented Interfaces:
- javax.naming.spi.ObjectFactory
 
 public class DataSourceFactory extends java.lang.Object implements javax.naming.spi.ObjectFactoryObjectFactory for the DataSources in org.firebirdsql.ds.- Since:
- 2.2
- Author:
- Mark Rotteveel
 
- 
- 
Constructor SummaryConstructors Constructor Description DataSourceFactory()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static java.lang.Objectdeserialize(byte[] data)java.lang.ObjectgetObjectInstance(java.lang.Object obj, javax.naming.Name name, javax.naming.Context nameCtx, java.util.Hashtable<?,?> environment)protected static java.lang.StringgetRefAddr(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)
 
- 
- 
- 
Method Detail- 
getObjectInstancepublic java.lang.Object getObjectInstance(java.lang.Object obj, javax.naming.Name name, javax.naming.Context nameCtx, java.util.Hashtable<?,?> environment) throws java.lang.Exception- Specified by:
- getObjectInstancein interface- javax.naming.spi.ObjectFactory
- Throws:
- java.lang.Exception
 
 - 
getRefAddrprotected static java.lang.String getRefAddr(javax.naming.Reference ref, java.lang.String type)Retrieves the content of the given Reference address (type).- Parameters:
- ref- Reference
- type- Address or type
- Returns:
- Content as String
 
 - 
serializeprotected static byte[] serialize(java.lang.Object obj) 
 - 
deserializeprotected static java.lang.Object deserialize(byte[] data) 
 
- 
 
-