You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jcs-dev@jakarta.apache.org by "Aaron Smuts (JIRA)" <ji...@apache.org> on 2009/02/02 17:15:59 UTC

[jira] Commented: (JCS-55) Custom serializaer is not always used

    [ https://issues.apache.org/jira/browse/JCS-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12669642#action_12669642 ] 

Aaron Smuts commented on JCS-55:
--------------------------------

I think it has to do with the initialization order.  The factory calls the manager, the manager creates the IndexedDiskCache and then sets the serializer.  But it's too late.  The IndexedDiskCache creates the IndexedDisk object, which uses the serilizer, in its constructor. 

> Custom serializaer is not always used
> -------------------------------------
>
>                 Key: JCS-55
>                 URL: https://issues.apache.org/jira/browse/JCS-55
>             Project: JCS
>          Issue Type: Bug
>          Components: Indexed Disk Cache
>            Reporter: Alexander Sofronov
>            Assignee: Aaron Smuts
>
> I'm trying to use indexed disk cache with custom serializer feature. I added the following line to my cache.ccf:
> jcs.auxiliary.DC.serializer=mypackage.MySerializer
> I see that my serializer is used for serializing only, deSerialize method is never called. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-dev-help@jakarta.apache.org