1 7 8 package com.sun.corba.se.spi.presentation.rmi ; 9 10 import java.util.Map ; 11 12 import java.lang.reflect.Method ; 13 import java.lang.reflect.InvocationHandler ; 14 15 import javax.rmi.CORBA.Tie ; 16 17 import com.sun.corba.se.spi.orb.ORB ; 18 import com.sun.corba.se.spi.orbutil.proxy.InvocationHandlerFactory ; 19 20 21 33 public interface PresentationManager 34 { 35 37 public interface StubFactoryFactory 38 { 39 43 String getStubName( String className ) ; 44 45 55 PresentationManager.StubFactory createStubFactory( String className, 56 boolean isIDLStub, String remoteCodeBase, Class expectedClass, 57 ClassLoader classLoader); 58 59 61 Tie getTie( Class cls ) ; 62 63 68 boolean createsDynamicStubs() ; 69 } 70 71 74 public interface StubFactory 75 { 76 79 org.omg.CORBA.Object makeStub() ; 80 81 84 String [] getTypeIds() ; 85 } 86 87 public interface ClassData 88 { 89 91 Class getMyClass() ; 92 93 96 IDLNameTranslator getIDLNameTranslator() ; 97 98 101 String [] getTypeIds() ; 102 103 107 InvocationHandlerFactory getInvocationHandlerFactory() ; 108 109 114 Map getDictionary() ; 115 } 116 117 124 ClassData getClassData( Class cls ) ; 125 126 129 DynamicMethodMarshaller getDynamicMethodMarshaller( Method method ) ; 130 131 133 StubFactoryFactory getStubFactoryFactory( boolean isDynamic ) ; 134 135 139 void setStubFactoryFactory( boolean isDynamic, StubFactoryFactory sff ) ; 140 141 146 Tie getTie() ; 147 148 151 boolean useDynamicStubs() ; 152 } 153 | Popular Tags |