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

MODE-1656 Repositories are always calling Environment.shutdown #550

Closed
wants to merge 1 commit into from

Conversation

rhauch
Copy link
Contributor

@rhauch rhauch commented Oct 2, 2012

It is now the responsibility of the Environment implementations to know what to do when shutdown is called. The JBoss AS service does nothing, but the LocalEnvironment does attempt to shutdown all containers (though there is now a way to set a LocalEnvironment instance as being "shared", which means shutdown does nothing). The LocalEnvironment class can be extended for custom logic.

All unit and integration tests pass with these changes.

It is now the responsibility of the Environment implementations to know what to do when shutdown is called.
The JBoss AS service does nothing, but the LocalEnvironment does attempt to shutdown all containers (though
there is now a way to set a LocalEnvironment instance as being "shared", which means shutdown does nothing).
The LocalEnvironment class can be extended for custom logic.

All unit and integration tests pass with these changes.
@rhauch rhauch closed this Oct 2, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant