Methods Summary |
---|
public static RepositoryIdStrings | getRepIdStringsFactory()Returns the latest version RepositoryIdStrings instance
return currentDelegator;
|
public static RepositoryIdStrings | getRepIdStringsFactory(com.sun.corba.se.spi.orb.ORB orb)Checks the version of the ORB and returns the appropriate
RepositoryIdStrings instance.
if (orb != null) {
switch (orb.getORBVersion().getORBType()) {
case ORBVersion.NEWER:
case ORBVersion.FOREIGN:
case ORBVersion.JDK1_3_1_01:
return currentDelegator;
case ORBVersion.OLD:
return legacyDelegator;
case ORBVersion.NEW:
return ladybirdDelegator;
default:
return currentDelegator;
}
} else
return currentDelegator;
|
public static RepositoryIdUtility | getRepIdUtility()Returns the latest version RepositoryIdUtility instance
return currentDelegator;
|
public static RepositoryIdUtility | getRepIdUtility(com.sun.corba.se.spi.orb.ORB orb)Checks the version of the ORB and returns the appropriate
RepositoryIdUtility instance.
if (orb != null) {
switch (orb.getORBVersion().getORBType()) {
case ORBVersion.NEWER:
case ORBVersion.FOREIGN:
case ORBVersion.JDK1_3_1_01:
return currentDelegator;
case ORBVersion.OLD:
return legacyDelegator;
case ORBVersion.NEW:
return ladybirdDelegator;
default:
return currentDelegator;
}
} else
return currentDelegator;
|