store = (WritableServiceBasedNamingStore) namingStoreService.getValue();
}
private void installOwnerService(ServiceName owner) throws InterruptedException {
final CountDownLatch latch1 = new CountDownLatch(1);
container.addService(JndiNamingDependencyProcessor.serviceName(owner), new RuntimeBindReleaseService())
.setInitialMode(ServiceController.Mode.ACTIVE)
.addListener(new AbstractServiceListener<Object>() {
public void transition(ServiceController<?> controller, ServiceController.Transition transition) {
switch (transition) {
case STARTING_to_UP: {