FileDocCategorySizeDatePackage
PresentationManager.javaAPI DocJava SE 6 API5187Tue Jun 10 00:21:50 BST 2008com.sun.corba.se.spi.presentation.rmi

PresentationManager

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.

Fields Summary
Constructors Summary
Methods Summary
public com.sun.corba.se.spi.presentation.rmi.PresentationManager$ClassDatagetClassData(java.lang.Class cls)
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.

public DynamicMethodMarshallergetDynamicMethodMarshaller(java.lang.reflect.Method method)
Given a particular method, return a DynamicMethodMarshaller for that method. This is used for dynamic stubs and ties.

public com.sun.corba.se.spi.presentation.rmi.PresentationManager$StubFactoryFactorygetStubFactoryFactory(boolean isDynamic)
Return the registered StubFactoryFactory.

public javax.rmi.CORBA.TiegetTie()
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.

public voidsetStubFactoryFactory(boolean isDynamic, com.sun.corba.se.spi.presentation.rmi.PresentationManager$StubFactoryFactory sff)
Register the StubFactoryFactory. Note that a static StubFactoryFactory is always required for IDL. The dynamic stubFactoryFactory is optional.

public booleanuseDynamicStubs()
Returns the value of the com.sun.CORBA.ORBUseDynamicStub property.