[jboss-user] [Beginners Corner] - finding OAInterface ?

Gladvin do-not-reply at jboss.com
Wed Oct 18 03:05:35 EDT 2006


where we will find the OAInterface ? it says compiler error when i tried to compile the following code:

import org.omg.CosTransactions.*;
import com.arjuna.ats.jts.*;
import com.arjuna.orbportability.*;

public class DemoImplementation extends generated.Demo ._DemoInterfaceStub
{
	public void work() throws generated.Demo.DemoException
	{
		 try
		 {
		
			 Control control = OTSManager.get_current().get_control();
			 Coordinator coordinator = control.get_coordinator();
			 DemoResource resource = new DemoResource();
			 OAInterface.objectIsReady(resource);
			 coordinator.register_resource(resource);
		
		 }
		 catch (Exception e)
		 {
			 throw new DemoException();
		 }
	 }

 }

help please

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978984#3978984

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978984



More information about the jboss-user mailing list