java web concentration sync question


let's contend i have category web app called category "foo". an initialise() slight called bean combined controlling spring. initialise() slight following tries bucket an outmost use distribute field. use contacted, domain set null.



private use service;

public vacant initialise() {
// bucket outmost service
// set domain hallowed use contacted
// set domain zero use contacted
}


when someone calls slight get() category "foo" use invoked started initialise() method. domain use null, i wish try bucket outmost service.



public twine get() {
(service == null) {
// try bucket use again
}
// perform operation use service null
}


is illusory i competence have sync issues i something this?



Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members