本文整理汇总了Java中com.sun.corba.se.spi.copyobject.ObjectCopierFactory类的典型用法代码示例。如果您正苦于以下问题:Java ObjectCopierFactory类的具体用法?Java ObjectCopierFactory怎么用?Java ObjectCopierFactory使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ObjectCopierFactory类属于com.sun.corba.se.spi.copyobject包,在下文中一共展示了ObjectCopierFactory类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: initObjectCopiers
import com.sun.corba.se.spi.copyobject.ObjectCopierFactory; //导入依赖的package包/类
private void initObjectCopiers( ORB orb )
{
// No optimization or policy selection here.
ObjectCopierFactory orbStream =
CopyobjectDefaults.makeORBStreamObjectCopierFactory( orb ) ;
CopierManager cm = orb.getCopierManager() ;
cm.setDefaultId( ORB_STREAM ) ;
cm.registerObjectCopierFactory( orbStream, ORB_STREAM ) ;
}
示例2: getObjectCopierFactory
import com.sun.corba.se.spi.copyobject.ObjectCopierFactory; //导入依赖的package包/类
public ObjectCopierFactory getObjectCopierFactory( int id )
{
return (ObjectCopierFactory)(map.get( id )) ;
}
示例3: getDefaultObjectCopierFactory
import com.sun.corba.se.spi.copyobject.ObjectCopierFactory; //导入依赖的package包/类
public ObjectCopierFactory getDefaultObjectCopierFactory()
{
return (ObjectCopierFactory)(map.get( defaultId )) ;
}
示例4: registerObjectCopierFactory
import com.sun.corba.se.spi.copyobject.ObjectCopierFactory; //导入依赖的package包/类
public void registerObjectCopierFactory( ObjectCopierFactory factory, int id )
{
map.set( id, factory ) ;
}
示例5: getObjectCopierFactory
import com.sun.corba.se.spi.copyobject.ObjectCopierFactory; //导入依赖的package包/类
protected ObjectCopierFactory getObjectCopierFactory()
{
int copierId = mediator.getPolicies().getCopierId() ;
CopierManager cm = getORB().getCopierManager() ;
return cm.getObjectCopierFactory( copierId ) ;
}
示例6: getObjectCopierFactory
import com.sun.corba.se.spi.copyobject.ObjectCopierFactory; //导入依赖的package包/类
public ObjectCopierFactory getObjectCopierFactory()
{
CopierManager cm = getORB().getCopierManager() ;
return cm.getDefaultObjectCopierFactory() ;
}