Interface PresentationManager

All Known Implementing Classes:
PresentationManagerImpl

public interface PresentationManager
Provides access to RMI-IIOP stubs and ties. Any style of stub and tie generation may be used. This includes compiler generated stubs and runtime generated stubs as well as compiled and reflective ties. There is normally only one instance of this interface per VM. The instance is obtained from the static method com.sun.corba.se.spi.orb.ORB.getPresentationManager.

Note that the getClassData and getDynamicMethodMarshaller methods maintain caches to avoid redundant computation.

  • Method Details

    • getClassData

      Get the ClassData for a particular class. This class may be an implementation class, in which case the IDLNameTranslator handles all Remote interfaces implemented by the class. If the class implements more than one remote interface, and not all of the remote interfaces are related by inheritance, then the type IDs have the implementation class as element 0.
    • getDynamicMethodMarshaller

      DynamicMethodMarshaller getDynamicMethodMarshaller(Method method)
      Given a particular method, return a DynamicMethodMarshaller for that method. This is used for dynamic stubs and ties.
    • getStubFactoryFactory

      PresentationManager.StubFactoryFactory getStubFactoryFactory(boolean isDynamic)
      Return the registered StubFactoryFactory.
    • setStubFactoryFactory

      void setStubFactoryFactory(boolean isDynamic, PresentationManager.StubFactoryFactory sff)
      Register the StubFactoryFactory. Note that a static StubFactoryFactory is always required for IDL. The dynamic stubFactoryFactory is optional.
    • getTie

      Tie getTie()
      Equivalent to getStubFactoryFactory( true ).getTie( null ). Provided for compatibility with earlier versions of PresentationManager as used in the app server. The class argument is ignored in the dynamic case, so this is safe.
    • useDynamicStubs

      boolean useDynamicStubs()
      Returns the value of the com.sun.CORBA.ORBUseDynamicStub property.