com.infoscape.proteus.db
Class DBSource
java.lang.Object
|
+--com.infoscape.proteus.MessageHandlerImpl
|
+--com.infoscape.proteus.SourceImpl
|
+--com.infoscape.proteus.PolledSource
|
+--com.infoscape.proteus.db.DBSource
- All Implemented Interfaces:
- MessageHandler, MessageSource, Transactional, UpdatingSource
- public class DBSource
- extends PolledSource
- implements UpdatingSource
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DBSource
public DBSource(Connection conn,
org.jdom.Element elt)
throws java.lang.Exception
cacheEmpty
public boolean cacheEmpty()
throws java.lang.Exception
- Specified by:
cacheEmpty in class PolledSource
java.lang.Exception
loadCache
public void loadCache()
throws java.lang.Exception
- Specified by:
loadCache in class PolledSource
java.lang.Exception
getFromCache
public java.lang.Object getFromCache()
throws java.lang.Exception
- Specified by:
getFromCache in class PolledSource
java.lang.Exception
update
public void update()
throws java.lang.Exception
- Specified by:
update in interface UpdatingSource
java.lang.Exception
commit
public void commit()
throws java.lang.Exception
- Specified by:
commit in interface Transactional- Overrides:
commit in class MessageHandlerImpl
- Throws:
java.lang.Exception
rollback
public void rollback()
throws java.lang.Exception
- Specified by:
rollback in interface Transactional- Overrides:
rollback in class MessageHandlerImpl
- Throws:
java.lang.Exception