com.sun.corba.se.spi.activation.ServerHeldDown Java Examples
The following examples show how to use
com.sun.corba.se.spi.activation.ServerHeldDown.
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 openjdk-8-source with GNU General Public License v2.0 | 6 votes |
public void uninstall( int serverId ) throws ServerNotRegistered, ServerHeldDown, ServerAlreadyUninstalled { ServerTableEntry entry = (ServerTableEntry) serverTable.get( new Integer(serverId) ); if (entry != null) { entry = (ServerTableEntry) serverTable.remove(new Integer(serverId)); if (entry == null) { if (debug) System.out.println( "ServerManagerImpl: shutdown for server Id " + serverId + " throws ServerNotActive." ) ; throw new ServerHeldDown( serverId ); } entry.uninstall(); } }
Example #2
Source File: ServerManagerImpl.java From hottub with GNU General Public License v2.0 | 6 votes |
public void uninstall( int serverId ) throws ServerNotRegistered, ServerHeldDown, ServerAlreadyUninstalled { ServerTableEntry entry = (ServerTableEntry) serverTable.get( new Integer(serverId) ); if (entry != null) { entry = (ServerTableEntry) serverTable.remove(new Integer(serverId)); if (entry == null) { if (debug) System.out.println( "ServerManagerImpl: shutdown for server Id " + serverId + " throws ServerNotActive." ) ; throw new ServerHeldDown( serverId ); } entry.uninstall(); } }
Example #3
Source File: ServerManagerImpl.java From jdk1.8-source-analysis with Apache License 2.0 | 6 votes |
public void uninstall( int serverId ) throws ServerNotRegistered, ServerHeldDown, ServerAlreadyUninstalled { ServerTableEntry entry = (ServerTableEntry) serverTable.get( new Integer(serverId) ); if (entry != null) { entry = (ServerTableEntry) serverTable.remove(new Integer(serverId)); if (entry == null) { if (debug) System.out.println( "ServerManagerImpl: shutdown for server Id " + serverId + " throws ServerNotActive." ) ; throw new ServerHeldDown( serverId ); } entry.uninstall(); } }
Example #4
Source File: ServerManagerImpl.java From JDKSourceCode1.8 with MIT License | 6 votes |
public void uninstall( int serverId ) throws ServerNotRegistered, ServerHeldDown, ServerAlreadyUninstalled { ServerTableEntry entry = (ServerTableEntry) serverTable.get( new Integer(serverId) ); if (entry != null) { entry = (ServerTableEntry) serverTable.remove(new Integer(serverId)); if (entry == null) { if (debug) System.out.println( "ServerManagerImpl: shutdown for server Id " + serverId + " throws ServerNotActive." ) ; throw new ServerHeldDown( serverId ); } entry.uninstall(); } }
Example #5
Source File: ServerManagerImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
public void uninstall( int serverId ) throws ServerNotRegistered, ServerHeldDown, ServerAlreadyUninstalled { ServerTableEntry entry = (ServerTableEntry) serverTable.get( new Integer(serverId) ); if (entry != null) { entry = (ServerTableEntry) serverTable.remove(new Integer(serverId)); if (entry == null) { if (debug) System.out.println( "ServerManagerImpl: shutdown for server Id " + serverId + " throws ServerNotActive." ) ; throw new ServerHeldDown( serverId ); } entry.uninstall(); } }
Example #6
Source File: ServerManagerImpl.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
public void uninstall( int serverId ) throws ServerNotRegistered, ServerHeldDown, ServerAlreadyUninstalled { ServerTableEntry entry = (ServerTableEntry) serverTable.get( new Integer(serverId) ); if (entry != null) { entry = (ServerTableEntry) serverTable.remove(new Integer(serverId)); if (entry == null) { if (debug) System.out.println( "ServerManagerImpl: shutdown for server Id " + serverId + " throws ServerNotActive." ) ; throw new ServerHeldDown( serverId ); } entry.uninstall(); } }
Example #7
Source File: ServerManagerImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
public void uninstall( int serverId ) throws ServerNotRegistered, ServerHeldDown, ServerAlreadyUninstalled { ServerTableEntry entry = (ServerTableEntry) serverTable.get( new Integer(serverId) ); if (entry != null) { entry = (ServerTableEntry) serverTable.remove(new Integer(serverId)); if (entry == null) { if (debug) System.out.println( "ServerManagerImpl: shutdown for server Id " + serverId + " throws ServerNotActive." ) ; throw new ServerHeldDown( serverId ); } entry.uninstall(); } }
Example #8
Source File: ServerManagerImpl.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
public void uninstall( int serverId ) throws ServerNotRegistered, ServerHeldDown, ServerAlreadyUninstalled { ServerTableEntry entry = (ServerTableEntry) serverTable.get( new Integer(serverId) ); if (entry != null) { entry = (ServerTableEntry) serverTable.remove(new Integer(serverId)); if (entry == null) { if (debug) System.out.println( "ServerManagerImpl: shutdown for server Id " + serverId + " throws ServerNotActive." ) ; throw new ServerHeldDown( serverId ); } entry.uninstall(); } }
Example #9
Source File: ServerManagerImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
public void uninstall( int serverId ) throws ServerNotRegistered, ServerHeldDown, ServerAlreadyUninstalled { ServerTableEntry entry = (ServerTableEntry) serverTable.get( new Integer(serverId) ); if (entry != null) { entry = (ServerTableEntry) serverTable.remove(new Integer(serverId)); if (entry == null) { if (debug) System.out.println( "ServerManagerImpl: shutdown for server Id " + serverId + " throws ServerNotActive." ) ; throw new ServerHeldDown( serverId ); } entry.uninstall(); } }
Example #10
Source File: ServerManagerImpl.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
public void uninstall( int serverId ) throws ServerNotRegistered, ServerHeldDown, ServerAlreadyUninstalled { ServerTableEntry entry = (ServerTableEntry) serverTable.get( new Integer(serverId) ); if (entry != null) { entry = (ServerTableEntry) serverTable.remove(new Integer(serverId)); if (entry == null) { if (debug) System.out.println( "ServerManagerImpl: shutdown for server Id " + serverId + " throws ServerNotActive." ) ; throw new ServerHeldDown( serverId ); } entry.uninstall(); } }
Example #11
Source File: ServerManagerImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** This method is used to obtain the registered ports for an ORB. * This is useful for custom Bad server ID handlers in ORBD. */ public ServerLocationPerORB locateServerForORB (int serverId, String orbId) throws InvalidORBid, ServerNotRegistered, ServerHeldDown { ServerTableEntry entry = getEntry( serverId ) ; // passing in entry to eliminate multiple lookups for // the same entry in some cases if (debug) System.out.println( "ServerManagerImpl: locateServerForORB called with " + " serverId=" + serverId + " orbId=" + orbId + " block=true" ) ; return locateServerForORB(entry, orbId, true); }
Example #12
Source File: ServerManagerImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public void install( int serverId ) throws ServerNotRegistered, ServerHeldDown, ServerAlreadyInstalled { ServerTableEntry entry = getRunningEntry( serverId ) ; if (entry != null) { repository.install( serverId ) ; entry.install() ; } }
Example #13
Source File: ServerManagerImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public ServerLocation locateServer (int serverId, String endpointType) throws NoSuchEndPoint, ServerNotRegistered, ServerHeldDown { ServerTableEntry entry = getEntry( serverId ) ; if (debug) System.out.println( "ServerManagerImpl: locateServer called with " + " serverId=" + serverId + " endpointType=" + endpointType + " block=true" ) ; // passing in entry to eliminate multiple lookups for // the same entry in some cases return locateServer(entry, endpointType, true); }
Example #14
Source File: ServerManagerImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** This method is used to obtain the registered ports for an ORB. * This is useful for custom Bad server ID handlers in ORBD. */ public ServerLocationPerORB locateServerForORB (int serverId, String orbId) throws InvalidORBid, ServerNotRegistered, ServerHeldDown { ServerTableEntry entry = getEntry( serverId ) ; // passing in entry to eliminate multiple lookups for // the same entry in some cases if (debug) System.out.println( "ServerManagerImpl: locateServerForORB called with " + " serverId=" + serverId + " orbId=" + orbId + " block=true" ) ; return locateServerForORB(entry, orbId, true); }
Example #15
Source File: ServerManagerImpl.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public void install( int serverId ) throws ServerNotRegistered, ServerHeldDown, ServerAlreadyInstalled { ServerTableEntry entry = getRunningEntry( serverId ) ; if (entry != null) { repository.install( serverId ) ; entry.install() ; } }
Example #16
Source File: ServerManagerImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public void install( int serverId ) throws ServerNotRegistered, ServerHeldDown, ServerAlreadyInstalled { ServerTableEntry entry = getRunningEntry( serverId ) ; if (entry != null) { repository.install( serverId ) ; entry.install() ; } }
Example #17
Source File: ServerManagerImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public ServerLocation locateServer (int serverId, String endpointType) throws NoSuchEndPoint, ServerNotRegistered, ServerHeldDown { ServerTableEntry entry = getEntry( serverId ) ; if (debug) System.out.println( "ServerManagerImpl: locateServer called with " + " serverId=" + serverId + " endpointType=" + endpointType + " block=true" ) ; // passing in entry to eliminate multiple lookups for // the same entry in some cases return locateServer(entry, endpointType, true); }
Example #18
Source File: ServerManagerImpl.java From JDKSourceCode1.8 with MIT License | 5 votes |
public ServerLocation locateServer (int serverId, String endpointType) throws NoSuchEndPoint, ServerNotRegistered, ServerHeldDown { ServerTableEntry entry = getEntry( serverId ) ; if (debug) System.out.println( "ServerManagerImpl: locateServer called with " + " serverId=" + serverId + " endpointType=" + endpointType + " block=true" ) ; // passing in entry to eliminate multiple lookups for // the same entry in some cases return locateServer(entry, endpointType, true); }
Example #19
Source File: ServerManagerImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
/** This method is used to obtain the registered ports for an ORB. * This is useful for custom Bad server ID handlers in ORBD. */ public ServerLocationPerORB locateServerForORB (int serverId, String orbId) throws InvalidORBid, ServerNotRegistered, ServerHeldDown { ServerTableEntry entry = getEntry( serverId ) ; // passing in entry to eliminate multiple lookups for // the same entry in some cases if (debug) System.out.println( "ServerManagerImpl: locateServerForORB called with " + " serverId=" + serverId + " orbId=" + orbId + " block=true" ) ; return locateServerForORB(entry, orbId, true); }
Example #20
Source File: ServerManagerImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public void install( int serverId ) throws ServerNotRegistered, ServerHeldDown, ServerAlreadyInstalled { ServerTableEntry entry = getRunningEntry( serverId ) ; if (entry != null) { repository.install( serverId ) ; entry.install() ; } }
Example #21
Source File: ServerManagerImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public ServerLocation locateServer (int serverId, String endpointType) throws NoSuchEndPoint, ServerNotRegistered, ServerHeldDown { ServerTableEntry entry = getEntry( serverId ) ; if (debug) System.out.println( "ServerManagerImpl: locateServer called with " + " serverId=" + serverId + " endpointType=" + endpointType + " block=true" ) ; // passing in entry to eliminate multiple lookups for // the same entry in some cases return locateServer(entry, endpointType, true); }
Example #22
Source File: ServerManagerImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** This method is used to obtain the registered ports for an ORB. * This is useful for custom Bad server ID handlers in ORBD. */ public ServerLocationPerORB locateServerForORB (int serverId, String orbId) throws InvalidORBid, ServerNotRegistered, ServerHeldDown { ServerTableEntry entry = getEntry( serverId ) ; // passing in entry to eliminate multiple lookups for // the same entry in some cases if (debug) System.out.println( "ServerManagerImpl: locateServerForORB called with " + " serverId=" + serverId + " orbId=" + orbId + " block=true" ) ; return locateServerForORB(entry, orbId, true); }
Example #23
Source File: ServerManagerImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
public ServerLocation locateServer (int serverId, String endpointType) throws NoSuchEndPoint, ServerNotRegistered, ServerHeldDown { ServerTableEntry entry = getEntry( serverId ) ; if (debug) System.out.println( "ServerManagerImpl: locateServer called with " + " serverId=" + serverId + " endpointType=" + endpointType + " block=true" ) ; // passing in entry to eliminate multiple lookups for // the same entry in some cases return locateServer(entry, endpointType, true); }
Example #24
Source File: ServerManagerImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
public void install( int serverId ) throws ServerNotRegistered, ServerHeldDown, ServerAlreadyInstalled { ServerTableEntry entry = getRunningEntry( serverId ) ; if (entry != null) { repository.install( serverId ) ; entry.install() ; } }
Example #25
Source File: ServerManagerImpl.java From JDKSourceCode1.8 with MIT License | 5 votes |
/** This method is used to obtain the registered ports for an ORB. * This is useful for custom Bad server ID handlers in ORBD. */ public ServerLocationPerORB locateServerForORB (int serverId, String orbId) throws InvalidORBid, ServerNotRegistered, ServerHeldDown { ServerTableEntry entry = getEntry( serverId ) ; // passing in entry to eliminate multiple lookups for // the same entry in some cases if (debug) System.out.println( "ServerManagerImpl: locateServerForORB called with " + " serverId=" + serverId + " orbId=" + orbId + " block=true" ) ; return locateServerForORB(entry, orbId, true); }
Example #26
Source File: ServerManagerImpl.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** This method is used to obtain the registered ports for an ORB. * This is useful for custom Bad server ID handlers in ORBD. */ public ServerLocationPerORB locateServerForORB (int serverId, String orbId) throws InvalidORBid, ServerNotRegistered, ServerHeldDown { ServerTableEntry entry = getEntry( serverId ) ; // passing in entry to eliminate multiple lookups for // the same entry in some cases if (debug) System.out.println( "ServerManagerImpl: locateServerForORB called with " + " serverId=" + serverId + " orbId=" + orbId + " block=true" ) ; return locateServerForORB(entry, orbId, true); }
Example #27
Source File: ServerManagerImpl.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
public void install( int serverId ) throws ServerNotRegistered, ServerHeldDown, ServerAlreadyInstalled { ServerTableEntry entry = getRunningEntry( serverId ) ; if (entry != null) { repository.install( serverId ) ; entry.install() ; } }
Example #28
Source File: ServerManagerImpl.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
public ServerLocation locateServer (int serverId, String endpointType) throws NoSuchEndPoint, ServerNotRegistered, ServerHeldDown { ServerTableEntry entry = getEntry( serverId ) ; if (debug) System.out.println( "ServerManagerImpl: locateServer called with " + " serverId=" + serverId + " endpointType=" + endpointType + " block=true" ) ; // passing in entry to eliminate multiple lookups for // the same entry in some cases return locateServer(entry, endpointType, true); }
Example #29
Source File: ServerManagerImpl.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
/** This method is used to obtain the registered ports for an ORB. * This is useful for custom Bad server ID handlers in ORBD. */ public ServerLocationPerORB locateServerForORB (int serverId, String orbId) throws InvalidORBid, ServerNotRegistered, ServerHeldDown { ServerTableEntry entry = getEntry( serverId ) ; // passing in entry to eliminate multiple lookups for // the same entry in some cases if (debug) System.out.println( "ServerManagerImpl: locateServerForORB called with " + " serverId=" + serverId + " orbId=" + orbId + " block=true" ) ; return locateServerForORB(entry, orbId, true); }
Example #30
Source File: ServerManagerImpl.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public ServerLocation locateServer (int serverId, String endpointType) throws NoSuchEndPoint, ServerNotRegistered, ServerHeldDown { ServerTableEntry entry = getEntry( serverId ) ; if (debug) System.out.println( "ServerManagerImpl: locateServer called with " + " serverId=" + serverId + " endpointType=" + endpointType + " block=true" ) ; // passing in entry to eliminate multiple lookups for // the same entry in some cases return locateServer(entry, endpointType, true); }