JBoss Community

Re: Please javadoc concurrency semantics

created by David Lloyd in JBoss AS7 Development - View the full discussion

Services can be started and stopped from any thread, and mutable state can be accessed from any thread.  The ones with synchronized methods simply use it as a thread safety mechanism for their mutable state.  CreateDestroyService and friends have no mutable state, thus there's no need for them to be synchronized.

Reply to this message by going to Community

Start a new discussion in JBoss AS7 Development at Community