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

TaggedComponentFactoryFinderImpl

public class TaggedComponentFactoryFinderImpl extends IdentifiableFactoryFinderBase implements TaggedComponentFactoryFinder
author
Ken Cavanaugh

Fields Summary
Constructors Summary
public TaggedComponentFactoryFinderImpl(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 ) ;