Methods Summary |
---|
public java.lang.String[] | _ids()
String[] ids = new String[1];
ids[0] = "IDL:omg.org/PortableServer/Current:1.0";
return ids;
|
org.omg.PortableServer.ServantLocatorPackage.CookieHolder | getCookieHolder()
CookieHolder cookieHolder = peekThrowInternal().getCookieHolder();
throwInternalIfNull(cookieHolder);
return cookieHolder;
|
public com.sun.corba.se.spi.oa.ObjectAdapter | getOA()
ObjectAdapter oa = peekThrowInternal().oa();
throwInternalIfNull(oa);
return oa;
|
public byte[] | getObjectId()
byte[] objectid = peekThrowInternal().id();
throwInternalIfNull(objectid);
return objectid;
|
public java.lang.String | getOperation()
String operation = peekThrowInternal().getOperation();
throwInternalIfNull(operation);
return operation;
|
org.omg.PortableServer.Servant | getServant()
Servant servant = (Servant)(peekThrowInternal().getServantContainer());
// If is OK for the servant to be null.
// This could happen if POAImpl.getServant is called but
// POAImpl.internalGetServant throws an exception.
return servant;
|
public org.omg.PortableServer.POA | get_POA()
POA poa = (POA)(peekThrowNoContext().oa());
throwNoContextIfNull(poa);
return poa;
|
public byte[] | get_object_id()
byte[] objectid = peekThrowNoContext().id();
throwNoContextIfNull(objectid);
return objectid;
|
private com.sun.corba.se.spi.oa.OAInvocationInfo | peekThrowInternal()
OAInvocationInfo invocationInfo = null;
try {
invocationInfo = orb.peekInvocationInfo() ;
} catch (EmptyStackException e) {
// The completion status is maybe because this could happen
// after the servant has been invoked.
throw wrapper.poacurrentUnbalancedStack( e ) ;
}
return invocationInfo;
|
private com.sun.corba.se.spi.oa.OAInvocationInfo | peekThrowNoContext()
OAInvocationInfo invocationInfo = null;
try {
invocationInfo = orb.peekInvocationInfo() ;
} catch (EmptyStackException e) {
throw new NoContext();
}
return invocationInfo;
|
void | setServant(org.omg.PortableServer.Servant servant)
peekThrowInternal().setServant( servant );
|
private void | throwInternalIfNull(java.lang.Object o)
if ( o == null ) {
throw wrapper.poacurrentNullField( CompletionStatus.COMPLETED_MAYBE ) ;
}
|
private void | throwNoContextIfNull(java.lang.Object o)
if ( o == null ) {
throw new NoContext();
}
|