Class StubAdapter
java.lang.Object
com.sun.corba.se.spi.presentation.rmi.StubAdapter
Provide access to stub delegate and type id information
independent of the stub type. This class exists because
ObjectImpl does not have an interface for the 3 delegate and
type id methods, so a DynamicStub has a different type.
We cannot simply change ObjectImpl as it is a standard API.
We also cannot change the code generation of Stubs, as that
is also standard. Hence I am left with this ugly class.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectactivateServant(Servant servant) Use implicit activation to get an object reference for the servant.static ObjectactivateTie(Tie tie) Given any Tie, return the corresponding object refernce, activating the Servant if necessary.static voidstatic DelegategetDelegate(Object stub) This also gets the delegate from a Servant by using Servant.static ORBstatic String[]getTypeIds(Object stub) static booleanstatic booleanstatic booleanisStubClass(Class cls) static OutputStreamstatic voidsetDelegate(Object stub, Delegate delegate)
-
Method Details
-
isStubClass
-
isStub
-
setDelegate
-
activateServant
Use implicit activation to get an object reference for the servant. -
activateTie
Given any Tie, return the corresponding object refernce, activating the Servant if necessary. -
getDelegate
This also gets the delegate from a Servant by using Servant._this_object() -
getORB
-
getTypeIds
-
connect
- Throws:
RemoteException
-
isLocal
-
request
-