*
* @return The class used to create StubHandler instances.
*/
private static StubInitializer getRMIStubInitializer() {
if (initializer == null) {
String factory = (String)AccessController.doPrivileged(new GetSystemPropertyAction("org.apache.yoko.rmi.RMIStubInitializerClass", defaultInitializer));
try {
initializer = (StubInitializer)(Util.loadClass(factory, null, null).newInstance());
} catch (Exception e) {
throw new org.omg.CORBA.INITIALIZE("Can not create RMIStubInitializer: " + factory);
}