Java Code Examples for com.sun.corba.se.spi.servicecontext.UEInfoServiceContext

The following examples show how to use com.sun.corba.se.spi.servicecontext.UEInfoServiceContext. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
private void initServiceContextRegistry( ORB orb )
{
    ServiceContextRegistry scr = orb.getServiceContextRegistry() ;

    scr.register( UEInfoServiceContext.class ) ;
    scr.register( CodeSetServiceContext.class ) ;
    scr.register( SendingContextServiceContext.class ) ;
    scr.register( ORBVersionServiceContext.class ) ;
    scr.register( MaxStreamFormatVersionServiceContext.class ) ;
}
 
Example 2
private void initServiceContextRegistry( ORB orb )
{
    ServiceContextRegistry scr = orb.getServiceContextRegistry() ;

    scr.register( UEInfoServiceContext.class ) ;
    scr.register( CodeSetServiceContext.class ) ;
    scr.register( SendingContextServiceContext.class ) ;
    scr.register( ORBVersionServiceContext.class ) ;
    scr.register( MaxStreamFormatVersionServiceContext.class ) ;
}
 
Example 3
Source Project: jdk8u60   Source File: ORBConfiguratorImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
private void initServiceContextRegistry( ORB orb )
{
    ServiceContextRegistry scr = orb.getServiceContextRegistry() ;

    scr.register( UEInfoServiceContext.class ) ;
    scr.register( CodeSetServiceContext.class ) ;
    scr.register( SendingContextServiceContext.class ) ;
    scr.register( ORBVersionServiceContext.class ) ;
    scr.register( MaxStreamFormatVersionServiceContext.class ) ;
}
 
Example 4
Source Project: JDKSourceCode1.8   Source File: ORBConfiguratorImpl.java    License: MIT License 5 votes vote down vote up
private void initServiceContextRegistry( ORB orb )
{
    ServiceContextRegistry scr = orb.getServiceContextRegistry() ;

    scr.register( UEInfoServiceContext.class ) ;
    scr.register( CodeSetServiceContext.class ) ;
    scr.register( SendingContextServiceContext.class ) ;
    scr.register( ORBVersionServiceContext.class ) ;
    scr.register( MaxStreamFormatVersionServiceContext.class ) ;
}
 
Example 5
private void initServiceContextRegistry( ORB orb )
{
    ServiceContextRegistry scr = orb.getServiceContextRegistry() ;

    scr.register( UEInfoServiceContext.class ) ;
    scr.register( CodeSetServiceContext.class ) ;
    scr.register( SendingContextServiceContext.class ) ;
    scr.register( ORBVersionServiceContext.class ) ;
    scr.register( MaxStreamFormatVersionServiceContext.class ) ;
}
 
Example 6
private void initServiceContextRegistry( ORB orb )
{
    ServiceContextRegistry scr = orb.getServiceContextRegistry() ;

    scr.register( UEInfoServiceContext.class ) ;
    scr.register( CodeSetServiceContext.class ) ;
    scr.register( SendingContextServiceContext.class ) ;
    scr.register( ORBVersionServiceContext.class ) ;
    scr.register( MaxStreamFormatVersionServiceContext.class ) ;
}
 
Example 7
private void initServiceContextRegistry( ORB orb )
{
    ServiceContextRegistry scr = orb.getServiceContextRegistry() ;

    scr.register( UEInfoServiceContext.class ) ;
    scr.register( CodeSetServiceContext.class ) ;
    scr.register( SendingContextServiceContext.class ) ;
    scr.register( ORBVersionServiceContext.class ) ;
    scr.register( MaxStreamFormatVersionServiceContext.class ) ;
}
 
Example 8
public CorbaMessageMediator createUnknownExceptionResponse(
    CorbaMessageMediator messageMediator, UnknownException ex)
{
    // NOTE: This service context container gets augmented in
    // tail call.
    ServiceContexts contexts = null;
    SystemException sys = new UNKNOWN( 0,
        CompletionStatus.COMPLETED_MAYBE);
    contexts = new ServiceContexts( (ORB)messageMediator.getBroker() );
    UEInfoServiceContext uei = new UEInfoServiceContext(sys);
    contexts.put( uei ) ;
    return createSystemExceptionResponse(messageMediator, sys, contexts);
}
 
Example 9
Source Project: hottub   Source File: ORBConfiguratorImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
private void initServiceContextRegistry( ORB orb )
{
    ServiceContextRegistry scr = orb.getServiceContextRegistry() ;

    scr.register( UEInfoServiceContext.class ) ;
    scr.register( CodeSetServiceContext.class ) ;
    scr.register( SendingContextServiceContext.class ) ;
    scr.register( ORBVersionServiceContext.class ) ;
    scr.register( MaxStreamFormatVersionServiceContext.class ) ;
}
 
Example 10
public CorbaMessageMediator createUnknownExceptionResponse(
    CorbaMessageMediator messageMediator, UnknownException ex)
{
    // NOTE: This service context container gets augmented in
    // tail call.
    ServiceContexts contexts = null;
    SystemException sys = new UNKNOWN( 0,
        CompletionStatus.COMPLETED_MAYBE);
    contexts = new ServiceContexts( (ORB)messageMediator.getBroker() );
    UEInfoServiceContext uei = new UEInfoServiceContext(sys);
    contexts.put( uei ) ;
    return createSystemExceptionResponse(messageMediator, sys, contexts);
}
 
Example 11
private void initServiceContextRegistry( ORB orb )
{
    ServiceContextRegistry scr = orb.getServiceContextRegistry() ;

    scr.register( UEInfoServiceContext.class ) ;
    scr.register( CodeSetServiceContext.class ) ;
    scr.register( SendingContextServiceContext.class ) ;
    scr.register( ORBVersionServiceContext.class ) ;
    scr.register( MaxStreamFormatVersionServiceContext.class ) ;
}
 
Example 12
public CorbaMessageMediator createUnknownExceptionResponse(
    CorbaMessageMediator messageMediator, UnknownException ex)
{
    // NOTE: This service context container gets augmented in
    // tail call.
    ServiceContexts contexts = null;
    SystemException sys = new UNKNOWN( 0,
        CompletionStatus.COMPLETED_MAYBE);
    contexts = new ServiceContexts( (ORB)messageMediator.getBroker() );
    UEInfoServiceContext uei = new UEInfoServiceContext(sys);
    contexts.put( uei ) ;
    return createSystemExceptionResponse(messageMediator, sys, contexts);
}
 
Example 13
private void initServiceContextRegistry( ORB orb )
{
    ServiceContextRegistry scr = orb.getServiceContextRegistry() ;

    scr.register( UEInfoServiceContext.class ) ;
    scr.register( CodeSetServiceContext.class ) ;
    scr.register( SendingContextServiceContext.class ) ;
    scr.register( ORBVersionServiceContext.class ) ;
    scr.register( MaxStreamFormatVersionServiceContext.class ) ;
}