Package cern.dip.implementation
Class FactoryProduct
- java.lang.Object
-
- cern.dip.implementation.FactoryProduct
-
- Direct Known Subclasses:
DipPublicationImpBase
,DipSubscriptionImp
public abstract class FactoryProduct extends java.lang.Object
- Author:
- beharrel
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
destroyed
set to true when the object has been destroyed
-
Constructor Summary
Constructors Constructor Description FactoryProduct()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
isDestroyed()
protected abstract void
setDestroyed()
Mark object as destoyed - will cause the C++ representation to be removedprotected void
validate()
Make sure the object is not been used after it has been based to destroy
-
-
-
Method Detail
-
isDestroyed
public boolean isDestroyed()
- Returns:
- true is object has been passed to the factory for destruction
-
setDestroyed
protected abstract void setDestroyed()
Mark object as destoyed - will cause the C++ representation to be removed
-
validate
protected void validate() throws DipException
Make sure the object is not been used after it has been based to destroy- Throws:
DipException
-
-