Java Code Examples for java.rmi.activation.ActivationGroup#createGroup()
The following examples show how to use
java.rmi.activation.ActivationGroup#createGroup() .
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: ActivationGroupInit.java From dragonwell8_jdk with GNU General Public License v2.0 | 5 votes |
/** * Main program to start a VM for an activation group. */ public static void main(String args[]) { try { if (System.getSecurityManager() == null) { System.setSecurityManager(new SecurityManager()); } // read group id, descriptor, and incarnation number from stdin MarshalInputStream in = new MarshalInputStream(System.in); ActivationGroupID id = (ActivationGroupID)in.readObject(); ActivationGroupDesc desc = (ActivationGroupDesc)in.readObject(); long incarnation = in.readLong(); // create and set group for the VM ActivationGroup.createGroup(id, desc, incarnation); } catch (Exception e) { System.err.println("Exception in starting ActivationGroupInit:"); e.printStackTrace(); } finally { try { System.in.close(); // note: system out/err shouldn't be closed // since the parent may want to read them. } catch (Exception ex) { // ignore exceptions } } }
Example 2
Source File: ActivationGroupInit.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * Main program to start a VM for an activation group. */ public static void main(String args[]) { try { if (System.getSecurityManager() == null) { System.setSecurityManager(new SecurityManager()); } // read group id, descriptor, and incarnation number from stdin MarshalInputStream in = new MarshalInputStream(System.in); ActivationGroupID id = (ActivationGroupID)in.readObject(); ActivationGroupDesc desc = (ActivationGroupDesc)in.readObject(); long incarnation = in.readLong(); // create and set group for the VM ActivationGroup.createGroup(id, desc, incarnation); } catch (Exception e) { System.err.println("Exception in starting ActivationGroupInit:"); e.printStackTrace(); } finally { try { System.in.close(); // note: system out/err shouldn't be closed // since the parent may want to read them. } catch (Exception ex) { // ignore exceptions } } }
Example 3
Source File: ActivationGroupInit.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * Main program to start a VM for an activation group. */ public static void main(String args[]) { try { if (System.getSecurityManager() == null) { System.setSecurityManager(new SecurityManager()); } // read group id, descriptor, and incarnation number from stdin MarshalInputStream in = new MarshalInputStream(System.in); ActivationGroupID id = (ActivationGroupID)in.readObject(); ActivationGroupDesc desc = (ActivationGroupDesc)in.readObject(); long incarnation = in.readLong(); // create and set group for the VM ActivationGroup.createGroup(id, desc, incarnation); } catch (Exception e) { System.err.println("Exception in starting ActivationGroupInit:"); e.printStackTrace(); } finally { try { System.in.close(); // note: system out/err shouldn't be closed // since the parent may want to read them. } catch (Exception ex) { // ignore exceptions } } }
Example 4
Source File: ActivationGroupInit.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * Main program to start a VM for an activation group. */ public static void main(String args[]) { try { if (System.getSecurityManager() == null) { System.setSecurityManager(new SecurityManager()); } // read group id, descriptor, and incarnation number from stdin MarshalInputStream in = new MarshalInputStream(System.in); ActivationGroupID id = (ActivationGroupID)in.readObject(); ActivationGroupDesc desc = (ActivationGroupDesc)in.readObject(); long incarnation = in.readLong(); // create and set group for the VM ActivationGroup.createGroup(id, desc, incarnation); } catch (Exception e) { System.err.println("Exception in starting ActivationGroupInit:"); e.printStackTrace(); } finally { try { System.in.close(); // note: system out/err shouldn't be closed // since the parent may want to read them. } catch (Exception ex) { // ignore exceptions } } }
Example 5
Source File: ActivationGroupInit.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * Main program to start a VM for an activation group. */ public static void main(String args[]) { try { if (System.getSecurityManager() == null) { System.setSecurityManager(new SecurityManager()); } // read group id, descriptor, and incarnation number from stdin MarshalInputStream in = new MarshalInputStream(System.in); ActivationGroupID id = (ActivationGroupID)in.readObject(); ActivationGroupDesc desc = (ActivationGroupDesc)in.readObject(); long incarnation = in.readLong(); // create and set group for the VM ActivationGroup.createGroup(id, desc, incarnation); } catch (Exception e) { System.err.println("Exception in starting ActivationGroupInit:"); e.printStackTrace(); } finally { try { System.in.close(); // note: system out/err shouldn't be closed // since the parent may want to read them. } catch (Exception ex) { // ignore exceptions } } }
Example 6
Source File: ActivationGroupInit.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * Main program to start a VM for an activation group. */ public static void main(String args[]) { try { if (System.getSecurityManager() == null) { System.setSecurityManager(new SecurityManager()); } // read group id, descriptor, and incarnation number from stdin MarshalInputStream in = new MarshalInputStream(System.in); ActivationGroupID id = (ActivationGroupID)in.readObject(); ActivationGroupDesc desc = (ActivationGroupDesc)in.readObject(); long incarnation = in.readLong(); // create and set group for the VM ActivationGroup.createGroup(id, desc, incarnation); } catch (Exception e) { System.err.println("Exception in starting ActivationGroupInit:"); e.printStackTrace(); } finally { try { System.in.close(); // note: system out/err shouldn't be closed // since the parent may want to read them. } catch (Exception ex) { // ignore exceptions } } }
Example 7
Source File: ActivationGroupInit.java From jdk8u-jdk with GNU General Public License v2.0 | 5 votes |
/** * Main program to start a VM for an activation group. */ public static void main(String args[]) { try { if (System.getSecurityManager() == null) { System.setSecurityManager(new SecurityManager()); } // read group id, descriptor, and incarnation number from stdin MarshalInputStream in = new MarshalInputStream(System.in); ActivationGroupID id = (ActivationGroupID)in.readObject(); ActivationGroupDesc desc = (ActivationGroupDesc)in.readObject(); long incarnation = in.readLong(); // create and set group for the VM ActivationGroup.createGroup(id, desc, incarnation); } catch (Exception e) { System.err.println("Exception in starting ActivationGroupInit:"); e.printStackTrace(); } finally { try { System.in.close(); // note: system out/err shouldn't be closed // since the parent may want to read them. } catch (Exception ex) { // ignore exceptions } } }
Example 8
Source File: ActivationGroupInit.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * Main program to start a VM for an activation group. */ public static void main(String args[]) { try { if (System.getSecurityManager() == null) { System.setSecurityManager(new SecurityManager()); } // read group id, descriptor, and incarnation number from stdin MarshalInputStream in = new MarshalInputStream(System.in); ActivationGroupID id = (ActivationGroupID)in.readObject(); ActivationGroupDesc desc = (ActivationGroupDesc)in.readObject(); long incarnation = in.readLong(); // create and set group for the VM ActivationGroup.createGroup(id, desc, incarnation); } catch (Exception e) { System.err.println("Exception in starting ActivationGroupInit:"); e.printStackTrace(); } finally { try { System.in.close(); // note: system out/err shouldn't be closed // since the parent may want to read them. } catch (Exception ex) { // ignore exceptions } } }
Example 9
Source File: ActivationGroupInit.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * Main program to start a VM for an activation group. */ public static void main(String args[]) { try { if (System.getSecurityManager() == null) { System.setSecurityManager(new SecurityManager()); } // read group id, descriptor, and incarnation number from stdin MarshalInputStream in = new MarshalInputStream(System.in); ActivationGroupID id = (ActivationGroupID)in.readObject(); ActivationGroupDesc desc = (ActivationGroupDesc)in.readObject(); long incarnation = in.readLong(); // create and set group for the VM ActivationGroup.createGroup(id, desc, incarnation); } catch (Exception e) { System.err.println("Exception in starting ActivationGroupInit:"); e.printStackTrace(); } finally { try { System.in.close(); // note: system out/err shouldn't be closed // since the parent may want to read them. } catch (Exception ex) { // ignore exceptions } } }
Example 10
Source File: ActivationGroupInit.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * Main program to start a VM for an activation group. */ public static void main(String args[]) { try { if (System.getSecurityManager() == null) { System.setSecurityManager(new SecurityManager()); } // read group id, descriptor, and incarnation number from stdin MarshalInputStream in = new MarshalInputStream(System.in); ActivationGroupID id = (ActivationGroupID)in.readObject(); ActivationGroupDesc desc = (ActivationGroupDesc)in.readObject(); long incarnation = in.readLong(); // create and set group for the VM ActivationGroup.createGroup(id, desc, incarnation); } catch (Exception e) { System.err.println("Exception in starting ActivationGroupInit:"); e.printStackTrace(); } finally { try { System.in.close(); // note: system out/err shouldn't be closed // since the parent may want to read them. } catch (Exception ex) { // ignore exceptions } } }
Example 11
Source File: ActivationGroupInit.java From jdk8u_jdk with GNU General Public License v2.0 | 5 votes |
/** * Main program to start a VM for an activation group. */ public static void main(String args[]) { try { if (System.getSecurityManager() == null) { System.setSecurityManager(new SecurityManager()); } // read group id, descriptor, and incarnation number from stdin MarshalInputStream in = new MarshalInputStream(System.in); ActivationGroupID id = (ActivationGroupID)in.readObject(); ActivationGroupDesc desc = (ActivationGroupDesc)in.readObject(); long incarnation = in.readLong(); // create and set group for the VM ActivationGroup.createGroup(id, desc, incarnation); } catch (Exception e) { System.err.println("Exception in starting ActivationGroupInit:"); e.printStackTrace(); } finally { try { System.in.close(); // note: system out/err shouldn't be closed // since the parent may want to read them. } catch (Exception ex) { // ignore exceptions } } }
Example 12
Source File: ActivationGroupInit.java From jdk8u-jdk with GNU General Public License v2.0 | 5 votes |
/** * Main program to start a VM for an activation group. */ public static void main(String args[]) { try { if (System.getSecurityManager() == null) { System.setSecurityManager(new SecurityManager()); } // read group id, descriptor, and incarnation number from stdin MarshalInputStream in = new MarshalInputStream(System.in); ActivationGroupID id = (ActivationGroupID)in.readObject(); ActivationGroupDesc desc = (ActivationGroupDesc)in.readObject(); long incarnation = in.readLong(); // create and set group for the VM ActivationGroup.createGroup(id, desc, incarnation); } catch (Exception e) { System.err.println("Exception in starting ActivationGroupInit:"); e.printStackTrace(); } finally { try { System.in.close(); // note: system out/err shouldn't be closed // since the parent may want to read them. } catch (Exception ex) { // ignore exceptions } } }
Example 13
Source File: ActivationGroupInit.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 5 votes |
/** * Main program to start a VM for an activation group. */ public static void main(String args[]) { try { if (System.getSecurityManager() == null) { System.setSecurityManager(new SecurityManager()); } // read group id, descriptor, and incarnation number from stdin MarshalInputStream in = new MarshalInputStream(System.in); ActivationGroupID id = (ActivationGroupID)in.readObject(); ActivationGroupDesc desc = (ActivationGroupDesc)in.readObject(); long incarnation = in.readLong(); // create and set group for the VM ActivationGroup.createGroup(id, desc, incarnation); } catch (Exception e) { System.err.println("Exception in starting ActivationGroupInit:"); e.printStackTrace(); } finally { try { System.in.close(); // note: system out/err shouldn't be closed // since the parent may want to read them. } catch (Exception ex) { // ignore exceptions } } }