All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.omg.XA.ConnectorHelper Maven / Gradle / Ivy

Go to download

JBossTS - JBoss Transaction Service. JTA, JTS and XTS (WS-AT, WS-BA)

The newest version!
package org.omg.XA;


/**
 * Generated from IDL interface "Connector".
 *
 * @author JacORB IDL compiler V 2.3.1 (JBoss patch01), 29-Jul-2009
 * @version generated at Oct 2, 2012 3:07:47 PM
 */

public final class ConnectorHelper
{
	public static void insert (final org.omg.CORBA.Any any, final org.omg.XA.Connector s)
	{
			any.insert_Object(s);
	}
	public static org.omg.XA.Connector extract(final org.omg.CORBA.Any any)
	{
		return narrow(any.extract_Object()) ;
	}
	public static org.omg.CORBA.TypeCode type()
	{
		return org.omg.CORBA.ORB.init().create_interface_tc("IDL:omg.org/XA/Connector:1.0", "Connector");
	}
	public static String id()
	{
		return "IDL:omg.org/XA/Connector:1.0";
	}
	public static Connector read(final org.omg.CORBA.portable.InputStream in)
	{
		throw new org.omg.CORBA.MARSHAL();
	}
	public static void write(final org.omg.CORBA.portable.OutputStream _out, final org.omg.XA.Connector s)
	{
		throw new org.omg.CORBA.MARSHAL();
	}
	public static org.omg.XA.Connector narrow(final org.omg.CORBA.Object obj)
	{
		if (obj == null)
		{
			return null;
		}
		else if (obj instanceof org.omg.XA.Connector)
		{
			return (org.omg.XA.Connector)obj;
		}
		else
		{
			throw new org.omg.CORBA.BAD_PARAM("Narrow failed");
		}
	}
	public static org.omg.XA.Connector unchecked_narrow(final org.omg.CORBA.Object obj)
	{
		if (obj == null)
		{
			return null;
		}
		else if (obj instanceof org.omg.XA.Connector)
		{
			return (org.omg.XA.Connector)obj;
		}
		else
		{
			throw new org.omg.CORBA.BAD_PARAM("Narrow failed");
		}
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy