corba/src/share/classes/com/sun/corba/se/impl/protocol/CorbaMessageMediatorImpl.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2001, 2004, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2001, 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 |
1664 { |
1664 { |
1665 // Does nothing if already unmarshaled. |
1665 // Does nothing if already unmarshaled. |
1666 ((CDRInputObject)messageMediator.getInputObject()).unmarshalHeader(); |
1666 ((CDRInputObject)messageMediator.getInputObject()).unmarshalHeader(); |
1667 |
1667 |
1668 ORB orb = (ORB)messageMediator.getBroker(); |
1668 ORB orb = (ORB)messageMediator.getBroker(); |
1669 orb.checkShutdownState(); |
1669 synchronized (orb) { |
|
1670 orb.checkShutdownState(); |
|
1671 } |
1670 |
1672 |
1671 ObjectKey okey = messageMediator.getObjectKey(); |
1673 ObjectKey okey = messageMediator.getObjectKey(); |
1672 if (orb.subcontractDebugFlag) { |
1674 if (orb.subcontractDebugFlag) { |
1673 ObjectKeyTemplate oktemp = okey.getTemplate() ; |
1675 ObjectKeyTemplate oktemp = okey.getTemplate() ; |
1674 dprint( ".handleRequest: " + opAndId(messageMediator) |
1676 dprint( ".handleRequest: " + opAndId(messageMediator) |