src/share/classes/com/sun/corba/se/impl/oa/toa/TOAFactory.java

changeset 371
e324dfb90c9e
parent 158
91006f157c46
child 748
6845b95cba6b
equal deleted inserted replaced
334:66c7161ee588 371:e324dfb90c9e
1 /* 1 /*
2 * Copyright (c) 2002, 2003, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this 7 * published by the Free Software Foundation. Oracle designates this
76 codebaseToTOA = new HashMap() ; 76 codebaseToTOA = new HashMap() ;
77 } 77 }
78 78
79 public void shutdown( boolean waitForCompletion ) 79 public void shutdown( boolean waitForCompletion )
80 { 80 {
81 if (Util.instance != null) { 81 if (Util.isInstanceDefined()) {
82 Util.instance.unregisterTargetsForORB(orb); 82 Util.getInstance().unregisterTargetsForORB(orb);
83 } 83 }
84 } 84 }
85 85
86 public synchronized TOA getTOA( String codebase ) 86 public synchronized TOA getTOA( String codebase )
87 { 87 {

mercurial