Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow XStreamMarshaller subclasses to customise XStream object [SPR-5746] #10416

Closed
spring-projects-issues opened this issue May 11, 2009 · 1 comment
Assignees
Labels
in: data Issues in data modules (jdbc, orm, oxm, tx) type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

Kenny MacLeod opened SPR-5746 and commented

XStream provides many methods to control the serialization of objects, e.g. the various alias() methods. If using XStreamMarshaller, then these methods cannot be invoked.

I suggest that XStreamMarshaller be modified to have a protected initXStream() method which subclasses can override, which is called during post-construct.


Affects: 3.0 M3

Referenced from: commits 9cbc1d5

@spring-projects-issues
Copy link
Collaborator Author

Arjen Poutsma commented

I've added a customizeXStream() method for this purpose.

@spring-projects-issues spring-projects-issues added in: data Issues in data modules (jdbc, orm, oxm, tx) type: enhancement A general enhancement labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 3.0 M4 milestone Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: data Issues in data modules (jdbc, orm, oxm, tx) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants