com.sun.corba.se.impl.javax.rmi.CORBA.Util Java Examples

The following examples show how to use com.sun.corba.se.impl.javax.rmi.CORBA.Util. 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: POAPolicyMediatorBase_R.java    From jdk1.8-source-analysis with Apache License 2.0 6 votes vote down vote up
protected void activateServant( ActiveObjectMap.Key key, AOMEntry entry, Servant servant )
{
    setDelegate(servant, key.id );

    if (orb.shutdownDebugFlag) {
        System.out.println("Activating object " + servant +
            " with POA " + poa);
    }

    activeObjectMap.putServant( servant, entry ) ;

    if (Util.isInstanceDefined()) {
        POAManagerImpl pm = (POAManagerImpl)poa.the_POAManager() ;
        POAFactory factory = pm.getFactory() ;
        factory.registerPOAForServant(poa, servant);
    }
}
 
Example #2
Source File: POAPolicyMediatorBase_R.java    From TencentKona-8 with GNU General Public License v2.0 6 votes vote down vote up
protected void activateServant( ActiveObjectMap.Key key, AOMEntry entry, Servant servant )
{
    setDelegate(servant, key.id );

    if (orb.shutdownDebugFlag) {
        System.out.println("Activating object " + servant +
            " with POA " + poa);
    }

    activeObjectMap.putServant( servant, entry ) ;

    if (Util.isInstanceDefined()) {
        POAManagerImpl pm = (POAManagerImpl)poa.the_POAManager() ;
        POAFactory factory = pm.getFactory() ;
        factory.registerPOAForServant(poa, servant);
    }
}
 
Example #3
Source File: POAPolicyMediatorBase_R.java    From openjdk-8 with GNU General Public License v2.0 6 votes vote down vote up
protected void activateServant( ActiveObjectMap.Key key, AOMEntry entry, Servant servant )
{
    setDelegate(servant, key.id );

    if (orb.shutdownDebugFlag) {
        System.out.println("Activating object " + servant +
            " with POA " + poa);
    }

    activeObjectMap.putServant( servant, entry ) ;

    if (Util.isInstanceDefined()) {
        POAManagerImpl pm = (POAManagerImpl)poa.the_POAManager() ;
        POAFactory factory = pm.getFactory() ;
        factory.registerPOAForServant(poa, servant);
    }
}
 
Example #4
Source File: POAPolicyMediatorBase_R.java    From jdk8u60 with GNU General Public License v2.0 6 votes vote down vote up
protected void activateServant( ActiveObjectMap.Key key, AOMEntry entry, Servant servant )
{
    setDelegate(servant, key.id );

    if (orb.shutdownDebugFlag) {
        System.out.println("Activating object " + servant +
            " with POA " + poa);
    }

    activeObjectMap.putServant( servant, entry ) ;

    if (Util.isInstanceDefined()) {
        POAManagerImpl pm = (POAManagerImpl)poa.the_POAManager() ;
        POAFactory factory = pm.getFactory() ;
        factory.registerPOAForServant(poa, servant);
    }
}
 
Example #5
Source File: POAPolicyMediatorBase_R.java    From openjdk-8-source with GNU General Public License v2.0 6 votes vote down vote up
protected void activateServant( ActiveObjectMap.Key key, AOMEntry entry, Servant servant )
{
    setDelegate(servant, key.id );

    if (orb.shutdownDebugFlag) {
        System.out.println("Activating object " + servant +
            " with POA " + poa);
    }

    activeObjectMap.putServant( servant, entry ) ;

    if (Util.isInstanceDefined()) {
        POAManagerImpl pm = (POAManagerImpl)poa.the_POAManager() ;
        POAFactory factory = pm.getFactory() ;
        factory.registerPOAForServant(poa, servant);
    }
}
 
Example #6
Source File: POAPolicyMediatorBase_R.java    From JDKSourceCode1.8 with MIT License 6 votes vote down vote up
protected void activateServant( ActiveObjectMap.Key key, AOMEntry entry, Servant servant )
{
    setDelegate(servant, key.id );

    if (orb.shutdownDebugFlag) {
        System.out.println("Activating object " + servant +
            " with POA " + poa);
    }

    activeObjectMap.putServant( servant, entry ) ;

    if (Util.isInstanceDefined()) {
        POAManagerImpl pm = (POAManagerImpl)poa.the_POAManager() ;
        POAFactory factory = pm.getFactory() ;
        factory.registerPOAForServant(poa, servant);
    }
}
 
Example #7
Source File: POAPolicyMediatorBase_R.java    From hottub with GNU General Public License v2.0 6 votes vote down vote up
protected void activateServant( ActiveObjectMap.Key key, AOMEntry entry, Servant servant )
{
    setDelegate(servant, key.id );

    if (orb.shutdownDebugFlag) {
        System.out.println("Activating object " + servant +
            " with POA " + poa);
    }

    activeObjectMap.putServant( servant, entry ) ;

    if (Util.isInstanceDefined()) {
        POAManagerImpl pm = (POAManagerImpl)poa.the_POAManager() ;
        POAFactory factory = pm.getFactory() ;
        factory.registerPOAForServant(poa, servant);
    }
}
 
Example #8
Source File: POAPolicyMediatorBase_R.java    From openjdk-jdk8u with GNU General Public License v2.0 6 votes vote down vote up
protected void activateServant( ActiveObjectMap.Key key, AOMEntry entry, Servant servant )
{
    setDelegate(servant, key.id );

    if (orb.shutdownDebugFlag) {
        System.out.println("Activating object " + servant +
            " with POA " + poa);
    }

    activeObjectMap.putServant( servant, entry ) ;

    if (Util.isInstanceDefined()) {
        POAManagerImpl pm = (POAManagerImpl)poa.the_POAManager() ;
        POAFactory factory = pm.getFactory() ;
        factory.registerPOAForServant(poa, servant);
    }
}
 
Example #9
Source File: POAPolicyMediatorBase_R.java    From openjdk-jdk9 with GNU General Public License v2.0 6 votes vote down vote up
protected void activateServant( ActiveObjectMap.Key key, AOMEntry entry, Servant servant )
{
    setDelegate(servant, key.id );

    if (orb.shutdownDebugFlag) {
        System.out.println("Activating object " + servant +
            " with POA " + poa);
    }

    activeObjectMap.putServant( servant, entry ) ;

    if (Util.isInstanceDefined()) {
        POAManagerImpl pm = (POAManagerImpl)poa.the_POAManager() ;
        POAFactory factory = pm.getFactory() ;
        factory.registerPOAForServant(poa, servant);
    }
}
 
Example #10
Source File: POAPolicyMediatorBase_R.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 6 votes vote down vote up
protected void activateServant( ActiveObjectMap.Key key, AOMEntry entry, Servant servant )
{
    setDelegate(servant, key.id );

    if (orb.shutdownDebugFlag) {
        System.out.println("Activating object " + servant +
            " with POA " + poa);
    }

    activeObjectMap.putServant( servant, entry ) ;

    if (Util.isInstanceDefined()) {
        POAManagerImpl pm = (POAManagerImpl)poa.the_POAManager() ;
        POAFactory factory = pm.getFactory() ;
        factory.registerPOAForServant(poa, servant);
    }
}
 
Example #11
Source File: POAPolicyMediatorBase_R.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
protected void deactivateHelper( ActiveObjectMap.Key key, AOMEntry entry,
    Servant s ) throws ObjectNotActive, WrongPolicy
{
    // Default does nothing, but the USE_SERVANT_MANAGER case
    // must handle etherealization

    activeObjectMap.remove(key);

    if (Util.isInstanceDefined()) {
        POAManagerImpl pm = (POAManagerImpl)poa.the_POAManager() ;
        POAFactory factory = pm.getFactory() ;
        factory.unregisterPOAForServant(poa, s);
    }
}
 
Example #12
Source File: POAPolicyMediatorBase_R.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
protected void deactivateHelper( ActiveObjectMap.Key key, AOMEntry entry,
    Servant s ) throws ObjectNotActive, WrongPolicy
{
    // Default does nothing, but the USE_SERVANT_MANAGER case
    // must handle etherealization

    activeObjectMap.remove(key);

    if (Util.isInstanceDefined()) {
        POAManagerImpl pm = (POAManagerImpl)poa.the_POAManager() ;
        POAFactory factory = pm.getFactory() ;
        factory.unregisterPOAForServant(poa, s);
    }
}
 
Example #13
Source File: POAPolicyMediatorBase_R.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
protected void deactivateHelper( ActiveObjectMap.Key key, AOMEntry entry,
    Servant s ) throws ObjectNotActive, WrongPolicy
{
    // Default does nothing, but the USE_SERVANT_MANAGER case
    // must handle etherealization

    activeObjectMap.remove(key);

    if (Util.isInstanceDefined()) {
        POAManagerImpl pm = (POAManagerImpl)poa.the_POAManager() ;
        POAFactory factory = pm.getFactory() ;
        factory.unregisterPOAForServant(poa, s);
    }
}
 
Example #14
Source File: POAPolicyMediatorBase_R.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
protected void deactivateHelper( ActiveObjectMap.Key key, AOMEntry entry,
    Servant s ) throws ObjectNotActive, WrongPolicy
{
    // Default does nothing, but the USE_SERVANT_MANAGER case
    // must handle etherealization

    activeObjectMap.remove(key);

    if (Util.isInstanceDefined()) {
        POAManagerImpl pm = (POAManagerImpl)poa.the_POAManager() ;
        POAFactory factory = pm.getFactory() ;
        factory.unregisterPOAForServant(poa, s);
    }
}
 
Example #15
Source File: POAPolicyMediatorBase_R.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
protected void deactivateHelper( ActiveObjectMap.Key key, AOMEntry entry,
    Servant s ) throws ObjectNotActive, WrongPolicy
{
    // Default does nothing, but the USE_SERVANT_MANAGER case
    // must handle etherealization

    activeObjectMap.remove(key);

    if (Util.isInstanceDefined()) {
        POAManagerImpl pm = (POAManagerImpl)poa.the_POAManager() ;
        POAFactory factory = pm.getFactory() ;
        factory.unregisterPOAForServant(poa, s);
    }
}
 
Example #16
Source File: POAPolicyMediatorBase_R.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
protected void deactivateHelper( ActiveObjectMap.Key key, AOMEntry entry,
    Servant s ) throws ObjectNotActive, WrongPolicy
{
    // Default does nothing, but the USE_SERVANT_MANAGER case
    // must handle etherealization

    activeObjectMap.remove(key);

    if (Util.isInstanceDefined()) {
        POAManagerImpl pm = (POAManagerImpl)poa.the_POAManager() ;
        POAFactory factory = pm.getFactory() ;
        factory.unregisterPOAForServant(poa, s);
    }
}
 
Example #17
Source File: POAPolicyMediatorBase_R.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
protected void deactivateHelper( ActiveObjectMap.Key key, AOMEntry entry,
    Servant s ) throws ObjectNotActive, WrongPolicy
{
    // Default does nothing, but the USE_SERVANT_MANAGER case
    // must handle etherealization

    activeObjectMap.remove(key);

    if (Util.isInstanceDefined()) {
        POAManagerImpl pm = (POAManagerImpl)poa.the_POAManager() ;
        POAFactory factory = pm.getFactory() ;
        factory.unregisterPOAForServant(poa, s);
    }
}
 
Example #18
Source File: POAPolicyMediatorBase_R.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
protected void deactivateHelper( ActiveObjectMap.Key key, AOMEntry entry,
    Servant s ) throws ObjectNotActive, WrongPolicy
{
    // Default does nothing, but the USE_SERVANT_MANAGER case
    // must handle etherealization

    activeObjectMap.remove(key);

    if (Util.isInstanceDefined()) {
        POAManagerImpl pm = (POAManagerImpl)poa.the_POAManager() ;
        POAFactory factory = pm.getFactory() ;
        factory.unregisterPOAForServant(poa, s);
    }
}
 
Example #19
Source File: POAPolicyMediatorBase_R.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
protected void deactivateHelper( ActiveObjectMap.Key key, AOMEntry entry,
    Servant s ) throws ObjectNotActive, WrongPolicy
{
    // Default does nothing, but the USE_SERVANT_MANAGER case
    // must handle etherealization

    activeObjectMap.remove(key);

    if (Util.isInstanceDefined()) {
        POAManagerImpl pm = (POAManagerImpl)poa.the_POAManager() ;
        POAFactory factory = pm.getFactory() ;
        factory.unregisterPOAForServant(poa, s);
    }
}
 
Example #20
Source File: POAPolicyMediatorBase_R.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
protected void deactivateHelper( ActiveObjectMap.Key key, AOMEntry entry,
    Servant s ) throws ObjectNotActive, WrongPolicy
{
    // Default does nothing, but the USE_SERVANT_MANAGER case
    // must handle etherealization

    activeObjectMap.remove(key);

    if (Util.isInstanceDefined()) {
        POAManagerImpl pm = (POAManagerImpl)poa.the_POAManager() ;
        POAFactory factory = pm.getFactory() ;
        factory.unregisterPOAForServant(poa, s);
    }
}
 
Example #21
Source File: TOAFactory.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public void shutdown( boolean waitForCompletion )
{
    if (Util.isInstanceDefined()) {
        Util.getInstance().unregisterTargetsForORB(orb);
    }
}
 
Example #22
Source File: TOAFactory.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public void shutdown( boolean waitForCompletion )
{
    if (Util.isInstanceDefined()) {
        Util.getInstance().unregisterTargetsForORB(orb);
    }
}
 
Example #23
Source File: TOAFactory.java    From JDKSourceCode1.8 with MIT License 4 votes vote down vote up
public void shutdown( boolean waitForCompletion )
{
    if (Util.isInstanceDefined()) {
        Util.getInstance().unregisterTargetsForORB(orb);
    }
}
 
Example #24
Source File: TOAFactory.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public void shutdown( boolean waitForCompletion )
{
    if (Util.isInstanceDefined()) {
        Util.getInstance().unregisterTargetsForORB(orb);
    }
}
 
Example #25
Source File: TOAFactory.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
public void shutdown( boolean waitForCompletion )
{
    if (Util.isInstanceDefined()) {
        Util.getInstance().unregisterTargetsForORB(orb);
    }
}
 
Example #26
Source File: TOAFactory.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public void shutdown( boolean waitForCompletion )
{
    if (Util.isInstanceDefined()) {
        Util.getInstance().unregisterTargetsForORB(orb);
    }
}
 
Example #27
Source File: TOAFactory.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
public void shutdown( boolean waitForCompletion )
{
    if (Util.isInstanceDefined()) {
        Util.getInstance().unregisterTargetsForORB(orb);
    }
}
 
Example #28
Source File: TOAFactory.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public void shutdown( boolean waitForCompletion )
{
    if (Util.isInstanceDefined()) {
        Util.getInstance().unregisterTargetsForORB(orb);
    }
}
 
Example #29
Source File: TOAFactory.java    From jdk1.8-source-analysis with Apache License 2.0 4 votes vote down vote up
public void shutdown( boolean waitForCompletion )
{
    if (Util.isInstanceDefined()) {
        Util.getInstance().unregisterTargetsForORB(orb);
    }
}
 
Example #30
Source File: TOAFactory.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public void shutdown( boolean waitForCompletion )
{
    if (Util.isInstanceDefined()) {
        Util.getInstance().unregisterTargetsForORB(orb);
    }
}