com.sun.corba.se.spi.activation.EndPointInfo Java Examples
The following examples show how to use
com.sun.corba.se.spi.activation.EndPointInfo.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ServerManagerImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
public int getServerPortForType(ServerLocationPerORB location, String endPointType) throws NoSuchEndPoint { EndPointInfo[] listenerPorts = location.ports; for (int i = 0; i < listenerPorts.length; i++) { if ((listenerPorts[i].endpointType).equals(endPointType)) { return listenerPorts[i].port; } } throw new NoSuchEndPoint(); }
Example #2
Source File: ServerTableEntry.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
synchronized void registerPorts( String orbId, EndPointInfo [] endpointList) throws ORBAlreadyRegistered { // find if the ORB is already registered, then throw an exception if (orbAndPortInfo.containsKey(orbId)) { throw new ORBAlreadyRegistered(orbId); } // store all listener ports and their types int numListenerPorts = endpointList.length; EndPointInfo [] serverListenerPorts = new EndPointInfo[numListenerPorts]; for (int i = 0; i < numListenerPorts; i++) { serverListenerPorts[i] = new EndPointInfo (endpointList[i].endpointType, endpointList[i].port); if (debug) System.out.println("registering type: " + serverListenerPorts[i].endpointType + " port " + serverListenerPorts[i].port); } // put this set of listener ports in the HashMap associated // with the orbId orbAndPortInfo.put(orbId, serverListenerPorts); if (state == ACTIVATED) { state = RUNNING; notifyAll(); } // _REVISIT_, If the state is not equal to ACTIVATED then it is a bug // need to log that error, once the Logging framework is in place // for rip-int. if (debug) printDebug("registerPorts", "process registered Ports"); }
Example #3
Source File: ServerManagerImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public void registerEndpoints( int serverId, String orbId, EndPointInfo [] endpointList ) throws NoSuchEndPoint, ServerNotRegistered, ORBAlreadyRegistered { // orbId is ignored for now ServerTableEntry entry; Integer key = new Integer(serverId); synchronized (serverTable) { entry = (ServerTableEntry) serverTable.get(key); if (entry == null) { if (debug) System.out.println( "ServerManagerImpl: registerEndpoint for server Id " + serverId + " called, but no such server is registered." ) ; throw wrapper.serverNotExpectedToRegister() ; } else { if (debug) System.out.println( "ServerManagerImpl: registerEndpoints for server Id " + serverId + " called. This server is now active." ) ; entry.registerPorts( orbId, endpointList ); } } }
Example #4
Source File: ServerManagerImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public int getServerPortForType(ServerLocationPerORB location, String endPointType) throws NoSuchEndPoint { EndPointInfo[] listenerPorts = location.ports; for (int i = 0; i < listenerPorts.length; i++) { if ((listenerPorts[i].endpointType).equals(endPointType)) { return listenerPorts[i].port; } } throw new NoSuchEndPoint(); }
Example #5
Source File: ServerTableEntry.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
synchronized void registerPorts( String orbId, EndPointInfo [] endpointList) throws ORBAlreadyRegistered { // find if the ORB is already registered, then throw an exception if (orbAndPortInfo.containsKey(orbId)) { throw new ORBAlreadyRegistered(orbId); } // store all listener ports and their types int numListenerPorts = endpointList.length; EndPointInfo [] serverListenerPorts = new EndPointInfo[numListenerPorts]; for (int i = 0; i < numListenerPorts; i++) { serverListenerPorts[i] = new EndPointInfo (endpointList[i].endpointType, endpointList[i].port); if (debug) System.out.println("registering type: " + serverListenerPorts[i].endpointType + " port " + serverListenerPorts[i].port); } // put this set of listener ports in the HashMap associated // with the orbId orbAndPortInfo.put(orbId, serverListenerPorts); if (state == ACTIVATED) { state = RUNNING; notifyAll(); } // _REVISIT_, If the state is not equal to ACTIVATED then it is a bug // need to log that error, once the Logging framework is in place // for rip-int. if (debug) printDebug("registerPorts", "process registered Ports"); }
Example #6
Source File: ServerManagerImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public void registerEndpoints( int serverId, String orbId, EndPointInfo [] endpointList ) throws NoSuchEndPoint, ServerNotRegistered, ORBAlreadyRegistered { // orbId is ignored for now ServerTableEntry entry; Integer key = new Integer(serverId); synchronized (serverTable) { entry = (ServerTableEntry) serverTable.get(key); if (entry == null) { if (debug) System.out.println( "ServerManagerImpl: registerEndpoint for server Id " + serverId + " called, but no such server is registered." ) ; throw wrapper.serverNotExpectedToRegister() ; } else { if (debug) System.out.println( "ServerManagerImpl: registerEndpoints for server Id " + serverId + " called. This server is now active." ) ; entry.registerPorts( orbId, endpointList ); } } }
Example #7
Source File: ServerManagerImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public int getServerPortForType(ServerLocationPerORB location, String endPointType) throws NoSuchEndPoint { EndPointInfo[] listenerPorts = location.ports; for (int i = 0; i < listenerPorts.length; i++) { if ((listenerPorts[i].endpointType).equals(endPointType)) { return listenerPorts[i].port; } } throw new NoSuchEndPoint(); }
Example #8
Source File: ServerTableEntry.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
synchronized void registerPorts( String orbId, EndPointInfo [] endpointList) throws ORBAlreadyRegistered { // find if the ORB is already registered, then throw an exception if (orbAndPortInfo.containsKey(orbId)) { throw new ORBAlreadyRegistered(orbId); } // store all listener ports and their types int numListenerPorts = endpointList.length; EndPointInfo [] serverListenerPorts = new EndPointInfo[numListenerPorts]; for (int i = 0; i < numListenerPorts; i++) { serverListenerPorts[i] = new EndPointInfo (endpointList[i].endpointType, endpointList[i].port); if (debug) System.out.println("registering type: " + serverListenerPorts[i].endpointType + " port " + serverListenerPorts[i].port); } // put this set of listener ports in the HashMap associated // with the orbId orbAndPortInfo.put(orbId, serverListenerPorts); if (state == ACTIVATED) { state = RUNNING; notifyAll(); } // _REVISIT_, If the state is not equal to ACTIVATED then it is a bug // need to log that error, once the Logging framework is in place // for rip-int. if (debug) printDebug("registerPorts", "process registered Ports"); }
Example #9
Source File: ServerManagerImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
public void registerEndpoints( int serverId, String orbId, EndPointInfo [] endpointList ) throws NoSuchEndPoint, ServerNotRegistered, ORBAlreadyRegistered { // orbId is ignored for now ServerTableEntry entry; Integer key = new Integer(serverId); synchronized (serverTable) { entry = (ServerTableEntry) serverTable.get(key); if (entry == null) { if (debug) System.out.println( "ServerManagerImpl: registerEndpoint for server Id " + serverId + " called, but no such server is registered." ) ; throw wrapper.serverNotExpectedToRegister() ; } else { if (debug) System.out.println( "ServerManagerImpl: registerEndpoints for server Id " + serverId + " called. This server is now active." ) ; entry.registerPorts( orbId, endpointList ); } } }
Example #10
Source File: ServerManagerImpl.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
public int getServerPortForType(ServerLocationPerORB location, String endPointType) throws NoSuchEndPoint { EndPointInfo[] listenerPorts = location.ports; for (int i = 0; i < listenerPorts.length; i++) { if ((listenerPorts[i].endpointType).equals(endPointType)) { return listenerPorts[i].port; } } throw new NoSuchEndPoint(); }
Example #11
Source File: ServerTableEntry.java From hottub with GNU General Public License v2.0 | 5 votes |
synchronized void registerPorts( String orbId, EndPointInfo [] endpointList) throws ORBAlreadyRegistered { // find if the ORB is already registered, then throw an exception if (orbAndPortInfo.containsKey(orbId)) { throw new ORBAlreadyRegistered(orbId); } // store all listener ports and their types int numListenerPorts = endpointList.length; EndPointInfo [] serverListenerPorts = new EndPointInfo[numListenerPorts]; for (int i = 0; i < numListenerPorts; i++) { serverListenerPorts[i] = new EndPointInfo (endpointList[i].endpointType, endpointList[i].port); if (debug) System.out.println("registering type: " + serverListenerPorts[i].endpointType + " port " + serverListenerPorts[i].port); } // put this set of listener ports in the HashMap associated // with the orbId orbAndPortInfo.put(orbId, serverListenerPorts); if (state == ACTIVATED) { state = RUNNING; notifyAll(); } // _REVISIT_, If the state is not equal to ACTIVATED then it is a bug // need to log that error, once the Logging framework is in place // for rip-int. if (debug) printDebug("registerPorts", "process registered Ports"); }
Example #12
Source File: ServerManagerImpl.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public void registerEndpoints( int serverId, String orbId, EndPointInfo [] endpointList ) throws NoSuchEndPoint, ServerNotRegistered, ORBAlreadyRegistered { // orbId is ignored for now ServerTableEntry entry; Integer key = new Integer(serverId); synchronized (serverTable) { entry = (ServerTableEntry) serverTable.get(key); if (entry == null) { if (debug) System.out.println( "ServerManagerImpl: registerEndpoint for server Id " + serverId + " called, but no such server is registered." ) ; throw wrapper.serverNotExpectedToRegister() ; } else { if (debug) System.out.println( "ServerManagerImpl: registerEndpoints for server Id " + serverId + " called. This server is now active." ) ; entry.registerPorts( orbId, endpointList ); } } }
Example #13
Source File: ServerManagerImpl.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public int getServerPortForType(ServerLocationPerORB location, String endPointType) throws NoSuchEndPoint { EndPointInfo[] listenerPorts = location.ports; for (int i = 0; i < listenerPorts.length; i++) { if ((listenerPorts[i].endpointType).equals(endPointType)) { return listenerPorts[i].port; } } throw new NoSuchEndPoint(); }
Example #14
Source File: ServerTableEntry.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
synchronized void registerPorts( String orbId, EndPointInfo [] endpointList) throws ORBAlreadyRegistered { // find if the ORB is already registered, then throw an exception if (orbAndPortInfo.containsKey(orbId)) { throw new ORBAlreadyRegistered(orbId); } // store all listener ports and their types int numListenerPorts = endpointList.length; EndPointInfo [] serverListenerPorts = new EndPointInfo[numListenerPorts]; for (int i = 0; i < numListenerPorts; i++) { serverListenerPorts[i] = new EndPointInfo (endpointList[i].endpointType, endpointList[i].port); if (debug) System.out.println("registering type: " + serverListenerPorts[i].endpointType + " port " + serverListenerPorts[i].port); } // put this set of listener ports in the HashMap associated // with the orbId orbAndPortInfo.put(orbId, serverListenerPorts); if (state == ACTIVATED) { state = RUNNING; notifyAll(); } // _REVISIT_, If the state is not equal to ACTIVATED then it is a bug // need to log that error, once the Logging framework is in place // for rip-int. if (debug) printDebug("registerPorts", "process registered Ports"); }
Example #15
Source File: ServerManagerImpl.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public void registerEndpoints( int serverId, String orbId, EndPointInfo [] endpointList ) throws NoSuchEndPoint, ServerNotRegistered, ORBAlreadyRegistered { // orbId is ignored for now ServerTableEntry entry; Integer key = new Integer(serverId); synchronized (serverTable) { entry = (ServerTableEntry) serverTable.get(key); if (entry == null) { if (debug) System.out.println( "ServerManagerImpl: registerEndpoint for server Id " + serverId + " called, but no such server is registered." ) ; throw wrapper.serverNotExpectedToRegister() ; } else { if (debug) System.out.println( "ServerManagerImpl: registerEndpoints for server Id " + serverId + " called. This server is now active." ) ; entry.registerPorts( orbId, endpointList ); } } }
Example #16
Source File: ServerManagerImpl.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public int getServerPortForType(ServerLocationPerORB location, String endPointType) throws NoSuchEndPoint { EndPointInfo[] listenerPorts = location.ports; for (int i = 0; i < listenerPorts.length; i++) { if ((listenerPorts[i].endpointType).equals(endPointType)) { return listenerPorts[i].port; } } throw new NoSuchEndPoint(); }
Example #17
Source File: ServerTableEntry.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
synchronized void registerPorts( String orbId, EndPointInfo [] endpointList) throws ORBAlreadyRegistered { // find if the ORB is already registered, then throw an exception if (orbAndPortInfo.containsKey(orbId)) { throw new ORBAlreadyRegistered(orbId); } // store all listener ports and their types int numListenerPorts = endpointList.length; EndPointInfo [] serverListenerPorts = new EndPointInfo[numListenerPorts]; for (int i = 0; i < numListenerPorts; i++) { serverListenerPorts[i] = new EndPointInfo (endpointList[i].endpointType, endpointList[i].port); if (debug) System.out.println("registering type: " + serverListenerPorts[i].endpointType + " port " + serverListenerPorts[i].port); } // put this set of listener ports in the HashMap associated // with the orbId orbAndPortInfo.put(orbId, serverListenerPorts); if (state == ACTIVATED) { state = RUNNING; notifyAll(); } // _REVISIT_, If the state is not equal to ACTIVATED then it is a bug // need to log that error, once the Logging framework is in place // for rip-int. if (debug) printDebug("registerPorts", "process registered Ports"); }
Example #18
Source File: ServerManagerImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public void registerEndpoints( int serverId, String orbId, EndPointInfo [] endpointList ) throws NoSuchEndPoint, ServerNotRegistered, ORBAlreadyRegistered { // orbId is ignored for now ServerTableEntry entry; Integer key = new Integer(serverId); synchronized (serverTable) { entry = (ServerTableEntry) serverTable.get(key); if (entry == null) { if (debug) System.out.println( "ServerManagerImpl: registerEndpoint for server Id " + serverId + " called, but no such server is registered." ) ; throw wrapper.serverNotExpectedToRegister() ; } else { if (debug) System.out.println( "ServerManagerImpl: registerEndpoints for server Id " + serverId + " called. This server is now active." ) ; entry.registerPorts( orbId, endpointList ); } } }
Example #19
Source File: ServerManagerImpl.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
public void registerEndpoints( int serverId, String orbId, EndPointInfo [] endpointList ) throws NoSuchEndPoint, ServerNotRegistered, ORBAlreadyRegistered { // orbId is ignored for now ServerTableEntry entry; Integer key = new Integer(serverId); synchronized (serverTable) { entry = (ServerTableEntry) serverTable.get(key); if (entry == null) { if (debug) System.out.println( "ServerManagerImpl: registerEndpoint for server Id " + serverId + " called, but no such server is registered." ) ; throw wrapper.serverNotExpectedToRegister() ; } else { if (debug) System.out.println( "ServerManagerImpl: registerEndpoints for server Id " + serverId + " called. This server is now active." ) ; entry.registerPorts( orbId, endpointList ); } } }
Example #20
Source File: ServerTableEntry.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
synchronized void registerPorts( String orbId, EndPointInfo [] endpointList) throws ORBAlreadyRegistered { // find if the ORB is already registered, then throw an exception if (orbAndPortInfo.containsKey(orbId)) { throw new ORBAlreadyRegistered(orbId); } // store all listener ports and their types int numListenerPorts = endpointList.length; EndPointInfo [] serverListenerPorts = new EndPointInfo[numListenerPorts]; for (int i = 0; i < numListenerPorts; i++) { serverListenerPorts[i] = new EndPointInfo (endpointList[i].endpointType, endpointList[i].port); if (debug) System.out.println("registering type: " + serverListenerPorts[i].endpointType + " port " + serverListenerPorts[i].port); } // put this set of listener ports in the HashMap associated // with the orbId orbAndPortInfo.put(orbId, serverListenerPorts); if (state == ACTIVATED) { state = RUNNING; notifyAll(); } // _REVISIT_, If the state is not equal to ACTIVATED then it is a bug // need to log that error, once the Logging framework is in place // for rip-int. if (debug) printDebug("registerPorts", "process registered Ports"); }
Example #21
Source File: ServerManagerImpl.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public void registerEndpoints( int serverId, String orbId, EndPointInfo [] endpointList ) throws NoSuchEndPoint, ServerNotRegistered, ORBAlreadyRegistered { // orbId is ignored for now ServerTableEntry entry; Integer key = new Integer(serverId); synchronized (serverTable) { entry = (ServerTableEntry) serverTable.get(key); if (entry == null) { if (debug) System.out.println( "ServerManagerImpl: registerEndpoint for server Id " + serverId + " called, but no such server is registered." ) ; throw wrapper.serverNotExpectedToRegister() ; } else { if (debug) System.out.println( "ServerManagerImpl: registerEndpoints for server Id " + serverId + " called. This server is now active." ) ; entry.registerPorts( orbId, endpointList ); } } }
Example #22
Source File: ServerManagerImpl.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public int getServerPortForType(ServerLocationPerORB location, String endPointType) throws NoSuchEndPoint { EndPointInfo[] listenerPorts = location.ports; for (int i = 0; i < listenerPorts.length; i++) { if ((listenerPorts[i].endpointType).equals(endPointType)) { return listenerPorts[i].port; } } throw new NoSuchEndPoint(); }
Example #23
Source File: ServerTableEntry.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
synchronized void registerPorts( String orbId, EndPointInfo [] endpointList) throws ORBAlreadyRegistered { // find if the ORB is already registered, then throw an exception if (orbAndPortInfo.containsKey(orbId)) { throw new ORBAlreadyRegistered(orbId); } // store all listener ports and their types int numListenerPorts = endpointList.length; EndPointInfo [] serverListenerPorts = new EndPointInfo[numListenerPorts]; for (int i = 0; i < numListenerPorts; i++) { serverListenerPorts[i] = new EndPointInfo (endpointList[i].endpointType, endpointList[i].port); if (debug) System.out.println("registering type: " + serverListenerPorts[i].endpointType + " port " + serverListenerPorts[i].port); } // put this set of listener ports in the HashMap associated // with the orbId orbAndPortInfo.put(orbId, serverListenerPorts); if (state == ACTIVATED) { state = RUNNING; notifyAll(); } // _REVISIT_, If the state is not equal to ACTIVATED then it is a bug // need to log that error, once the Logging framework is in place // for rip-int. if (debug) printDebug("registerPorts", "process registered Ports"); }
Example #24
Source File: ServerManagerImpl.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public void registerEndpoints( int serverId, String orbId, EndPointInfo [] endpointList ) throws NoSuchEndPoint, ServerNotRegistered, ORBAlreadyRegistered { // orbId is ignored for now ServerTableEntry entry; Integer key = new Integer(serverId); synchronized (serverTable) { entry = (ServerTableEntry) serverTable.get(key); if (entry == null) { if (debug) System.out.println( "ServerManagerImpl: registerEndpoint for server Id " + serverId + " called, but no such server is registered." ) ; throw wrapper.serverNotExpectedToRegister() ; } else { if (debug) System.out.println( "ServerManagerImpl: registerEndpoints for server Id " + serverId + " called. This server is now active." ) ; entry.registerPorts( orbId, endpointList ); } } }
Example #25
Source File: ServerManagerImpl.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public int getServerPortForType(ServerLocationPerORB location, String endPointType) throws NoSuchEndPoint { EndPointInfo[] listenerPorts = location.ports; for (int i = 0; i < listenerPorts.length; i++) { if ((listenerPorts[i].endpointType).equals(endPointType)) { return listenerPorts[i].port; } } throw new NoSuchEndPoint(); }
Example #26
Source File: ServerTableEntry.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
synchronized void registerPorts( String orbId, EndPointInfo [] endpointList) throws ORBAlreadyRegistered { // find if the ORB is already registered, then throw an exception if (orbAndPortInfo.containsKey(orbId)) { throw new ORBAlreadyRegistered(orbId); } // store all listener ports and their types int numListenerPorts = endpointList.length; EndPointInfo [] serverListenerPorts = new EndPointInfo[numListenerPorts]; for (int i = 0; i < numListenerPorts; i++) { serverListenerPorts[i] = new EndPointInfo (endpointList[i].endpointType, endpointList[i].port); if (debug) System.out.println("registering type: " + serverListenerPorts[i].endpointType + " port " + serverListenerPorts[i].port); } // put this set of listener ports in the HashMap associated // with the orbId orbAndPortInfo.put(orbId, serverListenerPorts); if (state == ACTIVATED) { state = RUNNING; notifyAll(); } // _REVISIT_, If the state is not equal to ACTIVATED then it is a bug // need to log that error, once the Logging framework is in place // for rip-int. if (debug) printDebug("registerPorts", "process registered Ports"); }
Example #27
Source File: ServerManagerImpl.java From JDKSourceCode1.8 with MIT License | 5 votes |
public void registerEndpoints( int serverId, String orbId, EndPointInfo [] endpointList ) throws NoSuchEndPoint, ServerNotRegistered, ORBAlreadyRegistered { // orbId is ignored for now ServerTableEntry entry; Integer key = new Integer(serverId); synchronized (serverTable) { entry = (ServerTableEntry) serverTable.get(key); if (entry == null) { if (debug) System.out.println( "ServerManagerImpl: registerEndpoint for server Id " + serverId + " called, but no such server is registered." ) ; throw wrapper.serverNotExpectedToRegister() ; } else { if (debug) System.out.println( "ServerManagerImpl: registerEndpoints for server Id " + serverId + " called. This server is now active." ) ; entry.registerPorts( orbId, endpointList ); } } }
Example #28
Source File: ServerManagerImpl.java From JDKSourceCode1.8 with MIT License | 5 votes |
public int getServerPortForType(ServerLocationPerORB location, String endPointType) throws NoSuchEndPoint { EndPointInfo[] listenerPorts = location.ports; for (int i = 0; i < listenerPorts.length; i++) { if ((listenerPorts[i].endpointType).equals(endPointType)) { return listenerPorts[i].port; } } throw new NoSuchEndPoint(); }
Example #29
Source File: ServerTableEntry.java From JDKSourceCode1.8 with MIT License | 5 votes |
synchronized void registerPorts( String orbId, EndPointInfo [] endpointList) throws ORBAlreadyRegistered { // find if the ORB is already registered, then throw an exception if (orbAndPortInfo.containsKey(orbId)) { throw new ORBAlreadyRegistered(orbId); } // store all listener ports and their types int numListenerPorts = endpointList.length; EndPointInfo [] serverListenerPorts = new EndPointInfo[numListenerPorts]; for (int i = 0; i < numListenerPorts; i++) { serverListenerPorts[i] = new EndPointInfo (endpointList[i].endpointType, endpointList[i].port); if (debug) System.out.println("registering type: " + serverListenerPorts[i].endpointType + " port " + serverListenerPorts[i].port); } // put this set of listener ports in the HashMap associated // with the orbId orbAndPortInfo.put(orbId, serverListenerPorts); if (state == ACTIVATED) { state = RUNNING; notifyAll(); } // _REVISIT_, If the state is not equal to ACTIVATED then it is a bug // need to log that error, once the Logging framework is in place // for rip-int. if (debug) printDebug("registerPorts", "process registered Ports"); }
Example #30
Source File: ServerManagerImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public int getServerPortForType(ServerLocationPerORB location, String endPointType) throws NoSuchEndPoint { EndPointInfo[] listenerPorts = location.ports; for (int i = 0; i < listenerPorts.length; i++) { if ((listenerPorts[i].endpointType).equals(endPointType)) { return listenerPorts[i].port; } } throw new NoSuchEndPoint(); }