import IE.Iona.Orbix2.CORBA.SystemException; public class _tie_Account extends Account { private _AccountOperations m_impl; private _GarbageCollectorRef collector; public _tie_Account(_AccountOperations impl) throws IE.Iona.Orbix2.CORBA.SystemException { super(); // Start code for support of garbage collection try { collector = GarbageCollector._bind("gc:bank", "diptera"); System.out.println("_tie_Account: binding to collector"); } catch (SystemException se) { System.out.println("_tie_Account: Could not bind to collector\n" + se); } try { collector.register(this); System.out.println("_tie_Account: registering with collector"); } catch (SystemException se) { System.out.println("_tie_Account: Could not register with collector\n" + se); } // End code for support of garbage collection this.m_impl = impl; _objMgr(new IE.Iona.Orbix2.CORBA.ServerObjectMgr(_dispatcher,"Account",null,null,this)); } public _tie_Account( _AccountOperations impl, String markerName) throws IE.Iona.Orbix2.CORBA.SystemException { super(); // Start code for support of garbage collection try { collector = GarbageCollector._bind("gc:bank", "diptera"); System.out.println("_tie_Account: binding to collector"); } catch (SystemException se) { System.out.println("_tie_Account: Could not bind to collector\n" + se); } try { collector.register(this); System.out.println("_tie_Account: registering with collector"); } catch (SystemException se) { System.out.println("_tie_Account: Could not register with collector\n" + se); } // End code for support of garbage collection this.m_impl=impl; _objMgr(new IE.Iona.Orbix2.CORBA.ServerObjectMgr(_dispatcher,"Account", markerName, null, this)); } public _tie_Account( _AccountOperations impl, IE.Iona.Orbix2.CORBA.LoaderClass loader) throws IE.Iona.Orbix2.CORBA.SystemException { super(); // Start code for support of garbage collection try { collector = GarbageCollector._bind("gc:bank", "diptera"); System.out.println("_tie_Account: binding to collector"); } catch (SystemException se) { System.out.println("_tie_Account: Could not bind to collector\n" + se); } try { collector.register(this); System.out.println("_tie_Account: registering with collector"); } catch (SystemException se) { System.out.println("_tie_Account: Could not register with collector\n" + se); } // End code for support of garbage collection this.m_impl=impl; _objMgr(new IE.Iona.Orbix2.CORBA.ServerObjectMgr(_dispatcher,"Account", null, loader, this)); } public _tie_Account( _AccountOperations impl, String markerName, IE.Iona.Orbix2.CORBA.LoaderClass loader) throws IE.Iona.Orbix2.CORBA.SystemException { super(); // Start code for support of garbage collection try { collector = GarbageCollector._bind("gc:bank", "diptera"); System.out.println("_tie_Account: binding to collector"); } catch (SystemException se) { System.out.println("_tie_Account: Could not bind to collector\n" + se); } try { collector.register(this); System.out.println("_tie_Account: registering with collector"); } catch (SystemException se) { System.out.println("_tie_Account: Could not register with collector\n" + se); } // End code for support of garbage collection this.m_impl=impl; _objMgr(new IE.Iona.Orbix2.CORBA.ServerObjectMgr(_dispatcher,"Account", markerName, loader, this)); } public String getId() throws IE.Iona.Orbix2.CORBA.SystemException { return m_impl.getId( ); }; public boolean gcCheck() throws IE.Iona.Orbix2.CORBA.SystemException { return m_impl.gcCheck( ); }; public boolean attach(_CheckableRef aRef) throws IE.Iona.Orbix2.CORBA.SystemException { return m_impl.attach( aRef ); }; public boolean detach(_CheckableRef aRef) throws IE.Iona.Orbix2.CORBA.SystemException { return m_impl.detach( aRef ); }; public java.lang.Object _deref() { return m_impl; } protected static final _dispatcher_Account _dispatcher = new _dispatcher_Account(); };