public String getClassName() { return delegate.getClassName(); }
public String getClassName() { return delegate.getClassName(); }
public final Class<?> getClassFromType(Class<?> expectedType, String codebase) throws ClassNotFoundException { if (clazz != null) return clazz; Class<?> specialCase = kSpecialCasesClasses.get(getClassName()); if (specialCase != null) { clazz = specialCase; return specialCase; } else { ClassLoader expectedTypeClassLoader = (expectedType == null ? null : expectedType.getClassLoader()); return Utility.loadClassOfType(getClassName(), codebase, expectedTypeClassLoader, expectedType, expectedTypeClassLoader); } }
public final Class<?> getClassFromType(Class<?> expectedType, String codebase) throws ClassNotFoundException { if (clazz != null) return clazz; Class<?> specialCase = kSpecialCasesClasses.get(getClassName()); if (specialCase != null) { clazz = specialCase; return specialCase; } else { ClassLoader expectedTypeClassLoader = (expectedType == null ? null : expectedType.getClassLoader()); return Utility.loadClassOfType(getClassName(), codebase, expectedTypeClassLoader, expectedType, expectedTypeClassLoader); } }
public String getClassName(String id) { RepositoryId repID = RepositoryId.cache.getId(id); return repID.getClassName(); }
public String getClassName(String id) { RepositoryId repID = RepositoryId.cache.getId(id); return repID.getClassName(); }
public final String getUnqualifiedName() { if (unqualifiedName == null) { String className = getClassName(); int index = className.lastIndexOf('.'); if (index == -1) { unqualifiedName = className; definedInId = "IDL::1.0"; } else { unqualifiedName = className.substring(index); definedInId = "IDL:" + className.substring(0, index).replace('.', '/') + ":1.0"; } } return unqualifiedName; }
public final String getUnqualifiedName() { if (unqualifiedName == null) { String className = getClassName(); int index = className.lastIndexOf('.'); if (index == -1) { unqualifiedName = className; definedInId = "IDL::1.0"; } else { unqualifiedName = className.substring(index); definedInId = "IDL:" + className.substring(0, index).replace('.', '/') + ":1.0"; } } return unqualifiedName; }
public final Class<?> getClassFromType(String url) throws ClassNotFoundException, MalformedURLException { return Util.loadClass(getClassName(), url, null); }
public final Class<?> getClassFromType(String url) throws ClassNotFoundException, MalformedURLException { return Util.loadClass(getClassName(), url, null); }
return clazz; Class<?> specialCase = kSpecialCasesClasses.get(getClassName()); return Util.loadClass(getClassName(), null, null);
return clazz; Class<?> specialCase = kSpecialCasesClasses.get(getClassName()); return Util.loadClass(getClassName(), null, null);
public static String stubNameFromRepID(String repID) { // Convert the typeid to a RepositoryId instance, get the className and mangle it as needed... RepositoryId id = RepositoryId.cache.getId(repID); String className = id.getClassName(); if (id.isIDLType()) { className = idlStubName(className); } else { className = stubName(className); } return className; }
public static String stubNameFromRepID(String repID) { // Convert the typeid to a RepositoryId instance, get the className and mangle it as needed... RepositoryId id = RepositoryId.cache.getId(repID); String className = id.getClassName(); if (id.isIDLType()) { className = idlStubName(className); } else { className = stubName(className); } return className; }
className = RepositoryId.cache.getId(repId).getClassName(); if (className == null) // no repId or unrecognized repId throw wrapper.unableLocateValueHelper(CompletionStatus.COMPLETED_MAYBE);
String className = rid.getClassName(); boolean isIDLInterface = rid.isIDLType();
String className = rid.getClassName(); boolean isIDLInterface = rid.isIDLType();
String className = rid.getClassName(); boolean isIDLInterface = rid.isIDLType();
public Object readResolve() { String repositoryId = ior.getRepositoryId(); String cname = RepositoryId.cache.getId(repositoryId).getClassName(); Class<?> cls = null; try { cls = JDKBridge.loadClass(cname, null, null); } catch (ClassNotFoundException exc) { // XXX log this } PresentationManager pm = org.jboss.com.sun.corba.se.spi.orb.ORB.getPresentationManager(); PresentationManager.ClassData classData = pm.getClassData(cls); InvocationHandlerFactoryImpl ihfactory = (InvocationHandlerFactoryImpl) classData.getInvocationHandlerFactory(); return ihfactory.getInvocationHandler(this); } }
public Object readResolve() { String repositoryId = ior.getRepositoryId(); String cname = RepositoryId.cache.getId(repositoryId).getClassName(); Class<?> cls = null; try { cls = JDKBridge.loadClass(cname, null, null); } catch (ClassNotFoundException exc) { // XXX log this } PresentationManager pm = org.jboss.com.sun.corba.se.spi.orb.ORB.getPresentationManager(); PresentationManager.ClassData classData = pm.getClassData(cls); InvocationHandlerFactoryImpl ihfactory = (InvocationHandlerFactoryImpl) classData.getInvocationHandlerFactory(); return ihfactory.getInvocationHandler(this); } }