Package com.mchange.v2.c3p0.impl
Class IdentityTokenResolvable
java.lang.Object
com.mchange.v2.c3p0.impl.AbstractIdentityTokenized
com.mchange.v2.c3p0.impl.IdentityTokenResolvable
- All Implemented Interfaces:
IdentityTokenized
- Direct Known Subclasses:
DriverManagerDataSourceBase
,JndiRefConnectionPoolDataSource
,JndiRefDataSourceBase
,PoolBackedDataSourceBase
,WrapperConnectionPoolDataSourceBase
This is a convenient base class for all classes
that wish to establish an initial identity which
will be the basis of a one-per vm identity: i.e.
in any vm there should only ever be a single object
with a given identity token (except transiently during
canonicalization)
It would be convenient to put the getter/setter methods
for the identity token here, but unfortunately we have no
way of setting up the for Referenceability in multiple
levels of a class hierarchy. So we leave the getters/setters,
and variable initialization to code-generators.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.mchange.v2.c3p0.impl.AbstractIdentityTokenized
equals, hashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mchange.v2.c3p0.impl.IdentityTokenized
getIdentityToken, setIdentityToken
-
Constructor Details
-
IdentityTokenResolvable
public IdentityTokenResolvable()
-
-
Method Details
-
doResolve
-
readResolve
- Throws:
ObjectStreamException
-
verifyResolve
- Throws:
ObjectStreamException
-