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

[ARQ-653] Reworked configuration sharing between client and container side. #4

Merged
merged 1 commit into from Dec 3, 2011
Merged

Conversation

bartoszmajsak
Copy link
Member

It's using yaml serialization/deserialization to pass only relevant bits of the persistence extension configuration.

I was having troubles trying to use the same approach on the container side as it's used in ConfigurationRegistrar (Shrinkwrap). Details here: https://gist.github.com/1396309

Pros: compact representation with only relevant stuff for persistence extension.
Cons: different approach, additional dependency for the extension (if you don't want to use YAML for datasets).

… side. It's using yaml serialization/deserialization to pass only relevant bits of the persistence extension configuration.

// when
fire(new BeforeSuite());
PersistenceConfiguration persistenceConfiguration = getManager().getContext(ApplicationContext.class)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Inject Instance should work as well.. :)

@bartoszmajsak
Copy link
Member Author

Thanks for the review Aslak. I will clean it up and push upstream soon.

@bartoszmajsak bartoszmajsak merged commit 8b1e649 into arquillian:master Dec 3, 2011
@bartoszmajsak
Copy link
Member Author

Changed as suggested and pushed upstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants