public ExportContext setExportLifetime(byte[] exportContextBytes, long currentTime, long terminationTime, long refreshDuration) throws OperationNotSupportedException, OperationFailedException
{
if (getPersistenceManager() == null)
{
throw new OperationNotSupportedException("The producer only supports export by value. Cannot call setExportLifetime on this producer");
}
try
{
String type = ExportData.getType(exportContextBytes);