org.omg.PortableInterceptor.IORInterceptor Java Examples
The following examples show how to use
org.omg.PortableInterceptor.IORInterceptor.
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 Project: jdk1.8-source-analysis Author: raysonfang File: InterceptorInvoker.java License: Apache License 2.0 | 6 votes |
void adapterManagerStateChanged( int managerId, short newState ) { if (enabled) { IORInterceptor[] interceptors = (IORInterceptor[])interceptorList.getInterceptors( InterceptorList.INTERCEPTOR_TYPE_IOR ); int size = interceptors.length; for( int i = (size - 1); i >= 0; i-- ) { try { IORInterceptor interceptor = interceptors[i]; if (interceptor instanceof IORInterceptor_3_0) { IORInterceptor_3_0 interceptor30 = (IORInterceptor_3_0)interceptor ; interceptor30.adapter_manager_state_changed( managerId, newState ); } } catch (Exception exc) { // No-op: ignore exception in this case } } } }
Example #2
Source Project: jdk1.8-source-analysis Author: raysonfang File: InterceptorInvoker.java License: Apache License 2.0 | 6 votes |
void adapterStateChanged( ObjectReferenceTemplate[] templates, short newState ) { if (enabled) { IORInterceptor[] interceptors = (IORInterceptor[])interceptorList.getInterceptors( InterceptorList.INTERCEPTOR_TYPE_IOR ); int size = interceptors.length; for( int i = (size - 1); i >= 0; i-- ) { try { IORInterceptor interceptor = interceptors[i]; if (interceptor instanceof IORInterceptor_3_0) { IORInterceptor_3_0 interceptor30 = (IORInterceptor_3_0)interceptor ; interceptor30.adapter_state_changed( templates, newState ); } } catch (Exception exc) { // No-op: ignore exception in this case } } } }
Example #3
Source Project: TencentKona-8 Author: Tencent File: InterceptorInvoker.java License: GNU General Public License v2.0 | 6 votes |
void adapterManagerStateChanged( int managerId, short newState ) { if (enabled) { IORInterceptor[] interceptors = (IORInterceptor[])interceptorList.getInterceptors( InterceptorList.INTERCEPTOR_TYPE_IOR ); int size = interceptors.length; for( int i = (size - 1); i >= 0; i-- ) { try { IORInterceptor interceptor = interceptors[i]; if (interceptor instanceof IORInterceptor_3_0) { IORInterceptor_3_0 interceptor30 = (IORInterceptor_3_0)interceptor ; interceptor30.adapter_manager_state_changed( managerId, newState ); } } catch (Exception exc) { // No-op: ignore exception in this case } } } }
Example #4
Source Project: TencentKona-8 Author: Tencent File: InterceptorInvoker.java License: GNU General Public License v2.0 | 6 votes |
void adapterStateChanged( ObjectReferenceTemplate[] templates, short newState ) { if (enabled) { IORInterceptor[] interceptors = (IORInterceptor[])interceptorList.getInterceptors( InterceptorList.INTERCEPTOR_TYPE_IOR ); int size = interceptors.length; for( int i = (size - 1); i >= 0; i-- ) { try { IORInterceptor interceptor = interceptors[i]; if (interceptor instanceof IORInterceptor_3_0) { IORInterceptor_3_0 interceptor30 = (IORInterceptor_3_0)interceptor ; interceptor30.adapter_state_changed( templates, newState ); } } catch (Exception exc) { // No-op: ignore exception in this case } } } }
Example #5
Source Project: jdk8u60 Author: chenghanpeng File: InterceptorInvoker.java License: GNU General Public License v2.0 | 6 votes |
void adapterManagerStateChanged( int managerId, short newState ) { if (enabled) { IORInterceptor[] interceptors = (IORInterceptor[])interceptorList.getInterceptors( InterceptorList.INTERCEPTOR_TYPE_IOR ); int size = interceptors.length; for( int i = (size - 1); i >= 0; i-- ) { try { IORInterceptor interceptor = interceptors[i]; if (interceptor instanceof IORInterceptor_3_0) { IORInterceptor_3_0 interceptor30 = (IORInterceptor_3_0)interceptor ; interceptor30.adapter_manager_state_changed( managerId, newState ); } } catch (Exception exc) { // No-op: ignore exception in this case } } } }
Example #6
Source Project: jdk8u60 Author: chenghanpeng File: InterceptorInvoker.java License: GNU General Public License v2.0 | 6 votes |
void adapterStateChanged( ObjectReferenceTemplate[] templates, short newState ) { if (enabled) { IORInterceptor[] interceptors = (IORInterceptor[])interceptorList.getInterceptors( InterceptorList.INTERCEPTOR_TYPE_IOR ); int size = interceptors.length; for( int i = (size - 1); i >= 0; i-- ) { try { IORInterceptor interceptor = interceptors[i]; if (interceptor instanceof IORInterceptor_3_0) { IORInterceptor_3_0 interceptor30 = (IORInterceptor_3_0)interceptor ; interceptor30.adapter_state_changed( templates, newState ); } } catch (Exception exc) { // No-op: ignore exception in this case } } } }
Example #7
Source Project: JDKSourceCode1.8 Author: wupeixuan File: InterceptorInvoker.java License: MIT License | 6 votes |
void adapterManagerStateChanged( int managerId, short newState ) { if (enabled) { IORInterceptor[] interceptors = (IORInterceptor[])interceptorList.getInterceptors( InterceptorList.INTERCEPTOR_TYPE_IOR ); int size = interceptors.length; for( int i = (size - 1); i >= 0; i-- ) { try { IORInterceptor interceptor = interceptors[i]; if (interceptor instanceof IORInterceptor_3_0) { IORInterceptor_3_0 interceptor30 = (IORInterceptor_3_0)interceptor ; interceptor30.adapter_manager_state_changed( managerId, newState ); } } catch (Exception exc) { // No-op: ignore exception in this case } } } }
Example #8
Source Project: JDKSourceCode1.8 Author: wupeixuan File: InterceptorInvoker.java License: MIT License | 6 votes |
void adapterStateChanged( ObjectReferenceTemplate[] templates, short newState ) { if (enabled) { IORInterceptor[] interceptors = (IORInterceptor[])interceptorList.getInterceptors( InterceptorList.INTERCEPTOR_TYPE_IOR ); int size = interceptors.length; for( int i = (size - 1); i >= 0; i-- ) { try { IORInterceptor interceptor = interceptors[i]; if (interceptor instanceof IORInterceptor_3_0) { IORInterceptor_3_0 interceptor30 = (IORInterceptor_3_0)interceptor ; interceptor30.adapter_state_changed( templates, newState ); } } catch (Exception exc) { // No-op: ignore exception in this case } } } }
Example #9
Source Project: openjdk-jdk8u Author: AdoptOpenJDK File: InterceptorInvoker.java License: GNU General Public License v2.0 | 6 votes |
void adapterManagerStateChanged( int managerId, short newState ) { if (enabled) { IORInterceptor[] interceptors = (IORInterceptor[])interceptorList.getInterceptors( InterceptorList.INTERCEPTOR_TYPE_IOR ); int size = interceptors.length; for( int i = (size - 1); i >= 0; i-- ) { try { IORInterceptor interceptor = interceptors[i]; if (interceptor instanceof IORInterceptor_3_0) { IORInterceptor_3_0 interceptor30 = (IORInterceptor_3_0)interceptor ; interceptor30.adapter_manager_state_changed( managerId, newState ); } } catch (Exception exc) { // No-op: ignore exception in this case } } } }
Example #10
Source Project: openjdk-jdk8u Author: AdoptOpenJDK File: InterceptorInvoker.java License: GNU General Public License v2.0 | 6 votes |
void adapterStateChanged( ObjectReferenceTemplate[] templates, short newState ) { if (enabled) { IORInterceptor[] interceptors = (IORInterceptor[])interceptorList.getInterceptors( InterceptorList.INTERCEPTOR_TYPE_IOR ); int size = interceptors.length; for( int i = (size - 1); i >= 0; i-- ) { try { IORInterceptor interceptor = interceptors[i]; if (interceptor instanceof IORInterceptor_3_0) { IORInterceptor_3_0 interceptor30 = (IORInterceptor_3_0)interceptor ; interceptor30.adapter_state_changed( templates, newState ); } } catch (Exception exc) { // No-op: ignore exception in this case } } } }
Example #11
Source Project: openjdk-jdk8u-backup Author: AdoptOpenJDK File: InterceptorInvoker.java License: GNU General Public License v2.0 | 6 votes |
void adapterManagerStateChanged( int managerId, short newState ) { if (enabled) { IORInterceptor[] interceptors = (IORInterceptor[])interceptorList.getInterceptors( InterceptorList.INTERCEPTOR_TYPE_IOR ); int size = interceptors.length; for( int i = (size - 1); i >= 0; i-- ) { try { IORInterceptor interceptor = interceptors[i]; if (interceptor instanceof IORInterceptor_3_0) { IORInterceptor_3_0 interceptor30 = (IORInterceptor_3_0)interceptor ; interceptor30.adapter_manager_state_changed( managerId, newState ); } } catch (Exception exc) { // No-op: ignore exception in this case } } } }
Example #12
Source Project: openjdk-jdk8u-backup Author: AdoptOpenJDK File: InterceptorInvoker.java License: GNU General Public License v2.0 | 6 votes |
void adapterStateChanged( ObjectReferenceTemplate[] templates, short newState ) { if (enabled) { IORInterceptor[] interceptors = (IORInterceptor[])interceptorList.getInterceptors( InterceptorList.INTERCEPTOR_TYPE_IOR ); int size = interceptors.length; for( int i = (size - 1); i >= 0; i-- ) { try { IORInterceptor interceptor = interceptors[i]; if (interceptor instanceof IORInterceptor_3_0) { IORInterceptor_3_0 interceptor30 = (IORInterceptor_3_0)interceptor ; interceptor30.adapter_state_changed( templates, newState ); } } catch (Exception exc) { // No-op: ignore exception in this case } } } }
Example #13
Source Project: openjdk-jdk9 Author: AdoptOpenJDK File: InterceptorInvoker.java License: GNU General Public License v2.0 | 6 votes |
void adapterManagerStateChanged( int managerId, short newState ) { if (enabled) { IORInterceptor[] interceptors = (IORInterceptor[])interceptorList.getInterceptors( InterceptorList.INTERCEPTOR_TYPE_IOR ); int size = interceptors.length; for( int i = (size - 1); i >= 0; i-- ) { try { IORInterceptor interceptor = interceptors[i]; if (interceptor instanceof IORInterceptor_3_0) { IORInterceptor_3_0 interceptor30 = (IORInterceptor_3_0)interceptor ; interceptor30.adapter_manager_state_changed( managerId, newState ); } } catch (Exception exc) { // No-op: ignore exception in this case } } } }
Example #14
Source Project: openjdk-jdk9 Author: AdoptOpenJDK File: InterceptorInvoker.java License: GNU General Public License v2.0 | 6 votes |
void adapterStateChanged( ObjectReferenceTemplate[] templates, short newState ) { if (enabled) { IORInterceptor[] interceptors = (IORInterceptor[])interceptorList.getInterceptors( InterceptorList.INTERCEPTOR_TYPE_IOR ); int size = interceptors.length; for( int i = (size - 1); i >= 0; i-- ) { try { IORInterceptor interceptor = interceptors[i]; if (interceptor instanceof IORInterceptor_3_0) { IORInterceptor_3_0 interceptor30 = (IORInterceptor_3_0)interceptor ; interceptor30.adapter_state_changed( templates, newState ); } } catch (Exception exc) { // No-op: ignore exception in this case } } } }
Example #15
Source Project: hottub Author: dsrg-uoft File: InterceptorInvoker.java License: GNU General Public License v2.0 | 6 votes |
void adapterManagerStateChanged( int managerId, short newState ) { if (enabled) { IORInterceptor[] interceptors = (IORInterceptor[])interceptorList.getInterceptors( InterceptorList.INTERCEPTOR_TYPE_IOR ); int size = interceptors.length; for( int i = (size - 1); i >= 0; i-- ) { try { IORInterceptor interceptor = interceptors[i]; if (interceptor instanceof IORInterceptor_3_0) { IORInterceptor_3_0 interceptor30 = (IORInterceptor_3_0)interceptor ; interceptor30.adapter_manager_state_changed( managerId, newState ); } } catch (Exception exc) { // No-op: ignore exception in this case } } } }
Example #16
Source Project: hottub Author: dsrg-uoft File: InterceptorInvoker.java License: GNU General Public License v2.0 | 6 votes |
void adapterStateChanged( ObjectReferenceTemplate[] templates, short newState ) { if (enabled) { IORInterceptor[] interceptors = (IORInterceptor[])interceptorList.getInterceptors( InterceptorList.INTERCEPTOR_TYPE_IOR ); int size = interceptors.length; for( int i = (size - 1); i >= 0; i-- ) { try { IORInterceptor interceptor = interceptors[i]; if (interceptor instanceof IORInterceptor_3_0) { IORInterceptor_3_0 interceptor30 = (IORInterceptor_3_0)interceptor ; interceptor30.adapter_state_changed( templates, newState ); } } catch (Exception exc) { // No-op: ignore exception in this case } } } }
Example #17
Source Project: openjdk-8-source Author: keerath File: InterceptorInvoker.java License: GNU General Public License v2.0 | 6 votes |
void adapterManagerStateChanged( int managerId, short newState ) { if (enabled) { IORInterceptor[] interceptors = (IORInterceptor[])interceptorList.getInterceptors( InterceptorList.INTERCEPTOR_TYPE_IOR ); int size = interceptors.length; for( int i = (size - 1); i >= 0; i-- ) { try { IORInterceptor interceptor = interceptors[i]; if (interceptor instanceof IORInterceptor_3_0) { IORInterceptor_3_0 interceptor30 = (IORInterceptor_3_0)interceptor ; interceptor30.adapter_manager_state_changed( managerId, newState ); } } catch (Exception exc) { // No-op: ignore exception in this case } } } }
Example #18
Source Project: openjdk-8-source Author: keerath File: InterceptorInvoker.java License: GNU General Public License v2.0 | 6 votes |
void adapterStateChanged( ObjectReferenceTemplate[] templates, short newState ) { if (enabled) { IORInterceptor[] interceptors = (IORInterceptor[])interceptorList.getInterceptors( InterceptorList.INTERCEPTOR_TYPE_IOR ); int size = interceptors.length; for( int i = (size - 1); i >= 0; i-- ) { try { IORInterceptor interceptor = interceptors[i]; if (interceptor instanceof IORInterceptor_3_0) { IORInterceptor_3_0 interceptor30 = (IORInterceptor_3_0)interceptor ; interceptor30.adapter_state_changed( templates, newState ); } } catch (Exception exc) { // No-op: ignore exception in this case } } } }
Example #19
Source Project: openjdk-8 Author: bpupadhyaya File: InterceptorInvoker.java License: GNU General Public License v2.0 | 6 votes |
void adapterManagerStateChanged( int managerId, short newState ) { if (enabled) { IORInterceptor[] interceptors = (IORInterceptor[])interceptorList.getInterceptors( InterceptorList.INTERCEPTOR_TYPE_IOR ); int size = interceptors.length; for( int i = (size - 1); i >= 0; i-- ) { try { IORInterceptor interceptor = interceptors[i]; if (interceptor instanceof IORInterceptor_3_0) { IORInterceptor_3_0 interceptor30 = (IORInterceptor_3_0)interceptor ; interceptor30.adapter_manager_state_changed( managerId, newState ); } } catch (Exception exc) { // No-op: ignore exception in this case } } } }
Example #20
Source Project: openjdk-8 Author: bpupadhyaya File: InterceptorInvoker.java License: GNU General Public License v2.0 | 6 votes |
void adapterStateChanged( ObjectReferenceTemplate[] templates, short newState ) { if (enabled) { IORInterceptor[] interceptors = (IORInterceptor[])interceptorList.getInterceptors( InterceptorList.INTERCEPTOR_TYPE_IOR ); int size = interceptors.length; for( int i = (size - 1); i >= 0; i-- ) { try { IORInterceptor interceptor = interceptors[i]; if (interceptor instanceof IORInterceptor_3_0) { IORInterceptor_3_0 interceptor30 = (IORInterceptor_3_0)interceptor ; interceptor30.adapter_state_changed( templates, newState ); } } catch (Exception exc) { // No-op: ignore exception in this case } } } }
Example #21
Source Project: jdk1.8-source-analysis Author: raysonfang File: ORBInitInfoImpl.java License: Apache License 2.0 | 5 votes |
public void add_ior_interceptor_with_policy ( IORInterceptor interceptor, Policy[] policies ) throws DuplicateName, PolicyError { // XXX ignore policies for now add_ior_interceptor( interceptor ) ; }
Example #22
Source Project: jdk1.8-source-analysis Author: raysonfang File: ORBInitInfoImpl.java License: Apache License 2.0 | 5 votes |
/** * This operation is used to add an IOR Interceptor to * the list of IOR Interceptors. * <p> * If an IOR Interceptor has already been registered * with this Interceptor's name, DuplicateName is raised. */ public void add_ior_interceptor ( IORInterceptor interceptor ) throws DuplicateName { checkStage(); if( interceptor == null ) nullParam(); orb.getPIHandler().register_interceptor( interceptor, InterceptorList.INTERCEPTOR_TYPE_IOR ); }
Example #23
Source Project: TencentKona-8 Author: Tencent File: ORBInitInfoImpl.java License: GNU General Public License v2.0 | 5 votes |
public void add_ior_interceptor_with_policy ( IORInterceptor interceptor, Policy[] policies ) throws DuplicateName, PolicyError { // XXX ignore policies for now add_ior_interceptor( interceptor ) ; }
Example #24
Source Project: TencentKona-8 Author: Tencent File: ORBInitInfoImpl.java License: GNU General Public License v2.0 | 5 votes |
/** * This operation is used to add an IOR Interceptor to * the list of IOR Interceptors. * <p> * If an IOR Interceptor has already been registered * with this Interceptor's name, DuplicateName is raised. */ public void add_ior_interceptor ( IORInterceptor interceptor ) throws DuplicateName { checkStage(); if( interceptor == null ) nullParam(); orb.getPIHandler().register_interceptor( interceptor, InterceptorList.INTERCEPTOR_TYPE_IOR ); }
Example #25
Source Project: jdk8u60 Author: chenghanpeng File: ORBInitInfoImpl.java License: GNU General Public License v2.0 | 5 votes |
public void add_ior_interceptor_with_policy ( IORInterceptor interceptor, Policy[] policies ) throws DuplicateName, PolicyError { // XXX ignore policies for now add_ior_interceptor( interceptor ) ; }
Example #26
Source Project: jdk8u60 Author: chenghanpeng File: ORBInitInfoImpl.java License: GNU General Public License v2.0 | 5 votes |
/** * This operation is used to add an IOR Interceptor to * the list of IOR Interceptors. * <p> * If an IOR Interceptor has already been registered * with this Interceptor's name, DuplicateName is raised. */ public void add_ior_interceptor ( IORInterceptor interceptor ) throws DuplicateName { checkStage(); if( interceptor == null ) nullParam(); orb.getPIHandler().register_interceptor( interceptor, InterceptorList.INTERCEPTOR_TYPE_IOR ); }
Example #27
Source Project: JDKSourceCode1.8 Author: wupeixuan File: ORBInitInfoImpl.java License: MIT License | 5 votes |
public void add_ior_interceptor_with_policy ( IORInterceptor interceptor, Policy[] policies ) throws DuplicateName, PolicyError { // XXX ignore policies for now add_ior_interceptor( interceptor ) ; }
Example #28
Source Project: JDKSourceCode1.8 Author: wupeixuan File: ORBInitInfoImpl.java License: MIT License | 5 votes |
/** * This operation is used to add an IOR Interceptor to * the list of IOR Interceptors. * <p> * If an IOR Interceptor has already been registered * with this Interceptor's name, DuplicateName is raised. */ public void add_ior_interceptor ( IORInterceptor interceptor ) throws DuplicateName { checkStage(); if( interceptor == null ) nullParam(); orb.getPIHandler().register_interceptor( interceptor, InterceptorList.INTERCEPTOR_TYPE_IOR ); }
Example #29
Source Project: openjdk-jdk8u Author: AdoptOpenJDK File: ORBInitInfoImpl.java License: GNU General Public License v2.0 | 5 votes |
public void add_ior_interceptor_with_policy ( IORInterceptor interceptor, Policy[] policies ) throws DuplicateName, PolicyError { // XXX ignore policies for now add_ior_interceptor( interceptor ) ; }
Example #30
Source Project: openjdk-jdk8u Author: AdoptOpenJDK File: ORBInitInfoImpl.java License: GNU General Public License v2.0 | 5 votes |
/** * This operation is used to add an IOR Interceptor to * the list of IOR Interceptors. * <p> * If an IOR Interceptor has already been registered * with this Interceptor's name, DuplicateName is raised. */ public void add_ior_interceptor ( IORInterceptor interceptor ) throws DuplicateName { checkStage(); if( interceptor == null ) nullParam(); orb.getPIHandler().register_interceptor( interceptor, InterceptorList.INTERCEPTOR_TYPE_IOR ); }