master
xuanqis 6 years ago
commit f393ea3929

@ -0,0 +1,13 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/Activator.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public interface Activator extends ActivatorOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity
{
} // interface Activator

@ -0,0 +1,85 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ActivatorHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
abstract public class ActivatorHelper
{
private static String _id = "IDL:PortableActivationIDL/Activator:1.0";
public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.PortableActivationIDL.Activator that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static com.sun.corba.se.PortableActivationIDL.Activator extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
__typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (com.sun.corba.se.PortableActivationIDL.ActivatorHelper.id (), "Activator");
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static com.sun.corba.se.PortableActivationIDL.Activator read (org.omg.CORBA.portable.InputStream istream)
{
return narrow (istream.read_Object (_ActivatorStub.class));
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.PortableActivationIDL.Activator value)
{
ostream.write_Object ((org.omg.CORBA.Object) value);
}
public static com.sun.corba.se.PortableActivationIDL.Activator narrow (org.omg.CORBA.Object obj)
{
if (obj == null)
return null;
else if (obj instanceof com.sun.corba.se.PortableActivationIDL.Activator)
return (com.sun.corba.se.PortableActivationIDL.Activator)obj;
else if (!obj._is_a (id ()))
throw new org.omg.CORBA.BAD_PARAM ();
else
{
org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate ();
com.sun.corba.se.PortableActivationIDL._ActivatorStub stub = new com.sun.corba.se.PortableActivationIDL._ActivatorStub ();
stub._set_delegate(delegate);
return stub;
}
}
public static com.sun.corba.se.PortableActivationIDL.Activator unchecked_narrow (org.omg.CORBA.Object obj)
{
if (obj == null)
return null;
else if (obj instanceof com.sun.corba.se.PortableActivationIDL.Activator)
return (com.sun.corba.se.PortableActivationIDL.Activator)obj;
else
{
org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate ();
com.sun.corba.se.PortableActivationIDL._ActivatorStub stub = new com.sun.corba.se.PortableActivationIDL._ActivatorStub ();
stub._set_delegate(delegate);
return stub;
}
}
}

@ -0,0 +1,38 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ActivatorHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class ActivatorHolder implements org.omg.CORBA.portable.Streamable
{
public com.sun.corba.se.PortableActivationIDL.Activator value = null;
public ActivatorHolder ()
{
}
public ActivatorHolder (com.sun.corba.se.PortableActivationIDL.Activator initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = com.sun.corba.se.PortableActivationIDL.ActivatorHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
com.sun.corba.se.PortableActivationIDL.ActivatorHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return com.sun.corba.se.PortableActivationIDL.ActivatorHelper.type ();
}
}

@ -0,0 +1,73 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ActivatorOperations.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public interface ActivatorOperations
{
/** A new ORB started server registers itself with the Activator
*/
void registerServer (String serverId, com.sun.corba.se.PortableActivationIDL.ServerProxy serverObj) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered;
/** A server is shutting down that was started by this activator.
* Complete termination of the server is detected by the death of the
* process implementing the server.
*/
void serverGoingDown (String serverId);
/** Called whenever an ORB instance is created. This registers
* the transport endpoints and the ORB proxy callback object.
* Note that we cannot detect when an ORB shuts down, although
* all of the POA shutdowns should still be reported.
*/
void registerORB (String serverId, String orbId, com.sun.corba.se.PortableActivationIDL.ORBProxy orb, com.sun.corba.se.PortableActivationIDL.EndPointInfo[] endPointInfo) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.NoSuchEndPoint, com.sun.corba.se.PortableActivationIDL.ORBAlreadyRegistered;
/** Construct or find an ORBD object template corresponding to the
* server's object template and return it. Called whenever a
* persistent POA is created.
*/
org.omg.PortableInterceptor.ObjectReferenceTemplate registerPOA (String serverId, String orbId, org.omg.PortableInterceptor.ObjectReferenceTemplate poaTemplate);
/** Called whenever a POA is destroyed.
*/
void poaDestroyed (String serverId, String orbId, org.omg.PortableInterceptor.ObjectReferenceTemplate poaTemplate);
/** If the server is not running, start it up. This is allowed
* whether or not the server has been installed.
*/
void activate (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerAlreadyActive, com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.ServerHeldDown;
/** If the server is running, shut it down
*/
void shutdown (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotActive, com.sun.corba.se.PortableActivationIDL.ServerNotRegistered;
/** Invoke the server install hook. If the server is not
* currently running, this method will activate it.
*/
void install (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.ServerHeldDown, com.sun.corba.se.PortableActivationIDL.ServerAlreadyInstalled;
/** Invoke the server uninstall hook. If the server is not
* currently running, this method will activate it.
* After this hook completes, the server may still be running.
*/
void uninstall (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.ServerHeldDown, com.sun.corba.se.PortableActivationIDL.ServerAlreadyUninstalled;
/** list active servers
*/
String[] getActiveServers ();
/** list all registered ORBs for a server
*/
String[] getORBNames (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered;
/** Find the server template that corresponds to the ORBD's
* adapter id.
*/
org.omg.PortableInterceptor.ObjectReferenceTemplate lookupPOATemplate (String serverId, String orbId, String[] orbAdapterName);
} // interface ActivatorOperations

@ -0,0 +1,33 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/BadServerDefinition.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class BadServerDefinition extends org.omg.CORBA.UserException
{
public String reason = null;
public BadServerDefinition ()
{
super(BadServerDefinitionHelper.id());
} // ctor
public BadServerDefinition (String _reason)
{
super(BadServerDefinitionHelper.id());
reason = _reason;
} // ctor
public BadServerDefinition (String $reason, String _reason)
{
super(BadServerDefinitionHelper.id() + " " + $reason);
reason = _reason;
} // ctor
} // class BadServerDefinition

@ -0,0 +1,79 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/BadServerDefinitionHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
abstract public class BadServerDefinitionHelper
{
private static String _id = "IDL:PortableActivationIDL/BadServerDefinition:1.0";
public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.PortableActivationIDL.BadServerDefinition that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static com.sun.corba.se.PortableActivationIDL.BadServerDefinition extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
private static boolean __active = false;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
synchronized (org.omg.CORBA.TypeCode.class)
{
if (__typeCode == null)
{
if (__active)
{
return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
}
__active = true;
org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [1];
org.omg.CORBA.TypeCode _tcOf_members0 = null;
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0);
_members0[0] = new org.omg.CORBA.StructMember (
"reason",
_tcOf_members0,
null);
__typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (com.sun.corba.se.PortableActivationIDL.BadServerDefinitionHelper.id (), "BadServerDefinition", _members0);
__active = false;
}
}
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static com.sun.corba.se.PortableActivationIDL.BadServerDefinition read (org.omg.CORBA.portable.InputStream istream)
{
com.sun.corba.se.PortableActivationIDL.BadServerDefinition value = new com.sun.corba.se.PortableActivationIDL.BadServerDefinition ();
// read and discard the repository ID
istream.read_string ();
value.reason = istream.read_string ();
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.PortableActivationIDL.BadServerDefinition value)
{
// write the repository ID
ostream.write_string (id ());
ostream.write_string (value.reason);
}
}

@ -0,0 +1,38 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/BadServerDefinitionHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class BadServerDefinitionHolder implements org.omg.CORBA.portable.Streamable
{
public com.sun.corba.se.PortableActivationIDL.BadServerDefinition value = null;
public BadServerDefinitionHolder ()
{
}
public BadServerDefinitionHolder (com.sun.corba.se.PortableActivationIDL.BadServerDefinition initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = com.sun.corba.se.PortableActivationIDL.BadServerDefinitionHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
com.sun.corba.se.PortableActivationIDL.BadServerDefinitionHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return com.sun.corba.se.PortableActivationIDL.BadServerDefinitionHelper.type ();
}
}

@ -0,0 +1,26 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/EndPointInfo.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class EndPointInfo implements org.omg.CORBA.portable.IDLEntity
{
public String endpointType = null;
public int port = (int)0;
public EndPointInfo ()
{
} // ctor
public EndPointInfo (String _endpointType, int _port)
{
endpointType = _endpointType;
port = _port;
} // ctor
} // class EndPointInfo

@ -0,0 +1,83 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/EndPointInfoHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
abstract public class EndPointInfoHelper
{
private static String _id = "IDL:PortableActivationIDL/EndPointInfo:1.0";
public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.PortableActivationIDL.EndPointInfo that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static com.sun.corba.se.PortableActivationIDL.EndPointInfo extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
private static boolean __active = false;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
synchronized (org.omg.CORBA.TypeCode.class)
{
if (__typeCode == null)
{
if (__active)
{
return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
}
__active = true;
org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [2];
org.omg.CORBA.TypeCode _tcOf_members0 = null;
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0);
_members0[0] = new org.omg.CORBA.StructMember (
"endpointType",
_tcOf_members0,
null);
_tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_long);
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (com.sun.corba.se.PortableActivationIDL.TCPPortHelper.id (), "TCPPort", _tcOf_members0);
_members0[1] = new org.omg.CORBA.StructMember (
"port",
_tcOf_members0,
null);
__typeCode = org.omg.CORBA.ORB.init ().create_struct_tc (com.sun.corba.se.PortableActivationIDL.EndPointInfoHelper.id (), "EndPointInfo", _members0);
__active = false;
}
}
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static com.sun.corba.se.PortableActivationIDL.EndPointInfo read (org.omg.CORBA.portable.InputStream istream)
{
com.sun.corba.se.PortableActivationIDL.EndPointInfo value = new com.sun.corba.se.PortableActivationIDL.EndPointInfo ();
value.endpointType = istream.read_string ();
value.port = istream.read_long ();
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.PortableActivationIDL.EndPointInfo value)
{
ostream.write_string (value.endpointType);
ostream.write_long (value.port);
}
}

@ -0,0 +1,38 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/EndPointInfoHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class EndPointInfoHolder implements org.omg.CORBA.portable.Streamable
{
public com.sun.corba.se.PortableActivationIDL.EndPointInfo value = null;
public EndPointInfoHolder ()
{
}
public EndPointInfoHolder (com.sun.corba.se.PortableActivationIDL.EndPointInfo initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = com.sun.corba.se.PortableActivationIDL.EndPointInfoHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
com.sun.corba.se.PortableActivationIDL.EndPointInfoHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return com.sun.corba.se.PortableActivationIDL.EndPointInfoHelper.type ();
}
}

@ -0,0 +1,65 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/EndpointInfoListHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
/** A list of endpoint information for a particular ORB.
*/
abstract public class EndpointInfoListHelper
{
private static String _id = "IDL:PortableActivationIDL/EndpointInfoList:1.0";
public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.PortableActivationIDL.EndPointInfo[] that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static com.sun.corba.se.PortableActivationIDL.EndPointInfo[] extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
__typeCode = com.sun.corba.se.PortableActivationIDL.EndPointInfoHelper.type ();
__typeCode = org.omg.CORBA.ORB.init ().create_sequence_tc (0, __typeCode);
__typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (com.sun.corba.se.PortableActivationIDL.EndpointInfoListHelper.id (), "EndpointInfoList", __typeCode);
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static com.sun.corba.se.PortableActivationIDL.EndPointInfo[] read (org.omg.CORBA.portable.InputStream istream)
{
com.sun.corba.se.PortableActivationIDL.EndPointInfo value[] = null;
int _len0 = istream.read_long ();
value = new com.sun.corba.se.PortableActivationIDL.EndPointInfo[_len0];
for (int _o1 = 0;_o1 < value.length; ++_o1)
value[_o1] = com.sun.corba.se.PortableActivationIDL.EndPointInfoHelper.read (istream);
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.PortableActivationIDL.EndPointInfo[] value)
{
ostream.write_long (value.length);
for (int _i0 = 0;_i0 < value.length; ++_i0)
com.sun.corba.se.PortableActivationIDL.EndPointInfoHelper.write (ostream, value[_i0]);
}
}

@ -0,0 +1,42 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/EndpointInfoListHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
/** A list of endpoint information for a particular ORB.
*/
public final class EndpointInfoListHolder implements org.omg.CORBA.portable.Streamable
{
public com.sun.corba.se.PortableActivationIDL.EndPointInfo value[] = null;
public EndpointInfoListHolder ()
{
}
public EndpointInfoListHolder (com.sun.corba.se.PortableActivationIDL.EndPointInfo[] initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = com.sun.corba.se.PortableActivationIDL.EndpointInfoListHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
com.sun.corba.se.PortableActivationIDL.EndpointInfoListHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return com.sun.corba.se.PortableActivationIDL.EndpointInfoListHelper.type ();
}
}

@ -0,0 +1,20 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/IIOP_CLEAR_TEXT.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public interface IIOP_CLEAR_TEXT
{
/** Possible values for endpointType argument on Server.getEndpoint()
* If you change the value of this constant then update
* core.EndPoint accordingly. It has a duplicate definition
* to avoid a compilation dependency.
*/
public static final String value = "IIOP_CLEAR_TEXT";
}

@ -0,0 +1,17 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/InitialNameService.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
/** Interface used to support binding references in the bootstrap name
* service.
*/
public interface InitialNameService extends InitialNameServiceOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity
{
} // interface InitialNameService

@ -0,0 +1,89 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/InitialNameServiceHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
/** Interface used to support binding references in the bootstrap name
* service.
*/
abstract public class InitialNameServiceHelper
{
private static String _id = "IDL:PortableActivationIDL/InitialNameService:1.0";
public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.PortableActivationIDL.InitialNameService that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static com.sun.corba.se.PortableActivationIDL.InitialNameService extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
__typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (com.sun.corba.se.PortableActivationIDL.InitialNameServiceHelper.id (), "InitialNameService");
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static com.sun.corba.se.PortableActivationIDL.InitialNameService read (org.omg.CORBA.portable.InputStream istream)
{
return narrow (istream.read_Object (_InitialNameServiceStub.class));
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.PortableActivationIDL.InitialNameService value)
{
ostream.write_Object ((org.omg.CORBA.Object) value);
}
public static com.sun.corba.se.PortableActivationIDL.InitialNameService narrow (org.omg.CORBA.Object obj)
{
if (obj == null)
return null;
else if (obj instanceof com.sun.corba.se.PortableActivationIDL.InitialNameService)
return (com.sun.corba.se.PortableActivationIDL.InitialNameService)obj;
else if (!obj._is_a (id ()))
throw new org.omg.CORBA.BAD_PARAM ();
else
{
org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate ();
com.sun.corba.se.PortableActivationIDL._InitialNameServiceStub stub = new com.sun.corba.se.PortableActivationIDL._InitialNameServiceStub ();
stub._set_delegate(delegate);
return stub;
}
}
public static com.sun.corba.se.PortableActivationIDL.InitialNameService unchecked_narrow (org.omg.CORBA.Object obj)
{
if (obj == null)
return null;
else if (obj instanceof com.sun.corba.se.PortableActivationIDL.InitialNameService)
return (com.sun.corba.se.PortableActivationIDL.InitialNameService)obj;
else
{
org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate ();
com.sun.corba.se.PortableActivationIDL._InitialNameServiceStub stub = new com.sun.corba.se.PortableActivationIDL._InitialNameServiceStub ();
stub._set_delegate(delegate);
return stub;
}
}
}

@ -0,0 +1,42 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/InitialNameServiceHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
/** Interface used to support binding references in the bootstrap name
* service.
*/
public final class InitialNameServiceHolder implements org.omg.CORBA.portable.Streamable
{
public com.sun.corba.se.PortableActivationIDL.InitialNameService value = null;
public InitialNameServiceHolder ()
{
}
public InitialNameServiceHolder (com.sun.corba.se.PortableActivationIDL.InitialNameService initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = com.sun.corba.se.PortableActivationIDL.InitialNameServiceHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
com.sun.corba.se.PortableActivationIDL.InitialNameServiceHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return com.sun.corba.se.PortableActivationIDL.InitialNameServiceHelper.type ();
}
}

@ -0,0 +1,21 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/InitialNameServiceOperations.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
/** Interface used to support binding references in the bootstrap name
* service.
*/
public interface InitialNameServiceOperations
{
/** bind initial name
*/
void bind (String name, org.omg.CORBA.Object obj, boolean isPersistant) throws com.sun.corba.se.PortableActivationIDL.InitialNameServicePackage.NameAlreadyBound;
} // interface InitialNameServiceOperations

@ -0,0 +1,25 @@
package com.sun.corba.se.PortableActivationIDL.InitialNameServicePackage;
/**
* com/sun/corba/se/PortableActivationIDL/InitialNameServicePackage/NameAlreadyBound.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class NameAlreadyBound extends org.omg.CORBA.UserException
{
public NameAlreadyBound ()
{
super(NameAlreadyBoundHelper.id());
} // ctor
public NameAlreadyBound (String $reason)
{
super(NameAlreadyBoundHelper.id() + " " + $reason);
} // ctor
} // class NameAlreadyBound

@ -0,0 +1,72 @@
package com.sun.corba.se.PortableActivationIDL.InitialNameServicePackage;
/**
* com/sun/corba/se/PortableActivationIDL/InitialNameServicePackage/NameAlreadyBoundHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
abstract public class NameAlreadyBoundHelper
{
private static String _id = "IDL:PortableActivationIDL/InitialNameService/NameAlreadyBound:1.0";
public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.PortableActivationIDL.InitialNameServicePackage.NameAlreadyBound that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static com.sun.corba.se.PortableActivationIDL.InitialNameServicePackage.NameAlreadyBound extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
private static boolean __active = false;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
synchronized (org.omg.CORBA.TypeCode.class)
{
if (__typeCode == null)
{
if (__active)
{
return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
}
__active = true;
org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [0];
org.omg.CORBA.TypeCode _tcOf_members0 = null;
__typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (com.sun.corba.se.PortableActivationIDL.InitialNameServicePackage.NameAlreadyBoundHelper.id (), "NameAlreadyBound", _members0);
__active = false;
}
}
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static com.sun.corba.se.PortableActivationIDL.InitialNameServicePackage.NameAlreadyBound read (org.omg.CORBA.portable.InputStream istream)
{
com.sun.corba.se.PortableActivationIDL.InitialNameServicePackage.NameAlreadyBound value = new com.sun.corba.se.PortableActivationIDL.InitialNameServicePackage.NameAlreadyBound ();
// read and discard the repository ID
istream.read_string ();
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.PortableActivationIDL.InitialNameServicePackage.NameAlreadyBound value)
{
// write the repository ID
ostream.write_string (id ());
}
}

@ -0,0 +1,38 @@
package com.sun.corba.se.PortableActivationIDL.InitialNameServicePackage;
/**
* com/sun/corba/se/PortableActivationIDL/InitialNameServicePackage/NameAlreadyBoundHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class NameAlreadyBoundHolder implements org.omg.CORBA.portable.Streamable
{
public com.sun.corba.se.PortableActivationIDL.InitialNameServicePackage.NameAlreadyBound value = null;
public NameAlreadyBoundHolder ()
{
}
public NameAlreadyBoundHolder (com.sun.corba.se.PortableActivationIDL.InitialNameServicePackage.NameAlreadyBound initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = com.sun.corba.se.PortableActivationIDL.InitialNameServicePackage.NameAlreadyBoundHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
com.sun.corba.se.PortableActivationIDL.InitialNameServicePackage.NameAlreadyBoundHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return com.sun.corba.se.PortableActivationIDL.InitialNameServicePackage.NameAlreadyBoundHelper.type ();
}
}

@ -0,0 +1,25 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/InvalidORBid.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class InvalidORBid extends org.omg.CORBA.UserException
{
public InvalidORBid ()
{
super(InvalidORBidHelper.id());
} // ctor
public InvalidORBid (String $reason)
{
super(InvalidORBidHelper.id() + " " + $reason);
} // ctor
} // class InvalidORBid

@ -0,0 +1,72 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/InvalidORBidHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
abstract public class InvalidORBidHelper
{
private static String _id = "IDL:PortableActivationIDL/InvalidORBid:1.0";
public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.PortableActivationIDL.InvalidORBid that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static com.sun.corba.se.PortableActivationIDL.InvalidORBid extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
private static boolean __active = false;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
synchronized (org.omg.CORBA.TypeCode.class)
{
if (__typeCode == null)
{
if (__active)
{
return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
}
__active = true;
org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [0];
org.omg.CORBA.TypeCode _tcOf_members0 = null;
__typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (com.sun.corba.se.PortableActivationIDL.InvalidORBidHelper.id (), "InvalidORBid", _members0);
__active = false;
}
}
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static com.sun.corba.se.PortableActivationIDL.InvalidORBid read (org.omg.CORBA.portable.InputStream istream)
{
com.sun.corba.se.PortableActivationIDL.InvalidORBid value = new com.sun.corba.se.PortableActivationIDL.InvalidORBid ();
// read and discard the repository ID
istream.read_string ();
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.PortableActivationIDL.InvalidORBid value)
{
// write the repository ID
ostream.write_string (id ());
}
}

@ -0,0 +1,38 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/InvalidORBidHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class InvalidORBidHolder implements org.omg.CORBA.portable.Streamable
{
public com.sun.corba.se.PortableActivationIDL.InvalidORBid value = null;
public InvalidORBidHolder ()
{
}
public InvalidORBidHolder (com.sun.corba.se.PortableActivationIDL.InvalidORBid initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = com.sun.corba.se.PortableActivationIDL.InvalidORBidHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
com.sun.corba.se.PortableActivationIDL.InvalidORBidHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return com.sun.corba.se.PortableActivationIDL.InvalidORBidHelper.type ();
}
}

@ -0,0 +1,13 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/Locator.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public interface Locator extends LocatorOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity
{
} // interface Locator

@ -0,0 +1,85 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/LocatorHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
abstract public class LocatorHelper
{
private static String _id = "IDL:PortableActivationIDL/Locator:1.0";
public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.PortableActivationIDL.Locator that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static com.sun.corba.se.PortableActivationIDL.Locator extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
__typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (com.sun.corba.se.PortableActivationIDL.LocatorHelper.id (), "Locator");
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static com.sun.corba.se.PortableActivationIDL.Locator read (org.omg.CORBA.portable.InputStream istream)
{
return narrow (istream.read_Object (_LocatorStub.class));
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.PortableActivationIDL.Locator value)
{
ostream.write_Object ((org.omg.CORBA.Object) value);
}
public static com.sun.corba.se.PortableActivationIDL.Locator narrow (org.omg.CORBA.Object obj)
{
if (obj == null)
return null;
else if (obj instanceof com.sun.corba.se.PortableActivationIDL.Locator)
return (com.sun.corba.se.PortableActivationIDL.Locator)obj;
else if (!obj._is_a (id ()))
throw new org.omg.CORBA.BAD_PARAM ();
else
{
org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate ();
com.sun.corba.se.PortableActivationIDL._LocatorStub stub = new com.sun.corba.se.PortableActivationIDL._LocatorStub ();
stub._set_delegate(delegate);
return stub;
}
}
public static com.sun.corba.se.PortableActivationIDL.Locator unchecked_narrow (org.omg.CORBA.Object obj)
{
if (obj == null)
return null;
else if (obj instanceof com.sun.corba.se.PortableActivationIDL.Locator)
return (com.sun.corba.se.PortableActivationIDL.Locator)obj;
else
{
org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate ();
com.sun.corba.se.PortableActivationIDL._LocatorStub stub = new com.sun.corba.se.PortableActivationIDL._LocatorStub ();
stub._set_delegate(delegate);
return stub;
}
}
}

@ -0,0 +1,38 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/LocatorHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class LocatorHolder implements org.omg.CORBA.portable.Streamable
{
public com.sun.corba.se.PortableActivationIDL.Locator value = null;
public LocatorHolder ()
{
}
public LocatorHolder (com.sun.corba.se.PortableActivationIDL.Locator initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = com.sun.corba.se.PortableActivationIDL.LocatorHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
com.sun.corba.se.PortableActivationIDL.LocatorHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return com.sun.corba.se.PortableActivationIDL.LocatorHelper.type ();
}
}

@ -0,0 +1,34 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/LocatorOperations.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public interface LocatorOperations
{
/** locate server - returns the port with a specific type for all registered
* ORBs of an active server.
* Starts the server if it is not already running.
*/
com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerType locateServer (String serverId, String endPoint) throws com.sun.corba.se.PortableActivationIDL.NoSuchEndPoint, com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.ServerHeldDown;
/** locate server - returns all ports registered with a specified ORB for
* an active server
* Starts the server if it is not already running.
*/
com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerORB locateServerForORB (String serverId, String orbId) throws com.sun.corba.se.PortableActivationIDL.InvalidORBid, com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.ServerHeldDown;
/** get the port for the endpoint of the locator
*/
int getEndpoint (String endPointType) throws com.sun.corba.se.PortableActivationIDL.NoSuchEndPoint;
/** Useful from external BadServerIdHandlers which need
* to pick a particular port type.
*/
int getServerPortForType (com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerORB location, String endPointType) throws com.sun.corba.se.PortableActivationIDL.NoSuchEndPoint;
} // interface LocatorOperations

@ -0,0 +1,26 @@
package com.sun.corba.se.PortableActivationIDL.LocatorPackage;
/**
* com/sun/corba/se/PortableActivationIDL/LocatorPackage/ServerLocationPerORB.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class ServerLocationPerORB implements org.omg.CORBA.portable.IDLEntity
{
public String hostname = null;
public com.sun.corba.se.PortableActivationIDL.EndPointInfo ports[] = null;
public ServerLocationPerORB ()
{
} // ctor
public ServerLocationPerORB (String _hostname, com.sun.corba.se.PortableActivationIDL.EndPointInfo[] _ports)
{
hostname = _hostname;
ports = _ports;
} // ctor
} // class ServerLocationPerORB

@ -0,0 +1,84 @@
package com.sun.corba.se.PortableActivationIDL.LocatorPackage;
/**
* com/sun/corba/se/PortableActivationIDL/LocatorPackage/ServerLocationPerORBHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
abstract public class ServerLocationPerORBHelper
{
private static String _id = "IDL:PortableActivationIDL/Locator/ServerLocationPerORB:1.0";
public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerORB that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerORB extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
private static boolean __active = false;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
synchronized (org.omg.CORBA.TypeCode.class)
{
if (__typeCode == null)
{
if (__active)
{
return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
}
__active = true;
org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [2];
org.omg.CORBA.TypeCode _tcOf_members0 = null;
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0);
_members0[0] = new org.omg.CORBA.StructMember (
"hostname",
_tcOf_members0,
null);
_tcOf_members0 = com.sun.corba.se.PortableActivationIDL.EndPointInfoHelper.type ();
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_sequence_tc (0, _tcOf_members0);
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (com.sun.corba.se.PortableActivationIDL.EndpointInfoListHelper.id (), "EndpointInfoList", _tcOf_members0);
_members0[1] = new org.omg.CORBA.StructMember (
"ports",
_tcOf_members0,
null);
__typeCode = org.omg.CORBA.ORB.init ().create_struct_tc (com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerORBHelper.id (), "ServerLocationPerORB", _members0);
__active = false;
}
}
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerORB read (org.omg.CORBA.portable.InputStream istream)
{
com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerORB value = new com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerORB ();
value.hostname = istream.read_string ();
value.ports = com.sun.corba.se.PortableActivationIDL.EndpointInfoListHelper.read (istream);
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerORB value)
{
ostream.write_string (value.hostname);
com.sun.corba.se.PortableActivationIDL.EndpointInfoListHelper.write (ostream, value.ports);
}
}

@ -0,0 +1,38 @@
package com.sun.corba.se.PortableActivationIDL.LocatorPackage;
/**
* com/sun/corba/se/PortableActivationIDL/LocatorPackage/ServerLocationPerORBHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class ServerLocationPerORBHolder implements org.omg.CORBA.portable.Streamable
{
public com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerORB value = null;
public ServerLocationPerORBHolder ()
{
}
public ServerLocationPerORBHolder (com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerORB initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerORBHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerORBHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerORBHelper.type ();
}
}

@ -0,0 +1,26 @@
package com.sun.corba.se.PortableActivationIDL.LocatorPackage;
/**
* com/sun/corba/se/PortableActivationIDL/LocatorPackage/ServerLocationPerType.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class ServerLocationPerType implements org.omg.CORBA.portable.IDLEntity
{
public String hostname = null;
public com.sun.corba.se.PortableActivationIDL.ORBPortInfo ports[] = null;
public ServerLocationPerType ()
{
} // ctor
public ServerLocationPerType (String _hostname, com.sun.corba.se.PortableActivationIDL.ORBPortInfo[] _ports)
{
hostname = _hostname;
ports = _ports;
} // ctor
} // class ServerLocationPerType

@ -0,0 +1,84 @@
package com.sun.corba.se.PortableActivationIDL.LocatorPackage;
/**
* com/sun/corba/se/PortableActivationIDL/LocatorPackage/ServerLocationPerTypeHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
abstract public class ServerLocationPerTypeHelper
{
private static String _id = "IDL:PortableActivationIDL/Locator/ServerLocationPerType:1.0";
public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerType that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerType extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
private static boolean __active = false;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
synchronized (org.omg.CORBA.TypeCode.class)
{
if (__typeCode == null)
{
if (__active)
{
return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
}
__active = true;
org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [2];
org.omg.CORBA.TypeCode _tcOf_members0 = null;
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0);
_members0[0] = new org.omg.CORBA.StructMember (
"hostname",
_tcOf_members0,
null);
_tcOf_members0 = com.sun.corba.se.PortableActivationIDL.ORBPortInfoHelper.type ();
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_sequence_tc (0, _tcOf_members0);
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (com.sun.corba.se.PortableActivationIDL.ORBPortInfoListHelper.id (), "ORBPortInfoList", _tcOf_members0);
_members0[1] = new org.omg.CORBA.StructMember (
"ports",
_tcOf_members0,
null);
__typeCode = org.omg.CORBA.ORB.init ().create_struct_tc (com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerTypeHelper.id (), "ServerLocationPerType", _members0);
__active = false;
}
}
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerType read (org.omg.CORBA.portable.InputStream istream)
{
com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerType value = new com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerType ();
value.hostname = istream.read_string ();
value.ports = com.sun.corba.se.PortableActivationIDL.ORBPortInfoListHelper.read (istream);
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerType value)
{
ostream.write_string (value.hostname);
com.sun.corba.se.PortableActivationIDL.ORBPortInfoListHelper.write (ostream, value.ports);
}
}

@ -0,0 +1,38 @@
package com.sun.corba.se.PortableActivationIDL.LocatorPackage;
/**
* com/sun/corba/se/PortableActivationIDL/LocatorPackage/ServerLocationPerTypeHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class ServerLocationPerTypeHolder implements org.omg.CORBA.portable.Streamable
{
public com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerType value = null;
public ServerLocationPerTypeHolder ()
{
}
public ServerLocationPerTypeHolder (com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerType initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerTypeHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerTypeHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerTypeHelper.type ();
}
}

@ -0,0 +1,25 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/NoSuchEndPoint.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class NoSuchEndPoint extends org.omg.CORBA.UserException
{
public NoSuchEndPoint ()
{
super(NoSuchEndPointHelper.id());
} // ctor
public NoSuchEndPoint (String $reason)
{
super(NoSuchEndPointHelper.id() + " " + $reason);
} // ctor
} // class NoSuchEndPoint

@ -0,0 +1,72 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/NoSuchEndPointHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
abstract public class NoSuchEndPointHelper
{
private static String _id = "IDL:PortableActivationIDL/NoSuchEndPoint:1.0";
public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.PortableActivationIDL.NoSuchEndPoint that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static com.sun.corba.se.PortableActivationIDL.NoSuchEndPoint extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
private static boolean __active = false;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
synchronized (org.omg.CORBA.TypeCode.class)
{
if (__typeCode == null)
{
if (__active)
{
return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
}
__active = true;
org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [0];
org.omg.CORBA.TypeCode _tcOf_members0 = null;
__typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (com.sun.corba.se.PortableActivationIDL.NoSuchEndPointHelper.id (), "NoSuchEndPoint", _members0);
__active = false;
}
}
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static com.sun.corba.se.PortableActivationIDL.NoSuchEndPoint read (org.omg.CORBA.portable.InputStream istream)
{
com.sun.corba.se.PortableActivationIDL.NoSuchEndPoint value = new com.sun.corba.se.PortableActivationIDL.NoSuchEndPoint ();
// read and discard the repository ID
istream.read_string ();
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.PortableActivationIDL.NoSuchEndPoint value)
{
// write the repository ID
ostream.write_string (id ());
}
}

@ -0,0 +1,38 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/NoSuchEndPointHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class NoSuchEndPointHolder implements org.omg.CORBA.portable.Streamable
{
public com.sun.corba.se.PortableActivationIDL.NoSuchEndPoint value = null;
public NoSuchEndPointHolder ()
{
}
public NoSuchEndPointHolder (com.sun.corba.se.PortableActivationIDL.NoSuchEndPoint initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = com.sun.corba.se.PortableActivationIDL.NoSuchEndPointHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
com.sun.corba.se.PortableActivationIDL.NoSuchEndPointHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return com.sun.corba.se.PortableActivationIDL.NoSuchEndPointHelper.type ();
}
}

@ -0,0 +1,33 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ORBAlreadyRegistered.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class ORBAlreadyRegistered extends org.omg.CORBA.UserException
{
public String orbId = null;
public ORBAlreadyRegistered ()
{
super(ORBAlreadyRegisteredHelper.id());
} // ctor
public ORBAlreadyRegistered (String _orbId)
{
super(ORBAlreadyRegisteredHelper.id());
orbId = _orbId;
} // ctor
public ORBAlreadyRegistered (String $reason, String _orbId)
{
super(ORBAlreadyRegisteredHelper.id() + " " + $reason);
orbId = _orbId;
} // ctor
} // class ORBAlreadyRegistered

@ -0,0 +1,80 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ORBAlreadyRegisteredHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
abstract public class ORBAlreadyRegisteredHelper
{
private static String _id = "IDL:PortableActivationIDL/ORBAlreadyRegistered:1.0";
public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.PortableActivationIDL.ORBAlreadyRegistered that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static com.sun.corba.se.PortableActivationIDL.ORBAlreadyRegistered extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
private static boolean __active = false;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
synchronized (org.omg.CORBA.TypeCode.class)
{
if (__typeCode == null)
{
if (__active)
{
return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
}
__active = true;
org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [1];
org.omg.CORBA.TypeCode _tcOf_members0 = null;
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0);
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.PortableInterceptor.ORBIdHelper.id (), "ORBId", _tcOf_members0);
_members0[0] = new org.omg.CORBA.StructMember (
"orbId",
_tcOf_members0,
null);
__typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (com.sun.corba.se.PortableActivationIDL.ORBAlreadyRegisteredHelper.id (), "ORBAlreadyRegistered", _members0);
__active = false;
}
}
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static com.sun.corba.se.PortableActivationIDL.ORBAlreadyRegistered read (org.omg.CORBA.portable.InputStream istream)
{
com.sun.corba.se.PortableActivationIDL.ORBAlreadyRegistered value = new com.sun.corba.se.PortableActivationIDL.ORBAlreadyRegistered ();
// read and discard the repository ID
istream.read_string ();
value.orbId = istream.read_string ();
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.PortableActivationIDL.ORBAlreadyRegistered value)
{
// write the repository ID
ostream.write_string (id ());
ostream.write_string (value.orbId);
}
}

@ -0,0 +1,38 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ORBAlreadyRegisteredHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class ORBAlreadyRegisteredHolder implements org.omg.CORBA.portable.Streamable
{
public com.sun.corba.se.PortableActivationIDL.ORBAlreadyRegistered value = null;
public ORBAlreadyRegisteredHolder ()
{
}
public ORBAlreadyRegisteredHolder (com.sun.corba.se.PortableActivationIDL.ORBAlreadyRegistered initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = com.sun.corba.se.PortableActivationIDL.ORBAlreadyRegisteredHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
com.sun.corba.se.PortableActivationIDL.ORBAlreadyRegisteredHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return com.sun.corba.se.PortableActivationIDL.ORBAlreadyRegisteredHelper.type ();
}
}

@ -0,0 +1,26 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ORBPortInfo.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class ORBPortInfo implements org.omg.CORBA.portable.IDLEntity
{
public String orbId = null;
public int port = (int)0;
public ORBPortInfo ()
{
} // ctor
public ORBPortInfo (String _orbId, int _port)
{
orbId = _orbId;
port = _port;
} // ctor
} // class ORBPortInfo

@ -0,0 +1,84 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ORBPortInfoHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
abstract public class ORBPortInfoHelper
{
private static String _id = "IDL:PortableActivationIDL/ORBPortInfo:1.0";
public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.PortableActivationIDL.ORBPortInfo that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static com.sun.corba.se.PortableActivationIDL.ORBPortInfo extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
private static boolean __active = false;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
synchronized (org.omg.CORBA.TypeCode.class)
{
if (__typeCode == null)
{
if (__active)
{
return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
}
__active = true;
org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [2];
org.omg.CORBA.TypeCode _tcOf_members0 = null;
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0);
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.PortableInterceptor.ORBIdHelper.id (), "ORBId", _tcOf_members0);
_members0[0] = new org.omg.CORBA.StructMember (
"orbId",
_tcOf_members0,
null);
_tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_long);
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (com.sun.corba.se.PortableActivationIDL.TCPPortHelper.id (), "TCPPort", _tcOf_members0);
_members0[1] = new org.omg.CORBA.StructMember (
"port",
_tcOf_members0,
null);
__typeCode = org.omg.CORBA.ORB.init ().create_struct_tc (com.sun.corba.se.PortableActivationIDL.ORBPortInfoHelper.id (), "ORBPortInfo", _members0);
__active = false;
}
}
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static com.sun.corba.se.PortableActivationIDL.ORBPortInfo read (org.omg.CORBA.portable.InputStream istream)
{
com.sun.corba.se.PortableActivationIDL.ORBPortInfo value = new com.sun.corba.se.PortableActivationIDL.ORBPortInfo ();
value.orbId = istream.read_string ();
value.port = istream.read_long ();
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.PortableActivationIDL.ORBPortInfo value)
{
ostream.write_string (value.orbId);
ostream.write_long (value.port);
}
}

@ -0,0 +1,38 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ORBPortInfoHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class ORBPortInfoHolder implements org.omg.CORBA.portable.Streamable
{
public com.sun.corba.se.PortableActivationIDL.ORBPortInfo value = null;
public ORBPortInfoHolder ()
{
}
public ORBPortInfoHolder (com.sun.corba.se.PortableActivationIDL.ORBPortInfo initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = com.sun.corba.se.PortableActivationIDL.ORBPortInfoHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
com.sun.corba.se.PortableActivationIDL.ORBPortInfoHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return com.sun.corba.se.PortableActivationIDL.ORBPortInfoHelper.type ();
}
}

@ -0,0 +1,65 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ORBPortInfoListHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
/** A list of ORB and port information for a particular endpoint type.
*/
abstract public class ORBPortInfoListHelper
{
private static String _id = "IDL:PortableActivationIDL/ORBPortInfoList:1.0";
public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.PortableActivationIDL.ORBPortInfo[] that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static com.sun.corba.se.PortableActivationIDL.ORBPortInfo[] extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
__typeCode = com.sun.corba.se.PortableActivationIDL.ORBPortInfoHelper.type ();
__typeCode = org.omg.CORBA.ORB.init ().create_sequence_tc (0, __typeCode);
__typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (com.sun.corba.se.PortableActivationIDL.ORBPortInfoListHelper.id (), "ORBPortInfoList", __typeCode);
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static com.sun.corba.se.PortableActivationIDL.ORBPortInfo[] read (org.omg.CORBA.portable.InputStream istream)
{
com.sun.corba.se.PortableActivationIDL.ORBPortInfo value[] = null;
int _len0 = istream.read_long ();
value = new com.sun.corba.se.PortableActivationIDL.ORBPortInfo[_len0];
for (int _o1 = 0;_o1 < value.length; ++_o1)
value[_o1] = com.sun.corba.se.PortableActivationIDL.ORBPortInfoHelper.read (istream);
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.PortableActivationIDL.ORBPortInfo[] value)
{
ostream.write_long (value.length);
for (int _i0 = 0;_i0 < value.length; ++_i0)
com.sun.corba.se.PortableActivationIDL.ORBPortInfoHelper.write (ostream, value[_i0]);
}
}

@ -0,0 +1,42 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ORBPortInfoListHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
/** A list of ORB and port information for a particular endpoint type.
*/
public final class ORBPortInfoListHolder implements org.omg.CORBA.portable.Streamable
{
public com.sun.corba.se.PortableActivationIDL.ORBPortInfo value[] = null;
public ORBPortInfoListHolder ()
{
}
public ORBPortInfoListHolder (com.sun.corba.se.PortableActivationIDL.ORBPortInfo[] initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = com.sun.corba.se.PortableActivationIDL.ORBPortInfoListHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
com.sun.corba.se.PortableActivationIDL.ORBPortInfoListHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return com.sun.corba.se.PortableActivationIDL.ORBPortInfoListHelper.type ();
}
}

@ -0,0 +1,16 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ORBProxy.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
/** ORB callback interface, passed to Activator in registerORB method.
*/
public interface ORBProxy extends ORBProxyOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity
{
} // interface ORBProxy

@ -0,0 +1,88 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ORBProxyHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
/** ORB callback interface, passed to Activator in registerORB method.
*/
abstract public class ORBProxyHelper
{
private static String _id = "IDL:PortableActivationIDL/ORBProxy:1.0";
public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.PortableActivationIDL.ORBProxy that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static com.sun.corba.se.PortableActivationIDL.ORBProxy extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
__typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (com.sun.corba.se.PortableActivationIDL.ORBProxyHelper.id (), "ORBProxy");
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static com.sun.corba.se.PortableActivationIDL.ORBProxy read (org.omg.CORBA.portable.InputStream istream)
{
return narrow (istream.read_Object (_ORBProxyStub.class));
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.PortableActivationIDL.ORBProxy value)
{
ostream.write_Object ((org.omg.CORBA.Object) value);
}
public static com.sun.corba.se.PortableActivationIDL.ORBProxy narrow (org.omg.CORBA.Object obj)
{
if (obj == null)
return null;
else if (obj instanceof com.sun.corba.se.PortableActivationIDL.ORBProxy)
return (com.sun.corba.se.PortableActivationIDL.ORBProxy)obj;
else if (!obj._is_a (id ()))
throw new org.omg.CORBA.BAD_PARAM ();
else
{
org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate ();
com.sun.corba.se.PortableActivationIDL._ORBProxyStub stub = new com.sun.corba.se.PortableActivationIDL._ORBProxyStub ();
stub._set_delegate(delegate);
return stub;
}
}
public static com.sun.corba.se.PortableActivationIDL.ORBProxy unchecked_narrow (org.omg.CORBA.Object obj)
{
if (obj == null)
return null;
else if (obj instanceof com.sun.corba.se.PortableActivationIDL.ORBProxy)
return (com.sun.corba.se.PortableActivationIDL.ORBProxy)obj;
else
{
org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate ();
com.sun.corba.se.PortableActivationIDL._ORBProxyStub stub = new com.sun.corba.se.PortableActivationIDL._ORBProxyStub ();
stub._set_delegate(delegate);
return stub;
}
}
}

@ -0,0 +1,41 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ORBProxyHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
/** ORB callback interface, passed to Activator in registerORB method.
*/
public final class ORBProxyHolder implements org.omg.CORBA.portable.Streamable
{
public com.sun.corba.se.PortableActivationIDL.ORBProxy value = null;
public ORBProxyHolder ()
{
}
public ORBProxyHolder (com.sun.corba.se.PortableActivationIDL.ORBProxy initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = com.sun.corba.se.PortableActivationIDL.ORBProxyHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
com.sun.corba.se.PortableActivationIDL.ORBProxyHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return com.sun.corba.se.PortableActivationIDL.ORBProxyHelper.type ();
}
}

@ -0,0 +1,24 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ORBProxyOperations.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
/** ORB callback interface, passed to Activator in registerORB method.
*/
public interface ORBProxyOperations
{
/** Method used to cause ORB to activate the named adapter, if possible.
* This will cause the named POA to register itself with the activator as
* a side effect. This should always happen before this call can complete.
* This method returns true if adapter activation succeeded, otherwise it
* returns false.
*/
boolean activate_adapter (String[] name);
} // interface ORBProxyOperations

@ -0,0 +1,66 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ORBidListHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
/** A list of ORB IDs.
*/
abstract public class ORBidListHelper
{
private static String _id = "IDL:PortableActivationIDL/ORBidList:1.0";
public static void insert (org.omg.CORBA.Any a, String[] that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static String[] extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
__typeCode = org.omg.CORBA.ORB.init ().create_string_tc (0);
__typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.PortableInterceptor.ORBIdHelper.id (), "ORBId", __typeCode);
__typeCode = org.omg.CORBA.ORB.init ().create_sequence_tc (0, __typeCode);
__typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (com.sun.corba.se.PortableActivationIDL.ORBidListHelper.id (), "ORBidList", __typeCode);
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static String[] read (org.omg.CORBA.portable.InputStream istream)
{
String value[] = null;
int _len0 = istream.read_long ();
value = new String[_len0];
for (int _o1 = 0;_o1 < value.length; ++_o1)
value[_o1] = org.omg.PortableInterceptor.ORBIdHelper.read (istream);
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, String[] value)
{
ostream.write_long (value.length);
for (int _i0 = 0;_i0 < value.length; ++_i0)
org.omg.PortableInterceptor.ORBIdHelper.write (ostream, value[_i0]);
}
}

@ -0,0 +1,42 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ORBidListHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
/** A list of ORB IDs.
*/
public final class ORBidListHolder implements org.omg.CORBA.portable.Streamable
{
public String value[] = null;
public ORBidListHolder ()
{
}
public ORBidListHolder (String[] initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = com.sun.corba.se.PortableActivationIDL.ORBidListHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
com.sun.corba.se.PortableActivationIDL.ORBidListHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return com.sun.corba.se.PortableActivationIDL.ORBidListHelper.type ();
}
}

@ -0,0 +1,13 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/Repository.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public interface Repository extends RepositoryOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity
{
} // interface Repository

@ -0,0 +1,85 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/RepositoryHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
abstract public class RepositoryHelper
{
private static String _id = "IDL:PortableActivationIDL/Repository:1.0";
public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.PortableActivationIDL.Repository that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static com.sun.corba.se.PortableActivationIDL.Repository extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
__typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (com.sun.corba.se.PortableActivationIDL.RepositoryHelper.id (), "Repository");
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static com.sun.corba.se.PortableActivationIDL.Repository read (org.omg.CORBA.portable.InputStream istream)
{
return narrow (istream.read_Object (_RepositoryStub.class));
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.PortableActivationIDL.Repository value)
{
ostream.write_Object ((org.omg.CORBA.Object) value);
}
public static com.sun.corba.se.PortableActivationIDL.Repository narrow (org.omg.CORBA.Object obj)
{
if (obj == null)
return null;
else if (obj instanceof com.sun.corba.se.PortableActivationIDL.Repository)
return (com.sun.corba.se.PortableActivationIDL.Repository)obj;
else if (!obj._is_a (id ()))
throw new org.omg.CORBA.BAD_PARAM ();
else
{
org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate ();
com.sun.corba.se.PortableActivationIDL._RepositoryStub stub = new com.sun.corba.se.PortableActivationIDL._RepositoryStub ();
stub._set_delegate(delegate);
return stub;
}
}
public static com.sun.corba.se.PortableActivationIDL.Repository unchecked_narrow (org.omg.CORBA.Object obj)
{
if (obj == null)
return null;
else if (obj instanceof com.sun.corba.se.PortableActivationIDL.Repository)
return (com.sun.corba.se.PortableActivationIDL.Repository)obj;
else
{
org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate ();
com.sun.corba.se.PortableActivationIDL._RepositoryStub stub = new com.sun.corba.se.PortableActivationIDL._RepositoryStub ();
stub._set_delegate(delegate);
return stub;
}
}
}

@ -0,0 +1,38 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/RepositoryHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class RepositoryHolder implements org.omg.CORBA.portable.Streamable
{
public com.sun.corba.se.PortableActivationIDL.Repository value = null;
public RepositoryHolder ()
{
}
public RepositoryHolder (com.sun.corba.se.PortableActivationIDL.Repository initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = com.sun.corba.se.PortableActivationIDL.RepositoryHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
com.sun.corba.se.PortableActivationIDL.RepositoryHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return com.sun.corba.se.PortableActivationIDL.RepositoryHelper.type ();
}
}

@ -0,0 +1,54 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/RepositoryOperations.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public interface RepositoryOperations
{
/** register server definition.
* This returns the serverId of the server. A newly created server is
* always uninstalled.
*/
String registerServer (com.sun.corba.se.PortableActivationIDL.RepositoryPackage.ServerDef serverDef) throws com.sun.corba.se.PortableActivationIDL.ServerAlreadyRegistered, com.sun.corba.se.PortableActivationIDL.BadServerDefinition;
/** unregister server definition
*/
void unregisterServer (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered;
/** get server definition
*/
com.sun.corba.se.PortableActivationIDL.RepositoryPackage.ServerDef getServer (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered;
/** Return whether the server has been installed
*/
boolean isInstalled (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered;
/** Mark the server as being installed. Raises ServerAlreadyInstalled
* if the server is currently marked as installed.
*/
void install (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.ServerAlreadyInstalled;
/** Mark the server as being uninstalled. Raises ServerAlreadyUninstalled
* if the server is currently marked as uninstalled.
*/
void uninstall (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.ServerAlreadyUninstalled;
/** list registered servers
*/
String[] listRegisteredServers ();
/** Returns list of ALL applicationNames defined in ServerDefs of registered
* servers.
*/
String[] getApplicationNames ();
/** Find the ServerID associated with the given application name.
*/
String getServerID (String applicationName) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered;
} // interface RepositoryOperations

@ -0,0 +1,65 @@
package com.sun.corba.se.PortableActivationIDL.RepositoryPackage;
/**
* com/sun/corba/se/PortableActivationIDL/RepositoryPackage/AppNamesHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
/** Type used for a list of application names
*/
abstract public class AppNamesHelper
{
private static String _id = "IDL:PortableActivationIDL/Repository/AppNames:1.0";
public static void insert (org.omg.CORBA.Any a, String[] that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static String[] extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
__typeCode = org.omg.CORBA.ORB.init ().create_string_tc (0);
__typeCode = org.omg.CORBA.ORB.init ().create_sequence_tc (0, __typeCode);
__typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (com.sun.corba.se.PortableActivationIDL.RepositoryPackage.AppNamesHelper.id (), "AppNames", __typeCode);
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static String[] read (org.omg.CORBA.portable.InputStream istream)
{
String value[] = null;
int _len0 = istream.read_long ();
value = new String[_len0];
for (int _o1 = 0;_o1 < value.length; ++_o1)
value[_o1] = istream.read_string ();
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, String[] value)
{
ostream.write_long (value.length);
for (int _i0 = 0;_i0 < value.length; ++_i0)
ostream.write_string (value[_i0]);
}
}

@ -0,0 +1,42 @@
package com.sun.corba.se.PortableActivationIDL.RepositoryPackage;
/**
* com/sun/corba/se/PortableActivationIDL/RepositoryPackage/AppNamesHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
/** Type used for a list of application names
*/
public final class AppNamesHolder implements org.omg.CORBA.portable.Streamable
{
public String value[] = null;
public AppNamesHolder ()
{
}
public AppNamesHolder (String[] initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = com.sun.corba.se.PortableActivationIDL.RepositoryPackage.AppNamesHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
com.sun.corba.se.PortableActivationIDL.RepositoryPackage.AppNamesHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return com.sun.corba.se.PortableActivationIDL.RepositoryPackage.AppNamesHelper.type ();
}
}

@ -0,0 +1,44 @@
package com.sun.corba.se.PortableActivationIDL.RepositoryPackage;
/**
* com/sun/corba/se/PortableActivationIDL/RepositoryPackage/ServerDef.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class ServerDef implements org.omg.CORBA.portable.IDLEntity
{
public String applicationName = null;
// serverName values.
public String serverName = null;
// Class name of server's main class.
public String serverClassPath = null;
// class path used to run the server.
public String serverArgs = null;
// arguments passed to the server
public String serverVmArgs = null;
// arguments passed to the server's Java VM1
public boolean isInstalled = false;
public ServerDef ()
{
} // ctor
public ServerDef (String _applicationName, String _serverName, String _serverClassPath, String _serverArgs, String _serverVmArgs, boolean _isInstalled)
{
applicationName = _applicationName;
serverName = _serverName;
serverClassPath = _serverClassPath;
serverArgs = _serverArgs;
serverVmArgs = _serverVmArgs;
isInstalled = _isInstalled;
} // ctor
} // class ServerDef

@ -0,0 +1,110 @@
package com.sun.corba.se.PortableActivationIDL.RepositoryPackage;
/**
* com/sun/corba/se/PortableActivationIDL/RepositoryPackage/ServerDefHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
abstract public class ServerDefHelper
{
private static String _id = "IDL:PortableActivationIDL/Repository/ServerDef:1.0";
public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.PortableActivationIDL.RepositoryPackage.ServerDef that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static com.sun.corba.se.PortableActivationIDL.RepositoryPackage.ServerDef extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
private static boolean __active = false;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
synchronized (org.omg.CORBA.TypeCode.class)
{
if (__typeCode == null)
{
if (__active)
{
return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
}
__active = true;
org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [6];
org.omg.CORBA.TypeCode _tcOf_members0 = null;
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0);
_members0[0] = new org.omg.CORBA.StructMember (
"applicationName",
_tcOf_members0,
null);
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0);
_members0[1] = new org.omg.CORBA.StructMember (
"serverName",
_tcOf_members0,
null);
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0);
_members0[2] = new org.omg.CORBA.StructMember (
"serverClassPath",
_tcOf_members0,
null);
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0);
_members0[3] = new org.omg.CORBA.StructMember (
"serverArgs",
_tcOf_members0,
null);
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0);
_members0[4] = new org.omg.CORBA.StructMember (
"serverVmArgs",
_tcOf_members0,
null);
_tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_boolean);
_members0[5] = new org.omg.CORBA.StructMember (
"isInstalled",
_tcOf_members0,
null);
__typeCode = org.omg.CORBA.ORB.init ().create_struct_tc (com.sun.corba.se.PortableActivationIDL.RepositoryPackage.ServerDefHelper.id (), "ServerDef", _members0);
__active = false;
}
}
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static com.sun.corba.se.PortableActivationIDL.RepositoryPackage.ServerDef read (org.omg.CORBA.portable.InputStream istream)
{
com.sun.corba.se.PortableActivationIDL.RepositoryPackage.ServerDef value = new com.sun.corba.se.PortableActivationIDL.RepositoryPackage.ServerDef ();
value.applicationName = istream.read_string ();
value.serverName = istream.read_string ();
value.serverClassPath = istream.read_string ();
value.serverArgs = istream.read_string ();
value.serverVmArgs = istream.read_string ();
value.isInstalled = istream.read_boolean ();
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.PortableActivationIDL.RepositoryPackage.ServerDef value)
{
ostream.write_string (value.applicationName);
ostream.write_string (value.serverName);
ostream.write_string (value.serverClassPath);
ostream.write_string (value.serverArgs);
ostream.write_string (value.serverVmArgs);
ostream.write_boolean (value.isInstalled);
}
}

@ -0,0 +1,38 @@
package com.sun.corba.se.PortableActivationIDL.RepositoryPackage;
/**
* com/sun/corba/se/PortableActivationIDL/RepositoryPackage/ServerDefHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class ServerDefHolder implements org.omg.CORBA.portable.Streamable
{
public com.sun.corba.se.PortableActivationIDL.RepositoryPackage.ServerDef value = null;
public ServerDefHolder ()
{
}
public ServerDefHolder (com.sun.corba.se.PortableActivationIDL.RepositoryPackage.ServerDef initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = com.sun.corba.se.PortableActivationIDL.RepositoryPackage.ServerDefHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
com.sun.corba.se.PortableActivationIDL.RepositoryPackage.ServerDefHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return com.sun.corba.se.PortableActivationIDL.RepositoryPackage.ServerDefHelper.type ();
}
}

@ -0,0 +1,33 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ServerAlreadyActive.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class ServerAlreadyActive extends org.omg.CORBA.UserException
{
public String serverId = null;
public ServerAlreadyActive ()
{
super(ServerAlreadyActiveHelper.id());
} // ctor
public ServerAlreadyActive (String _serverId)
{
super(ServerAlreadyActiveHelper.id());
serverId = _serverId;
} // ctor
public ServerAlreadyActive (String $reason, String _serverId)
{
super(ServerAlreadyActiveHelper.id() + " " + $reason);
serverId = _serverId;
} // ctor
} // class ServerAlreadyActive

@ -0,0 +1,80 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ServerAlreadyActiveHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
abstract public class ServerAlreadyActiveHelper
{
private static String _id = "IDL:PortableActivationIDL/ServerAlreadyActive:1.0";
public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.PortableActivationIDL.ServerAlreadyActive that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static com.sun.corba.se.PortableActivationIDL.ServerAlreadyActive extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
private static boolean __active = false;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
synchronized (org.omg.CORBA.TypeCode.class)
{
if (__typeCode == null)
{
if (__active)
{
return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
}
__active = true;
org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [1];
org.omg.CORBA.TypeCode _tcOf_members0 = null;
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0);
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.PortableInterceptor.ServerIdHelper.id (), "ServerId", _tcOf_members0);
_members0[0] = new org.omg.CORBA.StructMember (
"serverId",
_tcOf_members0,
null);
__typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (com.sun.corba.se.PortableActivationIDL.ServerAlreadyActiveHelper.id (), "ServerAlreadyActive", _members0);
__active = false;
}
}
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static com.sun.corba.se.PortableActivationIDL.ServerAlreadyActive read (org.omg.CORBA.portable.InputStream istream)
{
com.sun.corba.se.PortableActivationIDL.ServerAlreadyActive value = new com.sun.corba.se.PortableActivationIDL.ServerAlreadyActive ();
// read and discard the repository ID
istream.read_string ();
value.serverId = istream.read_string ();
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.PortableActivationIDL.ServerAlreadyActive value)
{
// write the repository ID
ostream.write_string (id ());
ostream.write_string (value.serverId);
}
}

@ -0,0 +1,38 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ServerAlreadyActiveHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class ServerAlreadyActiveHolder implements org.omg.CORBA.portable.Streamable
{
public com.sun.corba.se.PortableActivationIDL.ServerAlreadyActive value = null;
public ServerAlreadyActiveHolder ()
{
}
public ServerAlreadyActiveHolder (com.sun.corba.se.PortableActivationIDL.ServerAlreadyActive initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = com.sun.corba.se.PortableActivationIDL.ServerAlreadyActiveHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
com.sun.corba.se.PortableActivationIDL.ServerAlreadyActiveHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return com.sun.corba.se.PortableActivationIDL.ServerAlreadyActiveHelper.type ();
}
}

@ -0,0 +1,33 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ServerAlreadyInstalled.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class ServerAlreadyInstalled extends org.omg.CORBA.UserException
{
public String serverId = null;
public ServerAlreadyInstalled ()
{
super(ServerAlreadyInstalledHelper.id());
} // ctor
public ServerAlreadyInstalled (String _serverId)
{
super(ServerAlreadyInstalledHelper.id());
serverId = _serverId;
} // ctor
public ServerAlreadyInstalled (String $reason, String _serverId)
{
super(ServerAlreadyInstalledHelper.id() + " " + $reason);
serverId = _serverId;
} // ctor
} // class ServerAlreadyInstalled

@ -0,0 +1,80 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ServerAlreadyInstalledHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
abstract public class ServerAlreadyInstalledHelper
{
private static String _id = "IDL:PortableActivationIDL/ServerAlreadyInstalled:1.0";
public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.PortableActivationIDL.ServerAlreadyInstalled that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static com.sun.corba.se.PortableActivationIDL.ServerAlreadyInstalled extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
private static boolean __active = false;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
synchronized (org.omg.CORBA.TypeCode.class)
{
if (__typeCode == null)
{
if (__active)
{
return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
}
__active = true;
org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [1];
org.omg.CORBA.TypeCode _tcOf_members0 = null;
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0);
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.PortableInterceptor.ServerIdHelper.id (), "ServerId", _tcOf_members0);
_members0[0] = new org.omg.CORBA.StructMember (
"serverId",
_tcOf_members0,
null);
__typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (com.sun.corba.se.PortableActivationIDL.ServerAlreadyInstalledHelper.id (), "ServerAlreadyInstalled", _members0);
__active = false;
}
}
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static com.sun.corba.se.PortableActivationIDL.ServerAlreadyInstalled read (org.omg.CORBA.portable.InputStream istream)
{
com.sun.corba.se.PortableActivationIDL.ServerAlreadyInstalled value = new com.sun.corba.se.PortableActivationIDL.ServerAlreadyInstalled ();
// read and discard the repository ID
istream.read_string ();
value.serverId = istream.read_string ();
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.PortableActivationIDL.ServerAlreadyInstalled value)
{
// write the repository ID
ostream.write_string (id ());
ostream.write_string (value.serverId);
}
}

@ -0,0 +1,38 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ServerAlreadyInstalledHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class ServerAlreadyInstalledHolder implements org.omg.CORBA.portable.Streamable
{
public com.sun.corba.se.PortableActivationIDL.ServerAlreadyInstalled value = null;
public ServerAlreadyInstalledHolder ()
{
}
public ServerAlreadyInstalledHolder (com.sun.corba.se.PortableActivationIDL.ServerAlreadyInstalled initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = com.sun.corba.se.PortableActivationIDL.ServerAlreadyInstalledHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
com.sun.corba.se.PortableActivationIDL.ServerAlreadyInstalledHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return com.sun.corba.se.PortableActivationIDL.ServerAlreadyInstalledHelper.type ();
}
}

@ -0,0 +1,33 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ServerAlreadyRegistered.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class ServerAlreadyRegistered extends org.omg.CORBA.UserException
{
public String serverId = null;
public ServerAlreadyRegistered ()
{
super(ServerAlreadyRegisteredHelper.id());
} // ctor
public ServerAlreadyRegistered (String _serverId)
{
super(ServerAlreadyRegisteredHelper.id());
serverId = _serverId;
} // ctor
public ServerAlreadyRegistered (String $reason, String _serverId)
{
super(ServerAlreadyRegisteredHelper.id() + " " + $reason);
serverId = _serverId;
} // ctor
} // class ServerAlreadyRegistered

@ -0,0 +1,80 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ServerAlreadyRegisteredHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
abstract public class ServerAlreadyRegisteredHelper
{
private static String _id = "IDL:PortableActivationIDL/ServerAlreadyRegistered:1.0";
public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.PortableActivationIDL.ServerAlreadyRegistered that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static com.sun.corba.se.PortableActivationIDL.ServerAlreadyRegistered extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
private static boolean __active = false;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
synchronized (org.omg.CORBA.TypeCode.class)
{
if (__typeCode == null)
{
if (__active)
{
return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
}
__active = true;
org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [1];
org.omg.CORBA.TypeCode _tcOf_members0 = null;
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0);
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.PortableInterceptor.ServerIdHelper.id (), "ServerId", _tcOf_members0);
_members0[0] = new org.omg.CORBA.StructMember (
"serverId",
_tcOf_members0,
null);
__typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (com.sun.corba.se.PortableActivationIDL.ServerAlreadyRegisteredHelper.id (), "ServerAlreadyRegistered", _members0);
__active = false;
}
}
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static com.sun.corba.se.PortableActivationIDL.ServerAlreadyRegistered read (org.omg.CORBA.portable.InputStream istream)
{
com.sun.corba.se.PortableActivationIDL.ServerAlreadyRegistered value = new com.sun.corba.se.PortableActivationIDL.ServerAlreadyRegistered ();
// read and discard the repository ID
istream.read_string ();
value.serverId = istream.read_string ();
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.PortableActivationIDL.ServerAlreadyRegistered value)
{
// write the repository ID
ostream.write_string (id ());
ostream.write_string (value.serverId);
}
}

@ -0,0 +1,38 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ServerAlreadyRegisteredHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class ServerAlreadyRegisteredHolder implements org.omg.CORBA.portable.Streamable
{
public com.sun.corba.se.PortableActivationIDL.ServerAlreadyRegistered value = null;
public ServerAlreadyRegisteredHolder ()
{
}
public ServerAlreadyRegisteredHolder (com.sun.corba.se.PortableActivationIDL.ServerAlreadyRegistered initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = com.sun.corba.se.PortableActivationIDL.ServerAlreadyRegisteredHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
com.sun.corba.se.PortableActivationIDL.ServerAlreadyRegisteredHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return com.sun.corba.se.PortableActivationIDL.ServerAlreadyRegisteredHelper.type ();
}
}

@ -0,0 +1,33 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ServerAlreadyUninstalled.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class ServerAlreadyUninstalled extends org.omg.CORBA.UserException
{
public String serverId = null;
public ServerAlreadyUninstalled ()
{
super(ServerAlreadyUninstalledHelper.id());
} // ctor
public ServerAlreadyUninstalled (String _serverId)
{
super(ServerAlreadyUninstalledHelper.id());
serverId = _serverId;
} // ctor
public ServerAlreadyUninstalled (String $reason, String _serverId)
{
super(ServerAlreadyUninstalledHelper.id() + " " + $reason);
serverId = _serverId;
} // ctor
} // class ServerAlreadyUninstalled

@ -0,0 +1,80 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ServerAlreadyUninstalledHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
abstract public class ServerAlreadyUninstalledHelper
{
private static String _id = "IDL:PortableActivationIDL/ServerAlreadyUninstalled:1.0";
public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.PortableActivationIDL.ServerAlreadyUninstalled that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static com.sun.corba.se.PortableActivationIDL.ServerAlreadyUninstalled extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
private static boolean __active = false;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
synchronized (org.omg.CORBA.TypeCode.class)
{
if (__typeCode == null)
{
if (__active)
{
return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
}
__active = true;
org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [1];
org.omg.CORBA.TypeCode _tcOf_members0 = null;
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0);
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.PortableInterceptor.ServerIdHelper.id (), "ServerId", _tcOf_members0);
_members0[0] = new org.omg.CORBA.StructMember (
"serverId",
_tcOf_members0,
null);
__typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (com.sun.corba.se.PortableActivationIDL.ServerAlreadyUninstalledHelper.id (), "ServerAlreadyUninstalled", _members0);
__active = false;
}
}
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static com.sun.corba.se.PortableActivationIDL.ServerAlreadyUninstalled read (org.omg.CORBA.portable.InputStream istream)
{
com.sun.corba.se.PortableActivationIDL.ServerAlreadyUninstalled value = new com.sun.corba.se.PortableActivationIDL.ServerAlreadyUninstalled ();
// read and discard the repository ID
istream.read_string ();
value.serverId = istream.read_string ();
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.PortableActivationIDL.ServerAlreadyUninstalled value)
{
// write the repository ID
ostream.write_string (id ());
ostream.write_string (value.serverId);
}
}

@ -0,0 +1,38 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ServerAlreadyUninstalledHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class ServerAlreadyUninstalledHolder implements org.omg.CORBA.portable.Streamable
{
public com.sun.corba.se.PortableActivationIDL.ServerAlreadyUninstalled value = null;
public ServerAlreadyUninstalledHolder ()
{
}
public ServerAlreadyUninstalledHolder (com.sun.corba.se.PortableActivationIDL.ServerAlreadyUninstalled initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = com.sun.corba.se.PortableActivationIDL.ServerAlreadyUninstalledHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
com.sun.corba.se.PortableActivationIDL.ServerAlreadyUninstalledHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return com.sun.corba.se.PortableActivationIDL.ServerAlreadyUninstalledHelper.type ();
}
}

@ -0,0 +1,33 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ServerHeldDown.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class ServerHeldDown extends org.omg.CORBA.UserException
{
public String serverId = null;
public ServerHeldDown ()
{
super(ServerHeldDownHelper.id());
} // ctor
public ServerHeldDown (String _serverId)
{
super(ServerHeldDownHelper.id());
serverId = _serverId;
} // ctor
public ServerHeldDown (String $reason, String _serverId)
{
super(ServerHeldDownHelper.id() + " " + $reason);
serverId = _serverId;
} // ctor
} // class ServerHeldDown

@ -0,0 +1,80 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ServerHeldDownHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
abstract public class ServerHeldDownHelper
{
private static String _id = "IDL:PortableActivationIDL/ServerHeldDown:1.0";
public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.PortableActivationIDL.ServerHeldDown that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static com.sun.corba.se.PortableActivationIDL.ServerHeldDown extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
private static boolean __active = false;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
synchronized (org.omg.CORBA.TypeCode.class)
{
if (__typeCode == null)
{
if (__active)
{
return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
}
__active = true;
org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [1];
org.omg.CORBA.TypeCode _tcOf_members0 = null;
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0);
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.PortableInterceptor.ServerIdHelper.id (), "ServerId", _tcOf_members0);
_members0[0] = new org.omg.CORBA.StructMember (
"serverId",
_tcOf_members0,
null);
__typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (com.sun.corba.se.PortableActivationIDL.ServerHeldDownHelper.id (), "ServerHeldDown", _members0);
__active = false;
}
}
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static com.sun.corba.se.PortableActivationIDL.ServerHeldDown read (org.omg.CORBA.portable.InputStream istream)
{
com.sun.corba.se.PortableActivationIDL.ServerHeldDown value = new com.sun.corba.se.PortableActivationIDL.ServerHeldDown ();
// read and discard the repository ID
istream.read_string ();
value.serverId = istream.read_string ();
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.PortableActivationIDL.ServerHeldDown value)
{
// write the repository ID
ostream.write_string (id ());
ostream.write_string (value.serverId);
}
}

@ -0,0 +1,38 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ServerHeldDownHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class ServerHeldDownHolder implements org.omg.CORBA.portable.Streamable
{
public com.sun.corba.se.PortableActivationIDL.ServerHeldDown value = null;
public ServerHeldDownHolder ()
{
}
public ServerHeldDownHolder (com.sun.corba.se.PortableActivationIDL.ServerHeldDown initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = com.sun.corba.se.PortableActivationIDL.ServerHeldDownHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
com.sun.corba.se.PortableActivationIDL.ServerHeldDownHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return com.sun.corba.se.PortableActivationIDL.ServerHeldDownHelper.type ();
}
}

@ -0,0 +1,66 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ServerIdsHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
/** Sequence of server Ids, used for queries about servers.
*/
abstract public class ServerIdsHelper
{
private static String _id = "IDL:PortableActivationIDL/ServerIds:1.0";
public static void insert (org.omg.CORBA.Any a, String[] that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static String[] extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
__typeCode = org.omg.CORBA.ORB.init ().create_string_tc (0);
__typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.PortableInterceptor.ServerIdHelper.id (), "ServerId", __typeCode);
__typeCode = org.omg.CORBA.ORB.init ().create_sequence_tc (0, __typeCode);
__typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (com.sun.corba.se.PortableActivationIDL.ServerIdsHelper.id (), "ServerIds", __typeCode);
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static String[] read (org.omg.CORBA.portable.InputStream istream)
{
String value[] = null;
int _len0 = istream.read_long ();
value = new String[_len0];
for (int _o1 = 0;_o1 < value.length; ++_o1)
value[_o1] = org.omg.PortableInterceptor.ServerIdHelper.read (istream);
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, String[] value)
{
ostream.write_long (value.length);
for (int _i0 = 0;_i0 < value.length; ++_i0)
org.omg.PortableInterceptor.ServerIdHelper.write (ostream, value[_i0]);
}
}

@ -0,0 +1,42 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ServerIdsHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
/** Sequence of server Ids, used for queries about servers.
*/
public final class ServerIdsHolder implements org.omg.CORBA.portable.Streamable
{
public String value[] = null;
public ServerIdsHolder ()
{
}
public ServerIdsHolder (String[] initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = com.sun.corba.se.PortableActivationIDL.ServerIdsHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
com.sun.corba.se.PortableActivationIDL.ServerIdsHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return com.sun.corba.se.PortableActivationIDL.ServerIdsHelper.type ();
}
}

@ -0,0 +1,18 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ServerManager.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
/** Interface used to combine the Activator and Locator when both are
* implemented together in the same process, as is currently the case
* for our implementation.
*/
public interface ServerManager extends ServerManagerOperations, com.sun.corba.se.PortableActivationIDL.Activator, com.sun.corba.se.PortableActivationIDL.Locator
{
} // interface ServerManager

@ -0,0 +1,90 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ServerManagerHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
/** Interface used to combine the Activator and Locator when both are
* implemented together in the same process, as is currently the case
* for our implementation.
*/
abstract public class ServerManagerHelper
{
private static String _id = "IDL:PortableActivationIDL/ServerManager:1.0";
public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.PortableActivationIDL.ServerManager that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static com.sun.corba.se.PortableActivationIDL.ServerManager extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
__typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (com.sun.corba.se.PortableActivationIDL.ServerManagerHelper.id (), "ServerManager");
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static com.sun.corba.se.PortableActivationIDL.ServerManager read (org.omg.CORBA.portable.InputStream istream)
{
return narrow (istream.read_Object (_ServerManagerStub.class));
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.PortableActivationIDL.ServerManager value)
{
ostream.write_Object ((org.omg.CORBA.Object) value);
}
public static com.sun.corba.se.PortableActivationIDL.ServerManager narrow (org.omg.CORBA.Object obj)
{
if (obj == null)
return null;
else if (obj instanceof com.sun.corba.se.PortableActivationIDL.ServerManager)
return (com.sun.corba.se.PortableActivationIDL.ServerManager)obj;
else if (!obj._is_a (id ()))
throw new org.omg.CORBA.BAD_PARAM ();
else
{
org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate ();
com.sun.corba.se.PortableActivationIDL._ServerManagerStub stub = new com.sun.corba.se.PortableActivationIDL._ServerManagerStub ();
stub._set_delegate(delegate);
return stub;
}
}
public static com.sun.corba.se.PortableActivationIDL.ServerManager unchecked_narrow (org.omg.CORBA.Object obj)
{
if (obj == null)
return null;
else if (obj instanceof com.sun.corba.se.PortableActivationIDL.ServerManager)
return (com.sun.corba.se.PortableActivationIDL.ServerManager)obj;
else
{
org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate ();
com.sun.corba.se.PortableActivationIDL._ServerManagerStub stub = new com.sun.corba.se.PortableActivationIDL._ServerManagerStub ();
stub._set_delegate(delegate);
return stub;
}
}
}

@ -0,0 +1,43 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ServerManagerHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
/** Interface used to combine the Activator and Locator when both are
* implemented together in the same process, as is currently the case
* for our implementation.
*/
public final class ServerManagerHolder implements org.omg.CORBA.portable.Streamable
{
public com.sun.corba.se.PortableActivationIDL.ServerManager value = null;
public ServerManagerHolder ()
{
}
public ServerManagerHolder (com.sun.corba.se.PortableActivationIDL.ServerManager initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = com.sun.corba.se.PortableActivationIDL.ServerManagerHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
com.sun.corba.se.PortableActivationIDL.ServerManagerHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return com.sun.corba.se.PortableActivationIDL.ServerManagerHelper.type ();
}
}

@ -0,0 +1,18 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ServerManagerOperations.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
/** Interface used to combine the Activator and Locator when both are
* implemented together in the same process, as is currently the case
* for our implementation.
*/
public interface ServerManagerOperations extends com.sun.corba.se.PortableActivationIDL.ActivatorOperations, com.sun.corba.se.PortableActivationIDL.LocatorOperations
{
} // interface ServerManagerOperations

@ -0,0 +1,33 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ServerNotActive.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class ServerNotActive extends org.omg.CORBA.UserException
{
public String serverId = null;
public ServerNotActive ()
{
super(ServerNotActiveHelper.id());
} // ctor
public ServerNotActive (String _serverId)
{
super(ServerNotActiveHelper.id());
serverId = _serverId;
} // ctor
public ServerNotActive (String $reason, String _serverId)
{
super(ServerNotActiveHelper.id() + " " + $reason);
serverId = _serverId;
} // ctor
} // class ServerNotActive

@ -0,0 +1,80 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ServerNotActiveHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
abstract public class ServerNotActiveHelper
{
private static String _id = "IDL:PortableActivationIDL/ServerNotActive:1.0";
public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.PortableActivationIDL.ServerNotActive that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static com.sun.corba.se.PortableActivationIDL.ServerNotActive extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
private static boolean __active = false;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
synchronized (org.omg.CORBA.TypeCode.class)
{
if (__typeCode == null)
{
if (__active)
{
return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
}
__active = true;
org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [1];
org.omg.CORBA.TypeCode _tcOf_members0 = null;
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0);
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.PortableInterceptor.ServerIdHelper.id (), "ServerId", _tcOf_members0);
_members0[0] = new org.omg.CORBA.StructMember (
"serverId",
_tcOf_members0,
null);
__typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (com.sun.corba.se.PortableActivationIDL.ServerNotActiveHelper.id (), "ServerNotActive", _members0);
__active = false;
}
}
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static com.sun.corba.se.PortableActivationIDL.ServerNotActive read (org.omg.CORBA.portable.InputStream istream)
{
com.sun.corba.se.PortableActivationIDL.ServerNotActive value = new com.sun.corba.se.PortableActivationIDL.ServerNotActive ();
// read and discard the repository ID
istream.read_string ();
value.serverId = istream.read_string ();
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.PortableActivationIDL.ServerNotActive value)
{
// write the repository ID
ostream.write_string (id ());
ostream.write_string (value.serverId);
}
}

@ -0,0 +1,38 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ServerNotActiveHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class ServerNotActiveHolder implements org.omg.CORBA.portable.Streamable
{
public com.sun.corba.se.PortableActivationIDL.ServerNotActive value = null;
public ServerNotActiveHolder ()
{
}
public ServerNotActiveHolder (com.sun.corba.se.PortableActivationIDL.ServerNotActive initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = com.sun.corba.se.PortableActivationIDL.ServerNotActiveHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
com.sun.corba.se.PortableActivationIDL.ServerNotActiveHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return com.sun.corba.se.PortableActivationIDL.ServerNotActiveHelper.type ();
}
}

@ -0,0 +1,33 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ServerNotRegistered.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class ServerNotRegistered extends org.omg.CORBA.UserException
{
public String serverId = null;
public ServerNotRegistered ()
{
super(ServerNotRegisteredHelper.id());
} // ctor
public ServerNotRegistered (String _serverId)
{
super(ServerNotRegisteredHelper.id());
serverId = _serverId;
} // ctor
public ServerNotRegistered (String $reason, String _serverId)
{
super(ServerNotRegisteredHelper.id() + " " + $reason);
serverId = _serverId;
} // ctor
} // class ServerNotRegistered

@ -0,0 +1,80 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ServerNotRegisteredHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
abstract public class ServerNotRegisteredHelper
{
private static String _id = "IDL:PortableActivationIDL/ServerNotRegistered:1.0";
public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.PortableActivationIDL.ServerNotRegistered that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static com.sun.corba.se.PortableActivationIDL.ServerNotRegistered extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
private static boolean __active = false;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
synchronized (org.omg.CORBA.TypeCode.class)
{
if (__typeCode == null)
{
if (__active)
{
return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
}
__active = true;
org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [1];
org.omg.CORBA.TypeCode _tcOf_members0 = null;
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0);
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.PortableInterceptor.ServerIdHelper.id (), "ServerId", _tcOf_members0);
_members0[0] = new org.omg.CORBA.StructMember (
"serverId",
_tcOf_members0,
null);
__typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (com.sun.corba.se.PortableActivationIDL.ServerNotRegisteredHelper.id (), "ServerNotRegistered", _members0);
__active = false;
}
}
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static com.sun.corba.se.PortableActivationIDL.ServerNotRegistered read (org.omg.CORBA.portable.InputStream istream)
{
com.sun.corba.se.PortableActivationIDL.ServerNotRegistered value = new com.sun.corba.se.PortableActivationIDL.ServerNotRegistered ();
// read and discard the repository ID
istream.read_string ();
value.serverId = istream.read_string ();
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.PortableActivationIDL.ServerNotRegistered value)
{
// write the repository ID
ostream.write_string (id ());
ostream.write_string (value.serverId);
}
}

@ -0,0 +1,38 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ServerNotRegisteredHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public final class ServerNotRegisteredHolder implements org.omg.CORBA.portable.Streamable
{
public com.sun.corba.se.PortableActivationIDL.ServerNotRegistered value = null;
public ServerNotRegisteredHolder ()
{
}
public ServerNotRegisteredHolder (com.sun.corba.se.PortableActivationIDL.ServerNotRegistered initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = com.sun.corba.se.PortableActivationIDL.ServerNotRegisteredHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
com.sun.corba.se.PortableActivationIDL.ServerNotRegisteredHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return com.sun.corba.se.PortableActivationIDL.ServerNotRegisteredHelper.type ();
}
}

@ -0,0 +1,16 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ServerProxy.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
/** Server callback interface, passed to Activator in registerServer method.
*/
public interface ServerProxy extends ServerProxyOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity
{
} // interface ServerProxy

@ -0,0 +1,88 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ServerProxyHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
/** Server callback interface, passed to Activator in registerServer method.
*/
abstract public class ServerProxyHelper
{
private static String _id = "IDL:PortableActivationIDL/ServerProxy:1.0";
public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.PortableActivationIDL.ServerProxy that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static com.sun.corba.se.PortableActivationIDL.ServerProxy extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
__typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (com.sun.corba.se.PortableActivationIDL.ServerProxyHelper.id (), "ServerProxy");
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static com.sun.corba.se.PortableActivationIDL.ServerProxy read (org.omg.CORBA.portable.InputStream istream)
{
return narrow (istream.read_Object (_ServerProxyStub.class));
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.PortableActivationIDL.ServerProxy value)
{
ostream.write_Object ((org.omg.CORBA.Object) value);
}
public static com.sun.corba.se.PortableActivationIDL.ServerProxy narrow (org.omg.CORBA.Object obj)
{
if (obj == null)
return null;
else if (obj instanceof com.sun.corba.se.PortableActivationIDL.ServerProxy)
return (com.sun.corba.se.PortableActivationIDL.ServerProxy)obj;
else if (!obj._is_a (id ()))
throw new org.omg.CORBA.BAD_PARAM ();
else
{
org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate ();
com.sun.corba.se.PortableActivationIDL._ServerProxyStub stub = new com.sun.corba.se.PortableActivationIDL._ServerProxyStub ();
stub._set_delegate(delegate);
return stub;
}
}
public static com.sun.corba.se.PortableActivationIDL.ServerProxy unchecked_narrow (org.omg.CORBA.Object obj)
{
if (obj == null)
return null;
else if (obj instanceof com.sun.corba.se.PortableActivationIDL.ServerProxy)
return (com.sun.corba.se.PortableActivationIDL.ServerProxy)obj;
else
{
org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate ();
com.sun.corba.se.PortableActivationIDL._ServerProxyStub stub = new com.sun.corba.se.PortableActivationIDL._ServerProxyStub ();
stub._set_delegate(delegate);
return stub;
}
}
}

@ -0,0 +1,41 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ServerProxyHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
/** Server callback interface, passed to Activator in registerServer method.
*/
public final class ServerProxyHolder implements org.omg.CORBA.portable.Streamable
{
public com.sun.corba.se.PortableActivationIDL.ServerProxy value = null;
public ServerProxyHolder ()
{
}
public ServerProxyHolder (com.sun.corba.se.PortableActivationIDL.ServerProxy initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = com.sun.corba.se.PortableActivationIDL.ServerProxyHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
com.sun.corba.se.PortableActivationIDL.ServerProxyHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return com.sun.corba.se.PortableActivationIDL.ServerProxyHelper.type ();
}
}

@ -0,0 +1,30 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/ServerProxyOperations.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
/** Server callback interface, passed to Activator in registerServer method.
*/
public interface ServerProxyOperations
{
/** Shutdown this server. Returns after orb.shutdown() completes.
*/
void shutdown ();
/** Install the server. Returns after the install hook completes
* execution in the server.
*/
void install ();
/** Uninstall the server. Returns after the uninstall hook
* completes execution.
*/
void uninstall ();
} // interface ServerProxyOperations

@ -0,0 +1,62 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/TCPPortHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
/** Type of TCP port number, used in structures that describe
* transport endpoints. The valid range is actually 0-65535, but
* we use a long here to avoid signed/unsigned conversion headaches
* in Java.
*/
abstract public class TCPPortHelper
{
private static String _id = "IDL:PortableActivationIDL/TCPPort:1.0";
public static void insert (org.omg.CORBA.Any a, int that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static int extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
__typeCode = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_long);
__typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (com.sun.corba.se.PortableActivationIDL.TCPPortHelper.id (), "TCPPort", __typeCode);
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static int read (org.omg.CORBA.portable.InputStream istream)
{
int value = (int)0;
value = istream.read_long ();
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, int value)
{
ostream.write_long (value);
}
}

@ -0,0 +1,288 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/_ActivatorImplBase.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public abstract class _ActivatorImplBase extends org.omg.CORBA.portable.ObjectImpl
implements com.sun.corba.se.PortableActivationIDL.Activator, org.omg.CORBA.portable.InvokeHandler
{
// Constructors
public _ActivatorImplBase ()
{
}
private static java.util.Hashtable _methods = new java.util.Hashtable ();
static
{
_methods.put ("registerServer", new java.lang.Integer (0));
_methods.put ("serverGoingDown", new java.lang.Integer (1));
_methods.put ("registerORB", new java.lang.Integer (2));
_methods.put ("registerPOA", new java.lang.Integer (3));
_methods.put ("poaDestroyed", new java.lang.Integer (4));
_methods.put ("activate", new java.lang.Integer (5));
_methods.put ("shutdown", new java.lang.Integer (6));
_methods.put ("install", new java.lang.Integer (7));
_methods.put ("uninstall", new java.lang.Integer (8));
_methods.put ("getActiveServers", new java.lang.Integer (9));
_methods.put ("getORBNames", new java.lang.Integer (10));
_methods.put ("lookupPOATemplate", new java.lang.Integer (11));
}
public org.omg.CORBA.portable.OutputStream _invoke (String $method,
org.omg.CORBA.portable.InputStream in,
org.omg.CORBA.portable.ResponseHandler $rh)
{
org.omg.CORBA.portable.OutputStream out = null;
java.lang.Integer __method = (java.lang.Integer)_methods.get ($method);
if (__method == null)
throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
switch (__method.intValue ())
{
/** A new ORB started server registers itself with the Activator
*/
case 0: // PortableActivationIDL/Activator/registerServer
{
try {
String serverId = org.omg.PortableInterceptor.ServerIdHelper.read (in);
com.sun.corba.se.PortableActivationIDL.ServerProxy serverObj = com.sun.corba.se.PortableActivationIDL.ServerProxyHelper.read (in);
this.registerServer (serverId, serverObj);
out = $rh.createReply();
} catch (com.sun.corba.se.PortableActivationIDL.ServerNotRegistered $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.ServerNotRegisteredHelper.write (out, $ex);
}
break;
}
/** A server is shutting down that was started by this activator.
* Complete termination of the server is detected by the death of the
* process implementing the server.
*/
case 1: // PortableActivationIDL/Activator/serverGoingDown
{
String serverId = org.omg.PortableInterceptor.ServerIdHelper.read (in);
this.serverGoingDown (serverId);
out = $rh.createReply();
break;
}
/** Called whenever an ORB instance is created. This registers
* the transport endpoints and the ORB proxy callback object.
* Note that we cannot detect when an ORB shuts down, although
* all of the POA shutdowns should still be reported.
*/
case 2: // PortableActivationIDL/Activator/registerORB
{
try {
String serverId = org.omg.PortableInterceptor.ServerIdHelper.read (in);
String orbId = org.omg.PortableInterceptor.ORBIdHelper.read (in);
com.sun.corba.se.PortableActivationIDL.ORBProxy orb = com.sun.corba.se.PortableActivationIDL.ORBProxyHelper.read (in);
com.sun.corba.se.PortableActivationIDL.EndPointInfo endPointInfo[] = com.sun.corba.se.PortableActivationIDL.EndpointInfoListHelper.read (in);
this.registerORB (serverId, orbId, orb, endPointInfo);
out = $rh.createReply();
} catch (com.sun.corba.se.PortableActivationIDL.ServerNotRegistered $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.ServerNotRegisteredHelper.write (out, $ex);
} catch (com.sun.corba.se.PortableActivationIDL.NoSuchEndPoint $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.NoSuchEndPointHelper.write (out, $ex);
} catch (com.sun.corba.se.PortableActivationIDL.ORBAlreadyRegistered $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.ORBAlreadyRegisteredHelper.write (out, $ex);
}
break;
}
/** Construct or find an ORBD object template corresponding to the
* server's object template and return it. Called whenever a
* persistent POA is created.
*/
case 3: // PortableActivationIDL/Activator/registerPOA
{
String serverId = org.omg.PortableInterceptor.ServerIdHelper.read (in);
String orbId = org.omg.PortableInterceptor.ORBIdHelper.read (in);
org.omg.PortableInterceptor.ObjectReferenceTemplate poaTemplate = org.omg.PortableInterceptor.ObjectReferenceTemplateHelper.read (in);
org.omg.PortableInterceptor.ObjectReferenceTemplate $result = null;
$result = this.registerPOA (serverId, orbId, poaTemplate);
out = $rh.createReply();
org.omg.PortableInterceptor.ObjectReferenceTemplateHelper.write (out, $result);
break;
}
/** Called whenever a POA is destroyed.
*/
case 4: // PortableActivationIDL/Activator/poaDestroyed
{
String serverId = org.omg.PortableInterceptor.ServerIdHelper.read (in);
String orbId = org.omg.PortableInterceptor.ORBIdHelper.read (in);
org.omg.PortableInterceptor.ObjectReferenceTemplate poaTemplate = org.omg.PortableInterceptor.ObjectReferenceTemplateHelper.read (in);
this.poaDestroyed (serverId, orbId, poaTemplate);
out = $rh.createReply();
break;
}
/** If the server is not running, start it up. This is allowed
* whether or not the server has been installed.
*/
case 5: // PortableActivationIDL/Activator/activate
{
try {
String serverId = org.omg.PortableInterceptor.ServerIdHelper.read (in);
this.activate (serverId);
out = $rh.createReply();
} catch (com.sun.corba.se.PortableActivationIDL.ServerAlreadyActive $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.ServerAlreadyActiveHelper.write (out, $ex);
} catch (com.sun.corba.se.PortableActivationIDL.ServerNotRegistered $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.ServerNotRegisteredHelper.write (out, $ex);
} catch (com.sun.corba.se.PortableActivationIDL.ServerHeldDown $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.ServerHeldDownHelper.write (out, $ex);
}
break;
}
/** If the server is running, shut it down
*/
case 6: // PortableActivationIDL/Activator/shutdown
{
try {
String serverId = org.omg.PortableInterceptor.ServerIdHelper.read (in);
this.shutdown (serverId);
out = $rh.createReply();
} catch (com.sun.corba.se.PortableActivationIDL.ServerNotActive $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.ServerNotActiveHelper.write (out, $ex);
} catch (com.sun.corba.se.PortableActivationIDL.ServerNotRegistered $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.ServerNotRegisteredHelper.write (out, $ex);
}
break;
}
/** Invoke the server install hook. If the server is not
* currently running, this method will activate it.
*/
case 7: // PortableActivationIDL/Activator/install
{
try {
String serverId = org.omg.PortableInterceptor.ServerIdHelper.read (in);
this.install (serverId);
out = $rh.createReply();
} catch (com.sun.corba.se.PortableActivationIDL.ServerNotRegistered $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.ServerNotRegisteredHelper.write (out, $ex);
} catch (com.sun.corba.se.PortableActivationIDL.ServerHeldDown $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.ServerHeldDownHelper.write (out, $ex);
} catch (com.sun.corba.se.PortableActivationIDL.ServerAlreadyInstalled $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.ServerAlreadyInstalledHelper.write (out, $ex);
}
break;
}
/** Invoke the server uninstall hook. If the server is not
* currently running, this method will activate it.
* After this hook completes, the server may still be running.
*/
case 8: // PortableActivationIDL/Activator/uninstall
{
try {
String serverId = org.omg.PortableInterceptor.ServerIdHelper.read (in);
this.uninstall (serverId);
out = $rh.createReply();
} catch (com.sun.corba.se.PortableActivationIDL.ServerNotRegistered $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.ServerNotRegisteredHelper.write (out, $ex);
} catch (com.sun.corba.se.PortableActivationIDL.ServerHeldDown $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.ServerHeldDownHelper.write (out, $ex);
} catch (com.sun.corba.se.PortableActivationIDL.ServerAlreadyUninstalled $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.ServerAlreadyUninstalledHelper.write (out, $ex);
}
break;
}
/** list active servers
*/
case 9: // PortableActivationIDL/Activator/getActiveServers
{
String $result[] = null;
$result = this.getActiveServers ();
out = $rh.createReply();
com.sun.corba.se.PortableActivationIDL.ServerIdsHelper.write (out, $result);
break;
}
/** list all registered ORBs for a server
*/
case 10: // PortableActivationIDL/Activator/getORBNames
{
try {
String serverId = org.omg.PortableInterceptor.ServerIdHelper.read (in);
String $result[] = null;
$result = this.getORBNames (serverId);
out = $rh.createReply();
com.sun.corba.se.PortableActivationIDL.ORBidListHelper.write (out, $result);
} catch (com.sun.corba.se.PortableActivationIDL.ServerNotRegistered $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.ServerNotRegisteredHelper.write (out, $ex);
}
break;
}
/** Find the server template that corresponds to the ORBD's
* adapter id.
*/
case 11: // PortableActivationIDL/Activator/lookupPOATemplate
{
String serverId = org.omg.PortableInterceptor.ServerIdHelper.read (in);
String orbId = org.omg.PortableInterceptor.ORBIdHelper.read (in);
String orbAdapterName[] = org.omg.PortableInterceptor.AdapterNameHelper.read (in);
org.omg.PortableInterceptor.ObjectReferenceTemplate $result = null;
$result = this.lookupPOATemplate (serverId, orbId, orbAdapterName);
out = $rh.createReply();
org.omg.PortableInterceptor.ObjectReferenceTemplateHelper.write (out, $result);
break;
}
default:
throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
}
return out;
} // _invoke
// Type-specific CORBA::Object operations
private static String[] __ids = {
"IDL:PortableActivationIDL/Activator:1.0"};
public String[] _ids ()
{
return (String[])__ids.clone ();
}
} // class _ActivatorImplBase

@ -0,0 +1,378 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/_ActivatorStub.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public class _ActivatorStub extends org.omg.CORBA.portable.ObjectImpl implements com.sun.corba.se.PortableActivationIDL.Activator
{
/** A new ORB started server registers itself with the Activator
*/
public void registerServer (String serverId, com.sun.corba.se.PortableActivationIDL.ServerProxy serverObj) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("registerServer", true);
org.omg.PortableInterceptor.ServerIdHelper.write ($out, serverId);
com.sun.corba.se.PortableActivationIDL.ServerProxyHelper.write ($out, serverObj);
$in = _invoke ($out);
return;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
if (_id.equals ("IDL:PortableActivationIDL/ServerNotRegistered:1.0"))
throw com.sun.corba.se.PortableActivationIDL.ServerNotRegisteredHelper.read ($in);
else
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
registerServer (serverId, serverObj );
} finally {
_releaseReply ($in);
}
} // registerServer
/** A server is shutting down that was started by this activator.
* Complete termination of the server is detected by the death of the
* process implementing the server.
*/
public void serverGoingDown (String serverId)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("serverGoingDown", true);
org.omg.PortableInterceptor.ServerIdHelper.write ($out, serverId);
$in = _invoke ($out);
return;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
serverGoingDown (serverId );
} finally {
_releaseReply ($in);
}
} // serverGoingDown
/** Called whenever an ORB instance is created. This registers
* the transport endpoints and the ORB proxy callback object.
* Note that we cannot detect when an ORB shuts down, although
* all of the POA shutdowns should still be reported.
*/
public void registerORB (String serverId, String orbId, com.sun.corba.se.PortableActivationIDL.ORBProxy orb, com.sun.corba.se.PortableActivationIDL.EndPointInfo[] endPointInfo) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.NoSuchEndPoint, com.sun.corba.se.PortableActivationIDL.ORBAlreadyRegistered
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("registerORB", true);
org.omg.PortableInterceptor.ServerIdHelper.write ($out, serverId);
org.omg.PortableInterceptor.ORBIdHelper.write ($out, orbId);
com.sun.corba.se.PortableActivationIDL.ORBProxyHelper.write ($out, orb);
com.sun.corba.se.PortableActivationIDL.EndpointInfoListHelper.write ($out, endPointInfo);
$in = _invoke ($out);
return;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
if (_id.equals ("IDL:PortableActivationIDL/ServerNotRegistered:1.0"))
throw com.sun.corba.se.PortableActivationIDL.ServerNotRegisteredHelper.read ($in);
else if (_id.equals ("IDL:PortableActivationIDL/NoSuchEndPoint:1.0"))
throw com.sun.corba.se.PortableActivationIDL.NoSuchEndPointHelper.read ($in);
else if (_id.equals ("IDL:PortableActivationIDL/ORBAlreadyRegistered:1.0"))
throw com.sun.corba.se.PortableActivationIDL.ORBAlreadyRegisteredHelper.read ($in);
else
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
registerORB (serverId, orbId, orb, endPointInfo );
} finally {
_releaseReply ($in);
}
} // registerORB
/** Construct or find an ORBD object template corresponding to the
* server's object template and return it. Called whenever a
* persistent POA is created.
*/
public org.omg.PortableInterceptor.ObjectReferenceTemplate registerPOA (String serverId, String orbId, org.omg.PortableInterceptor.ObjectReferenceTemplate poaTemplate)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("registerPOA", true);
org.omg.PortableInterceptor.ServerIdHelper.write ($out, serverId);
org.omg.PortableInterceptor.ORBIdHelper.write ($out, orbId);
org.omg.PortableInterceptor.ObjectReferenceTemplateHelper.write ($out, poaTemplate);
$in = _invoke ($out);
org.omg.PortableInterceptor.ObjectReferenceTemplate $result = org.omg.PortableInterceptor.ObjectReferenceTemplateHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return registerPOA (serverId, orbId, poaTemplate );
} finally {
_releaseReply ($in);
}
} // registerPOA
/** Called whenever a POA is destroyed.
*/
public void poaDestroyed (String serverId, String orbId, org.omg.PortableInterceptor.ObjectReferenceTemplate poaTemplate)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("poaDestroyed", true);
org.omg.PortableInterceptor.ServerIdHelper.write ($out, serverId);
org.omg.PortableInterceptor.ORBIdHelper.write ($out, orbId);
org.omg.PortableInterceptor.ObjectReferenceTemplateHelper.write ($out, poaTemplate);
$in = _invoke ($out);
return;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
poaDestroyed (serverId, orbId, poaTemplate );
} finally {
_releaseReply ($in);
}
} // poaDestroyed
/** If the server is not running, start it up. This is allowed
* whether or not the server has been installed.
*/
public void activate (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerAlreadyActive, com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.ServerHeldDown
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("activate", true);
org.omg.PortableInterceptor.ServerIdHelper.write ($out, serverId);
$in = _invoke ($out);
return;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
if (_id.equals ("IDL:PortableActivationIDL/ServerAlreadyActive:1.0"))
throw com.sun.corba.se.PortableActivationIDL.ServerAlreadyActiveHelper.read ($in);
else if (_id.equals ("IDL:PortableActivationIDL/ServerNotRegistered:1.0"))
throw com.sun.corba.se.PortableActivationIDL.ServerNotRegisteredHelper.read ($in);
else if (_id.equals ("IDL:PortableActivationIDL/ServerHeldDown:1.0"))
throw com.sun.corba.se.PortableActivationIDL.ServerHeldDownHelper.read ($in);
else
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
activate (serverId );
} finally {
_releaseReply ($in);
}
} // activate
/** If the server is running, shut it down
*/
public void shutdown (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotActive, com.sun.corba.se.PortableActivationIDL.ServerNotRegistered
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("shutdown", true);
org.omg.PortableInterceptor.ServerIdHelper.write ($out, serverId);
$in = _invoke ($out);
return;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
if (_id.equals ("IDL:PortableActivationIDL/ServerNotActive:1.0"))
throw com.sun.corba.se.PortableActivationIDL.ServerNotActiveHelper.read ($in);
else if (_id.equals ("IDL:PortableActivationIDL/ServerNotRegistered:1.0"))
throw com.sun.corba.se.PortableActivationIDL.ServerNotRegisteredHelper.read ($in);
else
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
shutdown (serverId );
} finally {
_releaseReply ($in);
}
} // shutdown
/** Invoke the server install hook. If the server is not
* currently running, this method will activate it.
*/
public void install (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.ServerHeldDown, com.sun.corba.se.PortableActivationIDL.ServerAlreadyInstalled
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("install", true);
org.omg.PortableInterceptor.ServerIdHelper.write ($out, serverId);
$in = _invoke ($out);
return;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
if (_id.equals ("IDL:PortableActivationIDL/ServerNotRegistered:1.0"))
throw com.sun.corba.se.PortableActivationIDL.ServerNotRegisteredHelper.read ($in);
else if (_id.equals ("IDL:PortableActivationIDL/ServerHeldDown:1.0"))
throw com.sun.corba.se.PortableActivationIDL.ServerHeldDownHelper.read ($in);
else if (_id.equals ("IDL:PortableActivationIDL/ServerAlreadyInstalled:1.0"))
throw com.sun.corba.se.PortableActivationIDL.ServerAlreadyInstalledHelper.read ($in);
else
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
install (serverId );
} finally {
_releaseReply ($in);
}
} // install
/** Invoke the server uninstall hook. If the server is not
* currently running, this method will activate it.
* After this hook completes, the server may still be running.
*/
public void uninstall (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.ServerHeldDown, com.sun.corba.se.PortableActivationIDL.ServerAlreadyUninstalled
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("uninstall", true);
org.omg.PortableInterceptor.ServerIdHelper.write ($out, serverId);
$in = _invoke ($out);
return;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
if (_id.equals ("IDL:PortableActivationIDL/ServerNotRegistered:1.0"))
throw com.sun.corba.se.PortableActivationIDL.ServerNotRegisteredHelper.read ($in);
else if (_id.equals ("IDL:PortableActivationIDL/ServerHeldDown:1.0"))
throw com.sun.corba.se.PortableActivationIDL.ServerHeldDownHelper.read ($in);
else if (_id.equals ("IDL:PortableActivationIDL/ServerAlreadyUninstalled:1.0"))
throw com.sun.corba.se.PortableActivationIDL.ServerAlreadyUninstalledHelper.read ($in);
else
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
uninstall (serverId );
} finally {
_releaseReply ($in);
}
} // uninstall
/** list active servers
*/
public String[] getActiveServers ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("getActiveServers", true);
$in = _invoke ($out);
String $result[] = com.sun.corba.se.PortableActivationIDL.ServerIdsHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return getActiveServers ( );
} finally {
_releaseReply ($in);
}
} // getActiveServers
/** list all registered ORBs for a server
*/
public String[] getORBNames (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("getORBNames", true);
org.omg.PortableInterceptor.ServerIdHelper.write ($out, serverId);
$in = _invoke ($out);
String $result[] = com.sun.corba.se.PortableActivationIDL.ORBidListHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
if (_id.equals ("IDL:PortableActivationIDL/ServerNotRegistered:1.0"))
throw com.sun.corba.se.PortableActivationIDL.ServerNotRegisteredHelper.read ($in);
else
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return getORBNames (serverId );
} finally {
_releaseReply ($in);
}
} // getORBNames
/** Find the server template that corresponds to the ORBD's
* adapter id.
*/
public org.omg.PortableInterceptor.ObjectReferenceTemplate lookupPOATemplate (String serverId, String orbId, String[] orbAdapterName)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("lookupPOATemplate", true);
org.omg.PortableInterceptor.ServerIdHelper.write ($out, serverId);
org.omg.PortableInterceptor.ORBIdHelper.write ($out, orbId);
org.omg.PortableInterceptor.AdapterNameHelper.write ($out, orbAdapterName);
$in = _invoke ($out);
org.omg.PortableInterceptor.ObjectReferenceTemplate $result = org.omg.PortableInterceptor.ObjectReferenceTemplateHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return lookupPOATemplate (serverId, orbId, orbAdapterName );
} finally {
_releaseReply ($in);
}
} // lookupPOATemplate
// Type-specific CORBA::Object operations
private static String[] __ids = {
"IDL:PortableActivationIDL/Activator:1.0"};
public String[] _ids ()
{
return (String[])__ids.clone ();
}
private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
{
String str = s.readUTF ();
String[] args = null;
java.util.Properties props = null;
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init (args, props);
try {
org.omg.CORBA.Object obj = orb.string_to_object (str);
org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
_set_delegate (delegate);
} finally {
orb.destroy() ;
}
}
private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
{
String[] args = null;
java.util.Properties props = null;
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init (args, props);
try {
String str = orb.object_to_string (this);
s.writeUTF (str);
} finally {
orb.destroy() ;
}
}
} // class _ActivatorStub

@ -0,0 +1,76 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/_InitialNameServiceImplBase.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
/** Interface used to support binding references in the bootstrap name
* service.
*/
public abstract class _InitialNameServiceImplBase extends org.omg.CORBA.portable.ObjectImpl
implements com.sun.corba.se.PortableActivationIDL.InitialNameService, org.omg.CORBA.portable.InvokeHandler
{
// Constructors
public _InitialNameServiceImplBase ()
{
}
private static java.util.Hashtable _methods = new java.util.Hashtable ();
static
{
_methods.put ("bind", new java.lang.Integer (0));
}
public org.omg.CORBA.portable.OutputStream _invoke (String $method,
org.omg.CORBA.portable.InputStream in,
org.omg.CORBA.portable.ResponseHandler $rh)
{
org.omg.CORBA.portable.OutputStream out = null;
java.lang.Integer __method = (java.lang.Integer)_methods.get ($method);
if (__method == null)
throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
switch (__method.intValue ())
{
/** bind initial name
*/
case 0: // PortableActivationIDL/InitialNameService/bind
{
try {
String name = in.read_string ();
org.omg.CORBA.Object obj = org.omg.CORBA.ObjectHelper.read (in);
boolean isPersistant = in.read_boolean ();
this.bind (name, obj, isPersistant);
out = $rh.createReply();
} catch (com.sun.corba.se.PortableActivationIDL.InitialNameServicePackage.NameAlreadyBound $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.InitialNameServicePackage.NameAlreadyBoundHelper.write (out, $ex);
}
break;
}
default:
throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
}
return out;
} // _invoke
// Type-specific CORBA::Object operations
private static String[] __ids = {
"IDL:PortableActivationIDL/InitialNameService:1.0"};
public String[] _ids ()
{
return (String[])__ids.clone ();
}
} // class _InitialNameServiceImplBase

@ -0,0 +1,81 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/_InitialNameServiceStub.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
/** Interface used to support binding references in the bootstrap name
* service.
*/
public class _InitialNameServiceStub extends org.omg.CORBA.portable.ObjectImpl implements com.sun.corba.se.PortableActivationIDL.InitialNameService
{
/** bind initial name
*/
public void bind (String name, org.omg.CORBA.Object obj, boolean isPersistant) throws com.sun.corba.se.PortableActivationIDL.InitialNameServicePackage.NameAlreadyBound
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("bind", true);
$out.write_string (name);
org.omg.CORBA.ObjectHelper.write ($out, obj);
$out.write_boolean (isPersistant);
$in = _invoke ($out);
return;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
if (_id.equals ("IDL:PortableActivationIDL/InitialNameService/NameAlreadyBound:1.0"))
throw com.sun.corba.se.PortableActivationIDL.InitialNameServicePackage.NameAlreadyBoundHelper.read ($in);
else
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
bind (name, obj, isPersistant );
} finally {
_releaseReply ($in);
}
} // bind
// Type-specific CORBA::Object operations
private static String[] __ids = {
"IDL:PortableActivationIDL/InitialNameService:1.0"};
public String[] _ids ()
{
return (String[])__ids.clone ();
}
private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
{
String str = s.readUTF ();
String[] args = null;
java.util.Properties props = null;
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init (args, props);
try {
org.omg.CORBA.Object obj = orb.string_to_object (str);
org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
_set_delegate (delegate);
} finally {
orb.destroy() ;
}
}
private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
{
String[] args = null;
java.util.Properties props = null;
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init (args, props);
try {
String str = orb.object_to_string (this);
s.writeUTF (str);
} finally {
orb.destroy() ;
}
}
} // class _InitialNameServiceStub

@ -0,0 +1,149 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/_LocatorImplBase.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public abstract class _LocatorImplBase extends org.omg.CORBA.portable.ObjectImpl
implements com.sun.corba.se.PortableActivationIDL.Locator, org.omg.CORBA.portable.InvokeHandler
{
// Constructors
public _LocatorImplBase ()
{
}
private static java.util.Hashtable _methods = new java.util.Hashtable ();
static
{
_methods.put ("locateServer", new java.lang.Integer (0));
_methods.put ("locateServerForORB", new java.lang.Integer (1));
_methods.put ("getEndpoint", new java.lang.Integer (2));
_methods.put ("getServerPortForType", new java.lang.Integer (3));
}
public org.omg.CORBA.portable.OutputStream _invoke (String $method,
org.omg.CORBA.portable.InputStream in,
org.omg.CORBA.portable.ResponseHandler $rh)
{
org.omg.CORBA.portable.OutputStream out = null;
java.lang.Integer __method = (java.lang.Integer)_methods.get ($method);
if (__method == null)
throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
switch (__method.intValue ())
{
/** locate server - returns the port with a specific type for all registered
* ORBs of an active server.
* Starts the server if it is not already running.
*/
case 0: // PortableActivationIDL/Locator/locateServer
{
try {
String serverId = org.omg.PortableInterceptor.ServerIdHelper.read (in);
String endPoint = in.read_string ();
com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerType $result = null;
$result = this.locateServer (serverId, endPoint);
out = $rh.createReply();
com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerTypeHelper.write (out, $result);
} catch (com.sun.corba.se.PortableActivationIDL.NoSuchEndPoint $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.NoSuchEndPointHelper.write (out, $ex);
} catch (com.sun.corba.se.PortableActivationIDL.ServerNotRegistered $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.ServerNotRegisteredHelper.write (out, $ex);
} catch (com.sun.corba.se.PortableActivationIDL.ServerHeldDown $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.ServerHeldDownHelper.write (out, $ex);
}
break;
}
/** locate server - returns all ports registered with a specified ORB for
* an active server
* Starts the server if it is not already running.
*/
case 1: // PortableActivationIDL/Locator/locateServerForORB
{
try {
String serverId = org.omg.PortableInterceptor.ServerIdHelper.read (in);
String orbId = org.omg.PortableInterceptor.ORBIdHelper.read (in);
com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerORB $result = null;
$result = this.locateServerForORB (serverId, orbId);
out = $rh.createReply();
com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerORBHelper.write (out, $result);
} catch (com.sun.corba.se.PortableActivationIDL.InvalidORBid $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.InvalidORBidHelper.write (out, $ex);
} catch (com.sun.corba.se.PortableActivationIDL.ServerNotRegistered $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.ServerNotRegisteredHelper.write (out, $ex);
} catch (com.sun.corba.se.PortableActivationIDL.ServerHeldDown $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.ServerHeldDownHelper.write (out, $ex);
}
break;
}
/** get the port for the endpoint of the locator
*/
case 2: // PortableActivationIDL/Locator/getEndpoint
{
try {
String endPointType = in.read_string ();
int $result = (int)0;
$result = this.getEndpoint (endPointType);
out = $rh.createReply();
out.write_long ($result);
} catch (com.sun.corba.se.PortableActivationIDL.NoSuchEndPoint $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.NoSuchEndPointHelper.write (out, $ex);
}
break;
}
/** Useful from external BadServerIdHandlers which need
* to pick a particular port type.
*/
case 3: // PortableActivationIDL/Locator/getServerPortForType
{
try {
com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerORB location = com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerORBHelper.read (in);
String endPointType = in.read_string ();
int $result = (int)0;
$result = this.getServerPortForType (location, endPointType);
out = $rh.createReply();
out.write_long ($result);
} catch (com.sun.corba.se.PortableActivationIDL.NoSuchEndPoint $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.NoSuchEndPointHelper.write (out, $ex);
}
break;
}
default:
throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
}
return out;
} // _invoke
// Type-specific CORBA::Object operations
private static String[] __ids = {
"IDL:PortableActivationIDL/Locator:1.0"};
public String[] _ids ()
{
return (String[])__ids.clone ();
}
} // class _LocatorImplBase

@ -0,0 +1,170 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/_LocatorStub.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public class _LocatorStub extends org.omg.CORBA.portable.ObjectImpl implements com.sun.corba.se.PortableActivationIDL.Locator
{
/** locate server - returns the port with a specific type for all registered
* ORBs of an active server.
* Starts the server if it is not already running.
*/
public com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerType locateServer (String serverId, String endPoint) throws com.sun.corba.se.PortableActivationIDL.NoSuchEndPoint, com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.ServerHeldDown
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("locateServer", true);
org.omg.PortableInterceptor.ServerIdHelper.write ($out, serverId);
$out.write_string (endPoint);
$in = _invoke ($out);
com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerType $result = com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerTypeHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
if (_id.equals ("IDL:PortableActivationIDL/NoSuchEndPoint:1.0"))
throw com.sun.corba.se.PortableActivationIDL.NoSuchEndPointHelper.read ($in);
else if (_id.equals ("IDL:PortableActivationIDL/ServerNotRegistered:1.0"))
throw com.sun.corba.se.PortableActivationIDL.ServerNotRegisteredHelper.read ($in);
else if (_id.equals ("IDL:PortableActivationIDL/ServerHeldDown:1.0"))
throw com.sun.corba.se.PortableActivationIDL.ServerHeldDownHelper.read ($in);
else
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return locateServer (serverId, endPoint );
} finally {
_releaseReply ($in);
}
} // locateServer
/** locate server - returns all ports registered with a specified ORB for
* an active server
* Starts the server if it is not already running.
*/
public com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerORB locateServerForORB (String serverId, String orbId) throws com.sun.corba.se.PortableActivationIDL.InvalidORBid, com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.ServerHeldDown
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("locateServerForORB", true);
org.omg.PortableInterceptor.ServerIdHelper.write ($out, serverId);
org.omg.PortableInterceptor.ORBIdHelper.write ($out, orbId);
$in = _invoke ($out);
com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerORB $result = com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerORBHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
if (_id.equals ("IDL:PortableActivationIDL/InvalidORBid:1.0"))
throw com.sun.corba.se.PortableActivationIDL.InvalidORBidHelper.read ($in);
else if (_id.equals ("IDL:PortableActivationIDL/ServerNotRegistered:1.0"))
throw com.sun.corba.se.PortableActivationIDL.ServerNotRegisteredHelper.read ($in);
else if (_id.equals ("IDL:PortableActivationIDL/ServerHeldDown:1.0"))
throw com.sun.corba.se.PortableActivationIDL.ServerHeldDownHelper.read ($in);
else
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return locateServerForORB (serverId, orbId );
} finally {
_releaseReply ($in);
}
} // locateServerForORB
/** get the port for the endpoint of the locator
*/
public int getEndpoint (String endPointType) throws com.sun.corba.se.PortableActivationIDL.NoSuchEndPoint
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("getEndpoint", true);
$out.write_string (endPointType);
$in = _invoke ($out);
int $result = com.sun.corba.se.PortableActivationIDL.TCPPortHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
if (_id.equals ("IDL:PortableActivationIDL/NoSuchEndPoint:1.0"))
throw com.sun.corba.se.PortableActivationIDL.NoSuchEndPointHelper.read ($in);
else
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return getEndpoint (endPointType );
} finally {
_releaseReply ($in);
}
} // getEndpoint
/** Useful from external BadServerIdHandlers which need
* to pick a particular port type.
*/
public int getServerPortForType (com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerORB location, String endPointType) throws com.sun.corba.se.PortableActivationIDL.NoSuchEndPoint
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("getServerPortForType", true);
com.sun.corba.se.PortableActivationIDL.LocatorPackage.ServerLocationPerORBHelper.write ($out, location);
$out.write_string (endPointType);
$in = _invoke ($out);
int $result = com.sun.corba.se.PortableActivationIDL.TCPPortHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
if (_id.equals ("IDL:PortableActivationIDL/NoSuchEndPoint:1.0"))
throw com.sun.corba.se.PortableActivationIDL.NoSuchEndPointHelper.read ($in);
else
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return getServerPortForType (location, endPointType );
} finally {
_releaseReply ($in);
}
} // getServerPortForType
// Type-specific CORBA::Object operations
private static String[] __ids = {
"IDL:PortableActivationIDL/Locator:1.0"};
public String[] _ids ()
{
return (String[])__ids.clone ();
}
private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
{
String str = s.readUTF ();
String[] args = null;
java.util.Properties props = null;
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init (args, props);
try {
org.omg.CORBA.Object obj = orb.string_to_object (str);
org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
_set_delegate (delegate);
} finally {
orb.destroy() ;
}
}
private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
{
String[] args = null;
java.util.Properties props = null;
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init (args, props);
try {
String str = orb.object_to_string (this);
s.writeUTF (str);
} finally {
orb.destroy() ;
}
}
} // class _LocatorStub

@ -0,0 +1,74 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/_ORBProxyImplBase.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
/** ORB callback interface, passed to Activator in registerORB method.
*/
public abstract class _ORBProxyImplBase extends org.omg.CORBA.portable.ObjectImpl
implements com.sun.corba.se.PortableActivationIDL.ORBProxy, org.omg.CORBA.portable.InvokeHandler
{
// Constructors
public _ORBProxyImplBase ()
{
}
private static java.util.Hashtable _methods = new java.util.Hashtable ();
static
{
_methods.put ("activate_adapter", new java.lang.Integer (0));
}
public org.omg.CORBA.portable.OutputStream _invoke (String $method,
org.omg.CORBA.portable.InputStream in,
org.omg.CORBA.portable.ResponseHandler $rh)
{
org.omg.CORBA.portable.OutputStream out = null;
java.lang.Integer __method = (java.lang.Integer)_methods.get ($method);
if (__method == null)
throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
switch (__method.intValue ())
{
/** Method used to cause ORB to activate the named adapter, if possible.
* This will cause the named POA to register itself with the activator as
* a side effect. This should always happen before this call can complete.
* This method returns true if adapter activation succeeded, otherwise it
* returns false.
*/
case 0: // PortableActivationIDL/ORBProxy/activate_adapter
{
String name[] = org.omg.PortableInterceptor.AdapterNameHelper.read (in);
boolean $result = false;
$result = this.activate_adapter (name);
out = $rh.createReply();
out.write_boolean ($result);
break;
}
default:
throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
}
return out;
} // _invoke
// Type-specific CORBA::Object operations
private static String[] __ids = {
"IDL:PortableActivationIDL/ORBProxy:1.0"};
public String[] _ids ()
{
return (String[])__ids.clone ();
}
} // class _ORBProxyImplBase

@ -0,0 +1,80 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/_ORBProxyStub.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
/** ORB callback interface, passed to Activator in registerORB method.
*/
public class _ORBProxyStub extends org.omg.CORBA.portable.ObjectImpl implements com.sun.corba.se.PortableActivationIDL.ORBProxy
{
/** Method used to cause ORB to activate the named adapter, if possible.
* This will cause the named POA to register itself with the activator as
* a side effect. This should always happen before this call can complete.
* This method returns true if adapter activation succeeded, otherwise it
* returns false.
*/
public boolean activate_adapter (String[] name)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("activate_adapter", true);
org.omg.PortableInterceptor.AdapterNameHelper.write ($out, name);
$in = _invoke ($out);
boolean $result = $in.read_boolean ();
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return activate_adapter (name );
} finally {
_releaseReply ($in);
}
} // activate_adapter
// Type-specific CORBA::Object operations
private static String[] __ids = {
"IDL:PortableActivationIDL/ORBProxy:1.0"};
public String[] _ids ()
{
return (String[])__ids.clone ();
}
private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
{
String str = s.readUTF ();
String[] args = null;
java.util.Properties props = null;
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init (args, props);
try {
org.omg.CORBA.Object obj = orb.string_to_object (str);
org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
_set_delegate (delegate);
} finally {
orb.destroy() ;
}
}
private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
{
String[] args = null;
java.util.Properties props = null;
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init (args, props);
try {
String str = orb.object_to_string (this);
s.writeUTF (str);
} finally {
orb.destroy() ;
}
}
} // class _ORBProxyStub

@ -0,0 +1,220 @@
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/_RepositoryImplBase.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 6:38:37 PM PST
*/
public abstract class _RepositoryImplBase extends org.omg.CORBA.portable.ObjectImpl
implements com.sun.corba.se.PortableActivationIDL.Repository, org.omg.CORBA.portable.InvokeHandler
{
// Constructors
public _RepositoryImplBase ()
{
}
private static java.util.Hashtable _methods = new java.util.Hashtable ();
static
{
_methods.put ("registerServer", new java.lang.Integer (0));
_methods.put ("unregisterServer", new java.lang.Integer (1));
_methods.put ("getServer", new java.lang.Integer (2));
_methods.put ("isInstalled", new java.lang.Integer (3));
_methods.put ("install", new java.lang.Integer (4));
_methods.put ("uninstall", new java.lang.Integer (5));
_methods.put ("listRegisteredServers", new java.lang.Integer (6));
_methods.put ("getApplicationNames", new java.lang.Integer (7));
_methods.put ("getServerID", new java.lang.Integer (8));
}
public org.omg.CORBA.portable.OutputStream _invoke (String $method,
org.omg.CORBA.portable.InputStream in,
org.omg.CORBA.portable.ResponseHandler $rh)
{
org.omg.CORBA.portable.OutputStream out = null;
java.lang.Integer __method = (java.lang.Integer)_methods.get ($method);
if (__method == null)
throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
switch (__method.intValue ())
{
/** register server definition.
* This returns the serverId of the server. A newly created server is
* always uninstalled.
*/
case 0: // PortableActivationIDL/Repository/registerServer
{
try {
com.sun.corba.se.PortableActivationIDL.RepositoryPackage.ServerDef serverDef = com.sun.corba.se.PortableActivationIDL.RepositoryPackage.ServerDefHelper.read (in);
String $result = null;
$result = this.registerServer (serverDef);
out = $rh.createReply();
out.write_string ($result);
} catch (com.sun.corba.se.PortableActivationIDL.ServerAlreadyRegistered $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.ServerAlreadyRegisteredHelper.write (out, $ex);
} catch (com.sun.corba.se.PortableActivationIDL.BadServerDefinition $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.BadServerDefinitionHelper.write (out, $ex);
}
break;
}
/** unregister server definition
*/
case 1: // PortableActivationIDL/Repository/unregisterServer
{
try {
String serverId = org.omg.PortableInterceptor.ServerIdHelper.read (in);
this.unregisterServer (serverId);
out = $rh.createReply();
} catch (com.sun.corba.se.PortableActivationIDL.ServerNotRegistered $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.ServerNotRegisteredHelper.write (out, $ex);
}
break;
}
/** get server definition
*/
case 2: // PortableActivationIDL/Repository/getServer
{
try {
String serverId = org.omg.PortableInterceptor.ServerIdHelper.read (in);
com.sun.corba.se.PortableActivationIDL.RepositoryPackage.ServerDef $result = null;
$result = this.getServer (serverId);
out = $rh.createReply();
com.sun.corba.se.PortableActivationIDL.RepositoryPackage.ServerDefHelper.write (out, $result);
} catch (com.sun.corba.se.PortableActivationIDL.ServerNotRegistered $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.ServerNotRegisteredHelper.write (out, $ex);
}
break;
}
/** Return whether the server has been installed
*/
case 3: // PortableActivationIDL/Repository/isInstalled
{
try {
String serverId = org.omg.PortableInterceptor.ServerIdHelper.read (in);
boolean $result = false;
$result = this.isInstalled (serverId);
out = $rh.createReply();
out.write_boolean ($result);
} catch (com.sun.corba.se.PortableActivationIDL.ServerNotRegistered $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.ServerNotRegisteredHelper.write (out, $ex);
}
break;
}
/** Mark the server as being installed. Raises ServerAlreadyInstalled
* if the server is currently marked as installed.
*/
case 4: // PortableActivationIDL/Repository/install
{
try {
String serverId = org.omg.PortableInterceptor.ServerIdHelper.read (in);
this.install (serverId);
out = $rh.createReply();
} catch (com.sun.corba.se.PortableActivationIDL.ServerNotRegistered $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.ServerNotRegisteredHelper.write (out, $ex);
} catch (com.sun.corba.se.PortableActivationIDL.ServerAlreadyInstalled $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.ServerAlreadyInstalledHelper.write (out, $ex);
}
break;
}
/** Mark the server as being uninstalled. Raises ServerAlreadyUninstalled
* if the server is currently marked as uninstalled.
*/
case 5: // PortableActivationIDL/Repository/uninstall
{
try {
String serverId = org.omg.PortableInterceptor.ServerIdHelper.read (in);
this.uninstall (serverId);
out = $rh.createReply();
} catch (com.sun.corba.se.PortableActivationIDL.ServerNotRegistered $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.ServerNotRegisteredHelper.write (out, $ex);
} catch (com.sun.corba.se.PortableActivationIDL.ServerAlreadyUninstalled $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.ServerAlreadyUninstalledHelper.write (out, $ex);
}
break;
}
/** list registered servers
*/
case 6: // PortableActivationIDL/Repository/listRegisteredServers
{
String $result[] = null;
$result = this.listRegisteredServers ();
out = $rh.createReply();
com.sun.corba.se.PortableActivationIDL.ServerIdsHelper.write (out, $result);
break;
}
/** Returns list of ALL applicationNames defined in ServerDefs of registered
* servers.
*/
case 7: // PortableActivationIDL/Repository/getApplicationNames
{
String $result[] = null;
$result = this.getApplicationNames ();
out = $rh.createReply();
com.sun.corba.se.PortableActivationIDL.RepositoryPackage.AppNamesHelper.write (out, $result);
break;
}
/** Find the ServerID associated with the given application name.
*/
case 8: // PortableActivationIDL/Repository/getServerID
{
try {
String applicationName = in.read_string ();
String $result = null;
$result = this.getServerID (applicationName);
out = $rh.createReply();
out.write_string ($result);
} catch (com.sun.corba.se.PortableActivationIDL.ServerNotRegistered $ex) {
out = $rh.createExceptionReply ();
com.sun.corba.se.PortableActivationIDL.ServerNotRegisteredHelper.write (out, $ex);
}
break;
}
default:
throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
}
return out;
} // _invoke
// Type-specific CORBA::Object operations
private static String[] __ids = {
"IDL:PortableActivationIDL/Repository:1.0"};
public String[] _ids ()
{
return (String[])__ids.clone ();
}
} // class _RepositoryImplBase

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save