FileDocCategorySizeDatePackage
TaggedComponentFactoryFinderImpl.javaAPI DocJava SE 5 API1616Fri Aug 26 14:54:24 BST 2005com.sun.corba.se.impl.ior

TaggedComponentFactoryFinderImpl

public class TaggedComponentFactoryFinderImpl extends com.sun.corba.se.impl.ior.IdentifiableFactoryFinderBase implements com.sun.corba.se.spi.ior.TaggedComponentFactoryFinder
author
Ken Cavanaugh

Fields Summary
Constructors Summary
public TaggedComponentFactoryFinderImpl(com.sun.corba.se.spi.orb.ORB orb)

 
	super( orb ) ;
    
Methods Summary
public com.sun.corba.se.spi.ior.TaggedComponentcreate(org.omg.CORBA.ORB orb, org.omg.IOP.TaggedComponent comp)

	EncapsOutputStream os = new EncapsOutputStream( (ORB)orb ) ;
	org.omg.IOP.TaggedComponentHelper.write( os, comp ) ;
	InputStream is = (InputStream)(os.create_input_stream() ) ;
	// Skip the component ID: we just wrote it out above
	is.read_ulong() ;

	return (TaggedComponent)create( comp.tag, is ) ;
    
public com.sun.corba.se.spi.ior.IdentifiablehandleMissingFactory(int id, org.omg.CORBA_2_3.portable.InputStream is)

	return new GenericTaggedComponent( id, is ) ;