本文整理汇总了Java中com.sun.corba.se.impl.logging.InterceptorsSystemException.get方法的典型用法代码示例。如果您正苦于以下问题:Java InterceptorsSystemException.get方法的具体用法?Java InterceptorsSystemException.get怎么用?Java InterceptorsSystemException.get使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.sun.corba.se.impl.logging.InterceptorsSystemException
的用法示例。
在下文中一共展示了InterceptorsSystemException.get方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: ORBInitInfoImpl
import com.sun.corba.se.impl.logging.InterceptorsSystemException; //导入方法依赖的package包/类
/**
* Creates a new ORBInitInfoImpl object (scoped to package)
*
* @param args The arguments passed to ORB_init.
*/
ORBInitInfoImpl( ORB orb, String[] args,
String orbId, CodecFactory codecFactory )
{
this.orb = orb;
wrapper = InterceptorsSystemException.get( orb,
CORBALogDomains.RPC_PROTOCOL ) ;
orbutilWrapper = ORBUtilSystemException.get( orb,
CORBALogDomains.RPC_PROTOCOL ) ;
omgWrapper = OMGSystemException.get( orb,
CORBALogDomains.RPC_PROTOCOL ) ;
this.args = args;
this.orbId = orbId;
this.codecFactory = codecFactory;
}
示例2: CorbaMessageMediatorImpl
import com.sun.corba.se.impl.logging.InterceptorsSystemException; //导入方法依赖的package包/类
public CorbaMessageMediatorImpl(ORB orb,
Connection connection)
{
this.orb = orb;
this.connection = (CorbaConnection)connection;
this.wrapper = ORBUtilSystemException.get( orb,
CORBALogDomains.RPC_PROTOCOL ) ;
this.interceptorWrapper = InterceptorsSystemException.get( orb,
CORBALogDomains.RPC_PROTOCOL ) ;
}
示例3: RequestInfoImpl
import com.sun.corba.se.impl.logging.InterceptorsSystemException; //导入方法依赖的package包/类
/**
* Creates a new RequestInfoImpl object.
*/
public RequestInfoImpl( ORB myORB ) {
super();
this.myORB = myORB;
wrapper = InterceptorsSystemException.get( myORB,
CORBALogDomains.RPC_PROTOCOL ) ;
stdWrapper = OMGSystemException.get( myORB,
CORBALogDomains.RPC_PROTOCOL ) ;
// Capture the current TSC and make it the RSC of this request.
PICurrent current = (PICurrent)(myORB.getPIHandler().getPICurrent());
slotTable = current.getSlotTable( );
}
示例4: PIHandlerImpl
import com.sun.corba.se.impl.logging.InterceptorsSystemException; //导入方法依赖的package包/类
public PIHandlerImpl( ORB orb, String[] args ) {
this.orb = orb ;
wrapper = InterceptorsSystemException.get( orb,
CORBALogDomains.RPC_PROTOCOL ) ;
orbutilWrapper = ORBUtilSystemException.get( orb,
CORBALogDomains.RPC_PROTOCOL ) ;
omgWrapper = OMGSystemException.get( orb,
CORBALogDomains.RPC_PROTOCOL ) ;
arguments = args ;
// Create codec factory:
codecFactory = new CodecFactoryImpl( orb );
// Create new interceptor list:
interceptorList = new InterceptorList( wrapper );
// Create a new PICurrent.
current = new PICurrent( orb );
// Create new interceptor invoker, initially disabled:
interceptorInvoker = new InterceptorInvoker( orb, interceptorList,
current );
// Register the PI current and Codec factory objects
orb.getLocalResolver().register( ORBConstants.PI_CURRENT_NAME,
ClosureFactory.makeConstant( current ) ) ;
orb.getLocalResolver().register( ORBConstants.CODEC_FACTORY_NAME,
ClosureFactory.makeConstant( codecFactory ) ) ;
}
示例5: SlotTableStack
import com.sun.corba.se.impl.logging.InterceptorsSystemException; //导入方法依赖的package包/类
/**
* Constructs the stack and and SlotTablePool
*/
SlotTableStack( ORB orb, SlotTable table ) {
this.orb = orb;
wrapper = InterceptorsSystemException.get( orb, CORBALogDomains.RPC_PROTOCOL ) ;
currentIndex = 0;
tableContainer = new java.util.ArrayList( );
tablePool = new SlotTablePool( );
// SlotTableStack will be created with one SlotTable on the stack.
// This table is used as the reference to query for number of
// allocated slots to create other slottables.
tableContainer.add( currentIndex, table );
currentIndex++;
}
示例6: IORInfoImpl
import com.sun.corba.se.impl.logging.InterceptorsSystemException; //导入方法依赖的package包/类
/**
* Creates a new IORInfo implementation. This info object will establish
* tagged components with the template for the provided IOR Template.
*/
IORInfoImpl( ObjectAdapter adapter ) {
this.orb = adapter.getORB() ;
orbutilWrapper = ORBUtilSystemException.get( orb,
CORBALogDomains.RPC_PROTOCOL ) ;
wrapper = InterceptorsSystemException.get( orb,
CORBALogDomains.RPC_PROTOCOL ) ;
omgWrapper = OMGSystemException.get( orb,
CORBALogDomains.RPC_PROTOCOL ) ;
this.adapter = adapter;
}