Java Code Examples for com.sun.corba.se.impl.javax.rmi.CORBA.Util#isInstanceDefined()

The following examples show how to use com.sun.corba.se.impl.javax.rmi.CORBA.Util#isInstanceDefined() . 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 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 2
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 3
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 4
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 5
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 6
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 7
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 8
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 9
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 10
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 11
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 12
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 13
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 14
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 15
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);
    }
}
 
Example 16
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 17
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 18
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 19
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 20
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);
    }
}