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

StubFactoryProxyImpl

public class StubFactoryProxyImpl extends StubFactoryDynamicBase

Fields Summary
Constructors Summary
public StubFactoryProxyImpl(PresentationManager.ClassData classData, ClassLoader loader)

	super( classData, loader ) ;
    
Methods Summary
public org.omg.CORBA.ObjectmakeStub()

	// Construct the dynamic proxy that implements this stub
	// using the composite handler
	InvocationHandlerFactory factory = classData.getInvocationHandlerFactory() ;
	LinkedInvocationHandler handler = 
	    (LinkedInvocationHandler)factory.getInvocationHandler() ;
	Class[] interfaces = factory.getProxyInterfaces() ;
	DynamicStub stub = (DynamicStub)Proxy.newProxyInstance( loader, interfaces, 
	    handler ) ;
	handler.setProxy( (Proxy)stub ) ;
	return stub ;