au.edu.jcu.hpc.srb.mcatext.notify
Class NotifyContainer

java.lang.Object
  extended by au.edu.jcu.hpc.srb.mcatext.notify.NotifyContainer
All Implemented Interfaces:
RegisterDao, java.lang.Runnable

public class NotifyContainer
extends java.lang.Object
implements RegisterDao, java.lang.Runnable


Constructor Summary
NotifyContainer()
           
 
Method Summary
 void deregisterDomains(java.lang.String notifyUrl, java.util.List<java.lang.String> domains)
           
 void deregisterPaths(java.lang.String notifyUrl, java.util.List<java.lang.String> paths)
           
 void end()
           
 CollectionDao getCollectionDao()
           
 DomainDao getDomainDao()
           
 NotificationEngine getNotificationEngine()
           
 NotificationGenerator getNotificationGenerator()
           
 ObjectDao getObjectDao()
           
 int getPollInterval()
           
 RegisterDao getRegisterDao()
           
 SetupDao getSetupDao()
           
 java.util.List<java.lang.String> listRegisteredDomains(java.lang.String notifyUrl)
           
 java.util.List<java.lang.String> listRegisteredPaths(java.lang.String notifyUrl)
           
 void registerDomains(java.lang.String notifyUrl, java.util.List<java.lang.String> domains, boolean dropExistingDomains)
           
 void registerPaths(java.lang.String notifyUrl, java.util.List<java.lang.String> paths, boolean dropExistingPaths)
           
 void run()
           
 void setCollectionDao(CollectionDao collectionDao)
           
 void setDomainDao(DomainDao domainDao)
           
 void setNotificationEngine(NotificationEngine notificationEngine)
           
 void setNotificationGenerator(NotificationGenerator notificationGenerator)
           
 void setObjectDao(ObjectDao objectDao)
           
 void setPollInterval(int pollInterval)
           
 void setRegisterDao(RegisterDao registerDao)
           
 void setSetupDao(SetupDao setupDao)
           
 void start()
           
 void trigger()
           
 void triggerNotifications()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotifyContainer

public NotifyContainer()
Method Detail

triggerNotifications

public void triggerNotifications()
Specified by:
triggerNotifications in interface RegisterDao

registerPaths

public void registerPaths(java.lang.String notifyUrl,
                          java.util.List<java.lang.String> paths,
                          boolean dropExistingPaths)
Specified by:
registerPaths in interface RegisterDao

deregisterPaths

public void deregisterPaths(java.lang.String notifyUrl,
                            java.util.List<java.lang.String> paths)
Specified by:
deregisterPaths in interface RegisterDao

listRegisteredPaths

public java.util.List<java.lang.String> listRegisteredPaths(java.lang.String notifyUrl)
Specified by:
listRegisteredPaths in interface RegisterDao

registerDomains

public void registerDomains(java.lang.String notifyUrl,
                            java.util.List<java.lang.String> domains,
                            boolean dropExistingDomains)
Specified by:
registerDomains in interface RegisterDao

deregisterDomains

public void deregisterDomains(java.lang.String notifyUrl,
                              java.util.List<java.lang.String> domains)
Specified by:
deregisterDomains in interface RegisterDao

listRegisteredDomains

public java.util.List<java.lang.String> listRegisteredDomains(java.lang.String notifyUrl)
Specified by:
listRegisteredDomains in interface RegisterDao

getCollectionDao

public CollectionDao getCollectionDao()

setCollectionDao

public void setCollectionDao(CollectionDao collectionDao)

getObjectDao

public ObjectDao getObjectDao()

setObjectDao

public void setObjectDao(ObjectDao objectDao)

getDomainDao

public DomainDao getDomainDao()

setDomainDao

public void setDomainDao(DomainDao domainDao)

getSetupDao

public SetupDao getSetupDao()

setSetupDao

public void setSetupDao(SetupDao setupDao)

getNotificationEngine

public NotificationEngine getNotificationEngine()

setNotificationEngine

public void setNotificationEngine(NotificationEngine notificationEngine)

getNotificationGenerator

public NotificationGenerator getNotificationGenerator()

setNotificationGenerator

public void setNotificationGenerator(NotificationGenerator notificationGenerator)

getRegisterDao

public RegisterDao getRegisterDao()

setRegisterDao

public void setRegisterDao(RegisterDao registerDao)

getPollInterval

public int getPollInterval()

setPollInterval

public void setPollInterval(int pollInterval)

start

public void start()

run

public void run()
Specified by:
run in interface java.lang.Runnable

trigger

public void trigger()

end

public void end()
         throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException


Copyright © 2008. All Rights Reserved.