Java Code Examples for com.sun.corba.se.impl.orbutil.ORBConstants#TRANSIENT_SCID
The following examples show how to use
com.sun.corba.se.impl.orbutil.ORBConstants#TRANSIENT_SCID .
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.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
POAPolicyMediatorBase( Policies policies, POAImpl poa ) { if (policies.isSingleThreaded()) throw poa.invocationWrapper().singleThreadNotSupported() ; POAManagerImpl poam = (POAManagerImpl)(poa.the_POAManager()) ; POAFactory poaf = poam.getFactory() ; delegateImpl = (DelegateImpl)(poaf.getDelegateImpl()) ; this.policies = policies ; this.poa = poa ; orb = (ORB)poa.getORB() ; switch (policies.servantCachingLevel()) { case ServantCachingPolicy.NO_SERVANT_CACHING : scid = ORBConstants.TRANSIENT_SCID ; break ; case ServantCachingPolicy.FULL_SEMANTICS : scid = ORBConstants.SC_TRANSIENT_SCID ; break ; case ServantCachingPolicy.INFO_ONLY_SEMANTICS : scid = ORBConstants.IISC_TRANSIENT_SCID ; break ; case ServantCachingPolicy.MINIMAL_SEMANTICS : scid = ORBConstants.MINSC_TRANSIENT_SCID ; break ; } if ( policies.isTransient() ) { serverid = orb.getTransientServerId(); } else { serverid = orb.getORBData().getPersistentServerId(); scid = ORBConstants.makePersistent( scid ) ; } isImplicit = policies.isImplicitlyActivated() ; isUnique = policies.isUniqueIds() ; isSystemId = policies.isSystemAssignedIds() ; sysIdCounter = 0 ; }
Example 2
Source File: POAPolicyMediatorBase.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
POAPolicyMediatorBase( Policies policies, POAImpl poa ) { if (policies.isSingleThreaded()) throw poa.invocationWrapper().singleThreadNotSupported() ; POAManagerImpl poam = (POAManagerImpl)(poa.the_POAManager()) ; POAFactory poaf = poam.getFactory() ; delegateImpl = (DelegateImpl)(poaf.getDelegateImpl()) ; this.policies = policies ; this.poa = poa ; orb = (ORB)poa.getORB() ; switch (policies.servantCachingLevel()) { case ServantCachingPolicy.NO_SERVANT_CACHING : scid = ORBConstants.TRANSIENT_SCID ; break ; case ServantCachingPolicy.FULL_SEMANTICS : scid = ORBConstants.SC_TRANSIENT_SCID ; break ; case ServantCachingPolicy.INFO_ONLY_SEMANTICS : scid = ORBConstants.IISC_TRANSIENT_SCID ; break ; case ServantCachingPolicy.MINIMAL_SEMANTICS : scid = ORBConstants.MINSC_TRANSIENT_SCID ; break ; } if ( policies.isTransient() ) { serverid = orb.getTransientServerId(); } else { serverid = orb.getORBData().getPersistentServerId(); scid = ORBConstants.makePersistent( scid ) ; } isImplicit = policies.isImplicitlyActivated() ; isUnique = policies.isUniqueIds() ; isSystemId = policies.isSystemAssignedIds() ; sysIdCounter = 0 ; }
Example 3
Source File: POAPolicyMediatorBase.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
POAPolicyMediatorBase( Policies policies, POAImpl poa ) { if (policies.isSingleThreaded()) throw poa.invocationWrapper().singleThreadNotSupported() ; POAManagerImpl poam = (POAManagerImpl)(poa.the_POAManager()) ; POAFactory poaf = poam.getFactory() ; delegateImpl = (DelegateImpl)(poaf.getDelegateImpl()) ; this.policies = policies ; this.poa = poa ; orb = (ORB)poa.getORB() ; switch (policies.servantCachingLevel()) { case ServantCachingPolicy.NO_SERVANT_CACHING : scid = ORBConstants.TRANSIENT_SCID ; break ; case ServantCachingPolicy.FULL_SEMANTICS : scid = ORBConstants.SC_TRANSIENT_SCID ; break ; case ServantCachingPolicy.INFO_ONLY_SEMANTICS : scid = ORBConstants.IISC_TRANSIENT_SCID ; break ; case ServantCachingPolicy.MINIMAL_SEMANTICS : scid = ORBConstants.MINSC_TRANSIENT_SCID ; break ; } if ( policies.isTransient() ) { serverid = orb.getTransientServerId(); } else { serverid = orb.getORBData().getPersistentServerId(); scid = ORBConstants.makePersistent( scid ) ; } isImplicit = policies.isImplicitlyActivated() ; isUnique = policies.isUniqueIds() ; isSystemId = policies.isSystemAssignedIds() ; sysIdCounter = 0 ; }
Example 4
Source File: POAPolicyMediatorBase.java From JDKSourceCode1.8 with MIT License | 5 votes |
POAPolicyMediatorBase( Policies policies, POAImpl poa ) { if (policies.isSingleThreaded()) throw poa.invocationWrapper().singleThreadNotSupported() ; POAManagerImpl poam = (POAManagerImpl)(poa.the_POAManager()) ; POAFactory poaf = poam.getFactory() ; delegateImpl = (DelegateImpl)(poaf.getDelegateImpl()) ; this.policies = policies ; this.poa = poa ; orb = (ORB)poa.getORB() ; switch (policies.servantCachingLevel()) { case ServantCachingPolicy.NO_SERVANT_CACHING : scid = ORBConstants.TRANSIENT_SCID ; break ; case ServantCachingPolicy.FULL_SEMANTICS : scid = ORBConstants.SC_TRANSIENT_SCID ; break ; case ServantCachingPolicy.INFO_ONLY_SEMANTICS : scid = ORBConstants.IISC_TRANSIENT_SCID ; break ; case ServantCachingPolicy.MINIMAL_SEMANTICS : scid = ORBConstants.MINSC_TRANSIENT_SCID ; break ; } if ( policies.isTransient() ) { serverid = orb.getTransientServerId(); } else { serverid = orb.getORBData().getPersistentServerId(); scid = ORBConstants.makePersistent( scid ) ; } isImplicit = policies.isImplicitlyActivated() ; isUnique = policies.isUniqueIds() ; isSystemId = policies.isSystemAssignedIds() ; sysIdCounter = 0 ; }
Example 5
Source File: POAPolicyMediatorBase.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
POAPolicyMediatorBase( Policies policies, POAImpl poa ) { if (policies.isSingleThreaded()) throw poa.invocationWrapper().singleThreadNotSupported() ; POAManagerImpl poam = (POAManagerImpl)(poa.the_POAManager()) ; POAFactory poaf = poam.getFactory() ; delegateImpl = (DelegateImpl)(poaf.getDelegateImpl()) ; this.policies = policies ; this.poa = poa ; orb = (ORB)poa.getORB() ; switch (policies.servantCachingLevel()) { case ServantCachingPolicy.NO_SERVANT_CACHING : scid = ORBConstants.TRANSIENT_SCID ; break ; case ServantCachingPolicy.FULL_SEMANTICS : scid = ORBConstants.SC_TRANSIENT_SCID ; break ; case ServantCachingPolicy.INFO_ONLY_SEMANTICS : scid = ORBConstants.IISC_TRANSIENT_SCID ; break ; case ServantCachingPolicy.MINIMAL_SEMANTICS : scid = ORBConstants.MINSC_TRANSIENT_SCID ; break ; } if ( policies.isTransient() ) { serverid = orb.getTransientServerId(); } else { serverid = orb.getORBData().getPersistentServerId(); scid = ORBConstants.makePersistent( scid ) ; } isImplicit = policies.isImplicitlyActivated() ; isUnique = policies.isUniqueIds() ; isSystemId = policies.isSystemAssignedIds() ; sysIdCounter = 0 ; }
Example 6
Source File: POAPolicyMediatorBase.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
POAPolicyMediatorBase( Policies policies, POAImpl poa ) { if (policies.isSingleThreaded()) throw poa.invocationWrapper().singleThreadNotSupported() ; POAManagerImpl poam = (POAManagerImpl)(poa.the_POAManager()) ; POAFactory poaf = poam.getFactory() ; delegateImpl = (DelegateImpl)(poaf.getDelegateImpl()) ; this.policies = policies ; this.poa = poa ; orb = (ORB)poa.getORB() ; switch (policies.servantCachingLevel()) { case ServantCachingPolicy.NO_SERVANT_CACHING : scid = ORBConstants.TRANSIENT_SCID ; break ; case ServantCachingPolicy.FULL_SEMANTICS : scid = ORBConstants.SC_TRANSIENT_SCID ; break ; case ServantCachingPolicy.INFO_ONLY_SEMANTICS : scid = ORBConstants.IISC_TRANSIENT_SCID ; break ; case ServantCachingPolicy.MINIMAL_SEMANTICS : scid = ORBConstants.MINSC_TRANSIENT_SCID ; break ; } if ( policies.isTransient() ) { serverid = orb.getTransientServerId(); } else { serverid = orb.getORBData().getPersistentServerId(); scid = ORBConstants.makePersistent( scid ) ; } isImplicit = policies.isImplicitlyActivated() ; isUnique = policies.isUniqueIds() ; isSystemId = policies.isSystemAssignedIds() ; sysIdCounter = 0 ; }
Example 7
Source File: POAPolicyMediatorBase.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
POAPolicyMediatorBase( Policies policies, POAImpl poa ) { if (policies.isSingleThreaded()) throw poa.invocationWrapper().singleThreadNotSupported() ; POAManagerImpl poam = (POAManagerImpl)(poa.the_POAManager()) ; POAFactory poaf = poam.getFactory() ; delegateImpl = (DelegateImpl)(poaf.getDelegateImpl()) ; this.policies = policies ; this.poa = poa ; orb = (ORB)poa.getORB() ; switch (policies.servantCachingLevel()) { case ServantCachingPolicy.NO_SERVANT_CACHING : scid = ORBConstants.TRANSIENT_SCID ; break ; case ServantCachingPolicy.FULL_SEMANTICS : scid = ORBConstants.SC_TRANSIENT_SCID ; break ; case ServantCachingPolicy.INFO_ONLY_SEMANTICS : scid = ORBConstants.IISC_TRANSIENT_SCID ; break ; case ServantCachingPolicy.MINIMAL_SEMANTICS : scid = ORBConstants.MINSC_TRANSIENT_SCID ; break ; } if ( policies.isTransient() ) { serverid = orb.getTransientServerId(); } else { serverid = orb.getORBData().getPersistentServerId(); scid = ORBConstants.makePersistent( scid ) ; } isImplicit = policies.isImplicitlyActivated() ; isUnique = policies.isUniqueIds() ; isSystemId = policies.isSystemAssignedIds() ; sysIdCounter = 0 ; }
Example 8
Source File: POAPolicyMediatorBase.java From hottub with GNU General Public License v2.0 | 5 votes |
POAPolicyMediatorBase( Policies policies, POAImpl poa ) { if (policies.isSingleThreaded()) throw poa.invocationWrapper().singleThreadNotSupported() ; POAManagerImpl poam = (POAManagerImpl)(poa.the_POAManager()) ; POAFactory poaf = poam.getFactory() ; delegateImpl = (DelegateImpl)(poaf.getDelegateImpl()) ; this.policies = policies ; this.poa = poa ; orb = (ORB)poa.getORB() ; switch (policies.servantCachingLevel()) { case ServantCachingPolicy.NO_SERVANT_CACHING : scid = ORBConstants.TRANSIENT_SCID ; break ; case ServantCachingPolicy.FULL_SEMANTICS : scid = ORBConstants.SC_TRANSIENT_SCID ; break ; case ServantCachingPolicy.INFO_ONLY_SEMANTICS : scid = ORBConstants.IISC_TRANSIENT_SCID ; break ; case ServantCachingPolicy.MINIMAL_SEMANTICS : scid = ORBConstants.MINSC_TRANSIENT_SCID ; break ; } if ( policies.isTransient() ) { serverid = orb.getTransientServerId(); } else { serverid = orb.getORBData().getPersistentServerId(); scid = ORBConstants.makePersistent( scid ) ; } isImplicit = policies.isImplicitlyActivated() ; isUnique = policies.isUniqueIds() ; isSystemId = policies.isSystemAssignedIds() ; sysIdCounter = 0 ; }
Example 9
Source File: POAPolicyMediatorBase.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
POAPolicyMediatorBase( Policies policies, POAImpl poa ) { if (policies.isSingleThreaded()) throw poa.invocationWrapper().singleThreadNotSupported() ; POAManagerImpl poam = (POAManagerImpl)(poa.the_POAManager()) ; POAFactory poaf = poam.getFactory() ; delegateImpl = (DelegateImpl)(poaf.getDelegateImpl()) ; this.policies = policies ; this.poa = poa ; orb = (ORB)poa.getORB() ; switch (policies.servantCachingLevel()) { case ServantCachingPolicy.NO_SERVANT_CACHING : scid = ORBConstants.TRANSIENT_SCID ; break ; case ServantCachingPolicy.FULL_SEMANTICS : scid = ORBConstants.SC_TRANSIENT_SCID ; break ; case ServantCachingPolicy.INFO_ONLY_SEMANTICS : scid = ORBConstants.IISC_TRANSIENT_SCID ; break ; case ServantCachingPolicy.MINIMAL_SEMANTICS : scid = ORBConstants.MINSC_TRANSIENT_SCID ; break ; } if ( policies.isTransient() ) { serverid = orb.getTransientServerId(); } else { serverid = orb.getORBData().getPersistentServerId(); scid = ORBConstants.makePersistent( scid ) ; } isImplicit = policies.isImplicitlyActivated() ; isUnique = policies.isUniqueIds() ; isSystemId = policies.isSystemAssignedIds() ; sysIdCounter = 0 ; }
Example 10
Source File: POAPolicyMediatorBase.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
POAPolicyMediatorBase( Policies policies, POAImpl poa ) { if (policies.isSingleThreaded()) throw poa.invocationWrapper().singleThreadNotSupported() ; POAManagerImpl poam = (POAManagerImpl)(poa.the_POAManager()) ; POAFactory poaf = poam.getFactory() ; delegateImpl = (DelegateImpl)(poaf.getDelegateImpl()) ; this.policies = policies ; this.poa = poa ; orb = (ORB)poa.getORB() ; switch (policies.servantCachingLevel()) { case ServantCachingPolicy.NO_SERVANT_CACHING : scid = ORBConstants.TRANSIENT_SCID ; break ; case ServantCachingPolicy.FULL_SEMANTICS : scid = ORBConstants.SC_TRANSIENT_SCID ; break ; case ServantCachingPolicy.INFO_ONLY_SEMANTICS : scid = ORBConstants.IISC_TRANSIENT_SCID ; break ; case ServantCachingPolicy.MINIMAL_SEMANTICS : scid = ORBConstants.MINSC_TRANSIENT_SCID ; break ; } if ( policies.isTransient() ) { serverid = orb.getTransientServerId(); } else { serverid = orb.getORBData().getPersistentServerId(); scid = ORBConstants.makePersistent( scid ) ; } isImplicit = policies.isImplicitlyActivated() ; isUnique = policies.isUniqueIds() ; isSystemId = policies.isSystemAssignedIds() ; sysIdCounter = 0 ; }