|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectTestCase
org.globus.ogsa.server.test.GridTestCase
org.globus.ogsa.impl.core.notification.framework.test.CounterNotificationTestCase
| Field Summary | |
protected org.w3c.dom.Element |
message
|
protected Semaphore |
semaphore
|
protected java.lang.String |
sinkHandle
|
protected NotificationSinkManager |
sinkManager
|
| Fields inherited from class org.globus.ogsa.server.test.GridTestCase |
TEST_SERVER |
| Constructor Summary | |
CounterNotificationTestCase(java.lang.String name)
|
|
| Method Summary | |
protected void |
checkMessage(int counterValue)
|
protected void |
createSubscription(QName[] sdQNames,
java.util.Calendar timeout,
HandleType sourceHandle,
NotificationSinkCallback callback,
ExtensibilityType aExtensibilityType)
|
void |
deliverNotification(ExtensibilityType any)
|
void |
flush()
gives a hint that this property should be checkpointed to the deployment descriptor, it is however not guaranteed that the properties have been persisted when the method returns |
protected CounterPortType |
getCounterService()
|
protected GSR |
getCounterServiceReference()
|
java.lang.Object |
getPersistentProperty(java.lang.String key)
gets a persistent property (checkpointed to deployment descriptor) keyed by name |
java.lang.Object |
getProperty(java.lang.String key)
gets a property keyed by name |
protected java.lang.String |
getSinkHandle()
|
protected NotificationSinkManager |
getSinkManager()
|
protected void |
internalTestCreate()
|
void |
setPersistentProperty(java.lang.String key,
java.lang.Object obj)
sets a persistent property (checkpointed to deployment descriptor) keyed by name |
void |
setProperty(java.lang.String key,
java.lang.Object obj)
sets a property keyed by name |
protected void |
setUp()
|
protected abstract void |
setupSink()
|
static void |
sleepFor(int secs)
Method sleepFor. |
protected void |
tearDown()
|
protected void |
updateCounterValue(int i)
Method updateCounterValue. |
| Methods inherited from class org.globus.ogsa.server.test.GridTestCase |
setTestServer |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected NotificationSinkManager sinkManager
protected java.lang.String sinkHandle
protected org.w3c.dom.Element message
protected Semaphore semaphore
| Constructor Detail |
public CounterNotificationTestCase(java.lang.String name)
| Method Detail |
protected abstract void setupSink()
throws java.lang.Exception
java.lang.Exception
protected void setUp()
throws java.lang.Exception
setUp in class GridTestCasejava.lang.Exception
protected void tearDown()
throws java.lang.Exception
java.lang.Exception
protected void internalTestCreate()
throws java.lang.Exception
java.lang.Exception
protected NotificationSinkManager getSinkManager()
throws java.lang.Exception
java.lang.Exceptionpublic static void sleepFor(int secs)
secs - - seconds to sleep.
protected void createSubscription(QName[] sdQNames,
java.util.Calendar timeout,
HandleType sourceHandle,
NotificationSinkCallback callback,
ExtensibilityType aExtensibilityType)
throws java.lang.Exception
java.lang.Exceptionprotected java.lang.String getSinkHandle()
protected GSR getCounterServiceReference()
protected CounterPortType getCounterService()
protected void updateCounterValue(int i)
i - protected void checkMessage(int counterValue)
public void setProperty(java.lang.String key,
java.lang.Object obj)
ServiceProperties
setProperty in interface ServicePropertieskey - property keyobj - property value, if null the property will be removed
(if it exists)
public void setPersistentProperty(java.lang.String key,
java.lang.Object obj)
ServiceProperties
setPersistentProperty in interface ServicePropertieskey - property keyobj - property value, if null the property will be removed
(if it exists)public java.lang.Object getProperty(java.lang.String key)
ServiceProperties
getProperty in interface ServicePropertieskey - property key
public java.lang.Object getPersistentProperty(java.lang.String key)
ServiceProperties
getPersistentProperty in interface ServicePropertieskey - property key
public void flush()
ServiceProperties
flush in interface ServiceProperties
public void deliverNotification(ExtensibilityType any)
throws java.rmi.RemoteException
java.rmi.RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||