Bug 2921 - support for TerminationTimeChangeRejectedFault
: support for TerminationTimeChangeRejectedFault
: Java WS Core
: 3.9.5
: All Linux
: P3 normal
: ---
Assigned To:
  Show dependency treegraph
Reported: 2005-03-10 10:14 by
Modified: 2006-07-05 11:10 (History)



You need to log in before you can comment on or make changes to this bug.

Description From 2005-03-10 10:14:02
In the org.globus.wsrf.ResourceLifetime interface there is no exception for (or
corresponding to) TerminationTimeChangeRejectedFault.  

The org.globus.wsrf.impl.lifetime.SetTerminationTimeProvider class supports
throwing TerminationTimeChangeRejectedFault, but w/o an exception in the
interface, I don't see how to signal a policy violation from my own service in
my implementation of setTerminationTime().
------- Comment #1 From 2005-03-10 11:23:41 -------
This is not going to be fixed for 4.0. But there are a number of ways you could 
still support this functionality. For example, throw some RuntimeException from 
the setTerminationTime() function and change the SetTerminationTimeProvider to 
catch that exception and throw the appropriate fault. Or define your own 
setTerminationTime() function and write SetTerminationTimeProvider that works 
with that new operation.
------- Comment #2 From 2006-07-05 11:10:35 -------
Added support for this in trunk (to appear in GT 4.2). The setTermination()
function of ResourceLifetime interface can now throw
TerminationTimeRejectedException exception.