本文整理汇总了Java中com.sun.corba.se.spi.protocol.PIHandler类的典型用法代码示例。如果您正苦于以下问题:Java PIHandler类的具体用法?Java PIHandler怎么用?Java PIHandler使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
PIHandler类属于com.sun.corba.se.spi.protocol包,在下文中一共展示了PIHandler类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: initializeTemplate
import com.sun.corba.se.spi.protocol.PIHandler; //导入依赖的package包/类
final public void initializeTemplate( ObjectKeyTemplate oktemp,
boolean notifyORB, Policies policies, String codebase,
String objectAdapterManagerId, ObjectAdapterId objectAdapterId)
{
adapterId = oktemp.getAdapterId() ;
iortemp = IORFactories.makeIORTemplate(oktemp) ;
// This calls acceptors which create profiles and may
// add tagged components to those profiles.
orb.getCorbaTransportManager().addToIORTemplate(
iortemp, policies,
codebase, objectAdapterManagerId, objectAdapterId);
adapterTemplate = IORFactories.makeObjectReferenceTemplate( orb,
iortemp ) ;
currentFactory = adapterTemplate ;
if (notifyORB) {
PIHandler pih = orb.getPIHandler() ;
if (pih != null)
// This runs the IORInterceptors.
pih.objectAdapterCreated( this ) ;
}
iortemp.makeImmutable() ;
}
示例2: POAManagerImpl
import com.sun.corba.se.spi.protocol.PIHandler; //导入依赖的package包/类
POAManagerImpl( POAFactory factory, PIHandler pihandler )
{
this.factory = factory ;
factory.addPoaManager(this);
this.pihandler = pihandler ;
myId = factory.newPOAManagerId() ;
state = State.HOLDING;
debug = factory.getORB().poaDebugFlag ;
explicitStateChange = false ;
if (debug) {
ORBUtility.dprint( this, "Creating POAManagerImpl " + this ) ;
}
}
示例3: getPIHandler
import com.sun.corba.se.spi.protocol.PIHandler; //导入依赖的package包/类
PIHandler getPIHandler()
{
return pihandler ;
}
示例4: getPIHandler
import com.sun.corba.se.spi.protocol.PIHandler; //导入依赖的package包/类
public PIHandler getPIHandler()
{
return pihandler ;
}
示例5: getPIHandler
import com.sun.corba.se.spi.protocol.PIHandler; //导入依赖的package包/类
public PIHandler getPIHandler()
{
return null ;
}