public class DataSourceFactory
extends java.lang.Object
implements javax.naming.spi.ObjectFactory
Constructor and Description |
---|
DataSourceFactory() |
Modifier and Type | Method and Description |
---|---|
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) |
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 typeprotected static byte[] serialize(java.lang.Object obj)
protected static java.lang.Object deserialize(byte[] data)
Copyright © 2001-2019 Jaybird (Firebird JDBC/JCA) team. All rights reserved.