java.lang.Object
org.firebirdsql.gds.impl.BaseGDSFactoryPlugin
- All Implemented Interfaces:
GDSFactoryPlugin
- Direct Known Subclasses:
WireGDSFactoryPlugin
Base class for
GDSFactoryPlugin implementations.
Handles commonalities across existing implementations.
- Since:
- 3.0
- Author:
- Mark Rotteveel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanClass<?>Class used for connection.getDatabasePath(String jdbcUrl) getDatabasePath(String server, Integer port, String path) The default protocol prefix for this type (for example, for PURE_JAVA, it's"jdbc:firebirdsql:".final inthashCode()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.firebirdsql.gds.impl.GDSFactoryPlugin
getDatabaseFactory, getDatabasePath, getPluginName, getSupportedProtocolList, getSupportedProtocols, getTypeAliases, getTypeAliasList, getTypeName
-
Constructor Details
-
BaseGDSFactoryPlugin
public BaseGDSFactoryPlugin()
-
-
Method Details
-
getConnectionClass
Description copied from interface:GDSFactoryPluginClass used for connection.The class must define a one-arg constructor accepting
FBManagedConnection. Currently, the Jaybird implementation also requires that the class isFBConnectionor a subclass. This may change in the future.- Specified by:
getConnectionClassin interfaceGDSFactoryPlugin- Returns:
- class for connection
-
getDefaultProtocol
Description copied from interface:GDSFactoryPluginThe default protocol prefix for this type (for example, for PURE_JAVA, it's"jdbc:firebirdsql:".The protocol prefix must be distinct from other plugins.
- Specified by:
getDefaultProtocolin interfaceGDSFactoryPlugin- Returns:
- default protocol name
-
getDatabasePath
- Specified by:
getDatabasePathin interfaceGDSFactoryPlugin- Throws:
SQLException
-
getDatabasePath
- Specified by:
getDatabasePathin interfaceGDSFactoryPlugin- Throws:
SQLException
-
hashCode
public final int hashCode() -
equals
-