com.sun.corba.se.spi.protocol.PIHandler Java Examples

The following examples show how to use com.sun.corba.se.spi.protocol.PIHandler. 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
Source File: ObjectAdapterBase.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
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() ;
}
 
Example #2
Source File: POAManagerImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
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 ) ;
    }
}
 
Example #3
Source File: ObjectAdapterBase.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
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() ;
}
 
Example #4
Source File: ObjectAdapterBase.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
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() ;
}
 
Example #5
Source File: POAManagerImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
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 ) ;
    }
}
 
Example #6
Source File: POAManagerImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
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 ) ;
    }
}
 
Example #7
Source File: ObjectAdapterBase.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
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() ;
}
 
Example #8
Source File: ObjectAdapterBase.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
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() ;
}
 
Example #9
Source File: POAManagerImpl.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
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 ) ;
    }
}
 
Example #10
Source File: POAManagerImpl.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
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 ) ;
    }
}
 
Example #11
Source File: ObjectAdapterBase.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
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() ;
}
 
Example #12
Source File: POAManagerImpl.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
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 ) ;
    }
}
 
Example #13
Source File: ObjectAdapterBase.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
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() ;
}
 
Example #14
Source File: ObjectAdapterBase.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
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() ;
}
 
Example #15
Source File: POAManagerImpl.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
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 ) ;
    }
}
 
Example #16
Source File: POAManagerImpl.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
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 ) ;
    }
}
 
Example #17
Source File: POAManagerImpl.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
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 ) ;
    }
}
 
Example #18
Source File: ObjectAdapterBase.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
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() ;
}
 
Example #19
Source File: ObjectAdapterBase.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
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() ;
}
 
Example #20
Source File: POAManagerImpl.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
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 ) ;
    }
}
 
Example #21
Source File: ORBSingleton.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public PIHandler getPIHandler()
{
    return null ;
}
 
Example #22
Source File: POAManagerImpl.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
PIHandler getPIHandler()
{
    return pihandler ;
}
 
Example #23
Source File: ORBImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public PIHandler getPIHandler()
{
    return pihandler ;
}
 
Example #24
Source File: ORBSingleton.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public PIHandler getPIHandler()
{
    return null ;
}
 
Example #25
Source File: ORBImpl.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public PIHandler getPIHandler()
{
    return pihandler ;
}
 
Example #26
Source File: POAManagerImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
PIHandler getPIHandler()
{
    return pihandler ;
}
 
Example #27
Source File: POAManagerImpl.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
PIHandler getPIHandler()
{
    return pihandler ;
}
 
Example #28
Source File: ORBImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public PIHandler getPIHandler()
{
    return pihandler ;
}
 
Example #29
Source File: ORBSingleton.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public PIHandler getPIHandler()
{
    return null ;
}
 
Example #30
Source File: ORBSingleton.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public PIHandler getPIHandler()
{
    return null ;
}