private void throwNoContextIfNull(Object o) throws NoContext { if ( o == null ) { throw new NoContext(); } }
private void throwNoContextIfNull(Object o) throws NoContext { if (o == null) { throw new NoContext(); } }
private void throwNoContextIfNull(Object o) throws NoContext { if (o == null) { throw new NoContext(); } }
public org.omg.PortableServer.Servant get_servant() throws org.omg.PortableServer.CurrentPackage.NoContext { CurrentState state = (CurrentState) stateKey_.get(Thread .currentThread()); if (state == null || state.poa == null) throw new org.omg.PortableServer.CurrentPackage.NoContext(); return state.servant; }
public org.omg.PortableServer.POA get_POA() throws org.omg.PortableServer.CurrentPackage.NoContext { CurrentState state = (CurrentState) stateKey_.get(Thread .currentThread()); if (state == null || state.poa == null) throw new org.omg.PortableServer.CurrentPackage.NoContext(); return state.poa; }
public byte[] get_object_id() throws org.omg.PortableServer.CurrentPackage.NoContext { CurrentState state = (CurrentState) stateKey_.get(Thread .currentThread()); if (state == null || state.poa == null) throw new org.omg.PortableServer.CurrentPackage.NoContext(); return state.oid; }
private synchronized InvocationContext getInvocationContext() throws NoContext { Thread thread = Thread.currentThread(); LinkedList list = (LinkedList) threadTable.get(thread); if (list != null) { InvocationContext context = (InvocationContext) list.getLast(); if (context != null) { return context; } } throw new NoContext(); }
private OAInvocationInfo peekThrowNoContext() throws NoContext { OAInvocationInfo invocationInfo = null; try { invocationInfo = orb.peekInvocationInfo() ; } catch (EmptyStackException e) { throw new NoContext(); } return invocationInfo; }
public static org.omg.PortableServer.CurrentPackage.NoContext read (org.omg.CORBA.portable.InputStream istream) { org.omg.PortableServer.CurrentPackage.NoContext value = new org.omg.PortableServer.CurrentPackage.NoContext (); // read and discard the repository ID istream.read_string (); return value; }
private OAInvocationInfo peekThrowNoContext() throws NoContext { OAInvocationInfo invocationInfo = null; try { invocationInfo = orb.peekInvocationInfo(); } catch (EmptyStackException e) { throw new NoContext(); } return invocationInfo; }
private OAInvocationInfo peekThrowNoContext() throws NoContext { OAInvocationInfo invocationInfo = null; try { invocationInfo = orb.peekInvocationInfo(); } catch (EmptyStackException e) { throw new NoContext(); } return invocationInfo; }
public static NoContext read(org.omg.CORBA.portable.InputStream in) { if(!id().equals(in.read_string())) throw new org.omg.CORBA.MARSHAL(); NoContext _ob_v = new NoContext(); return _ob_v; }
public static org.omg.PortableServer.CurrentPackage.NoContext read (final org.omg.CORBA.portable.InputStream in) { String id = in.read_string(); if (!id.equals(id())) throw new org.omg.CORBA.MARSHAL("wrong id: " + id); final org.omg.PortableServer.CurrentPackage.NoContext result = new org.omg.PortableServer.CurrentPackage.NoContext(id); return result; } public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.PortableServer.CurrentPackage.NoContext s)
public static org.omg.PortableServer.CurrentPackage.NoContext read (final org.omg.CORBA.portable.InputStream in) { String id = in.read_string(); if (!id.equals(id())) throw new org.omg.CORBA.MARSHAL("wrong id: " + id); final org.omg.PortableServer.CurrentPackage.NoContext result = new org.omg.PortableServer.CurrentPackage.NoContext(id); return result; } public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.PortableServer.CurrentPackage.NoContext s)
public org.omg.CORBA.Object get_reference() throws org.omg.PortableServer.CurrentPackage.NoContext { CurrentState state = (CurrentState) stateKey_.get(Thread .currentThread()); if (state == null || state.poa == null) throw new org.omg.PortableServer.CurrentPackage.NoContext(); try { return state.poa.servant_to_reference(state.servant); } catch (org.omg.PortableServer.POAPackage.WrongPolicy ex) { org.apache.yoko.orb.OB.Assert._OB_assert(ex); } catch (org.omg.PortableServer.POAPackage.ServantNotActive ex) { org.apache.yoko.orb.OB.Assert._OB_assert(ex); } return null; }