Bugzilla – Bug 2921
support for TerminationTimeChangeRejectedFault
Last modified: 2006-07-05 11:10:35
You need to
before you can comment on or make changes to this bug.
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().
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.
Added support for this in trunk (to appear in GT 4.2). The setTermination()
function of ResourceLifetime interface can now throw