FileDocCategorySizeDatePackage
StubFactoryStaticImpl.javaAPI DocJava SE 5 API866Fri Aug 26 14:54:30 BST 2005com.sun.corba.se.impl.presentation.rmi

StubFactoryStaticImpl

public class StubFactoryStaticImpl extends StubFactoryBase

Fields Summary
private Class
stubClass
Constructors Summary
public StubFactoryStaticImpl(Class cls)

	super( null ) ;
	this.stubClass = cls;
    
Methods Summary
public org.omg.CORBA.ObjectmakeStub()

	org.omg.CORBA.Object stub = null;
	try {
	    stub = (org.omg.CORBA.Object) stubClass.newInstance();
	} catch (InstantiationException e) {
	    throw new RuntimeException(e);
	} catch (IllegalAccessException e) {
	    throw new RuntimeException(e);
	}
	return stub ;