try IDLNameTranslator nameTranslator = IDLNameTranslatorImpl.get(remoteInterface); System.out.println(nameTranslator);
try IDLNameTranslator nameTranslator = IDLNameTranslatorImpl.get(remoteInterface); System.out.println(nameTranslator);
public ClassDataImpl(Class<?> cls) { this.cls = cls; Graph gr = new GraphImpl(); NodeImpl root = new NodeImpl(cls); Set<Node> rootSet = getRootSet(cls, root, gr); // At this point, rootSet contains those remote interfaces that are not related by inheritance, and gr // contains all reachable remote interfaces. Class<?>[] interfaces = getInterfaces(rootSet); nameTranslator = IDLNameTranslatorImpl.get(interfaces); typeIds = makeTypeIds(root, gr, rootSet); ihfactory = new InvocationHandlerFactoryImpl(PresentationManagerImpl.this, this); dictionary = new HashMap<Object, Object>(); }
public ClassDataImpl(Class<?> cls) { this.cls = cls; Graph gr = new GraphImpl(); NodeImpl root = new NodeImpl(cls); Set<Node> rootSet = getRootSet(cls, root, gr); // At this point, rootSet contains those remote interfaces that are not related by inheritance, and gr // contains all reachable remote interfaces. Class<?>[] interfaces = getInterfaces(rootSet); nameTranslator = IDLNameTranslatorImpl.get(interfaces); typeIds = makeTypeIds(root, gr, rootSet); ihfactory = new InvocationHandlerFactoryImpl(PresentationManagerImpl.this, this); dictionary = new HashMap<Object, Object>(); }