org.omg.PortableInterceptor.InvalidSlot Java Examples
The following examples show how to use
org.omg.PortableInterceptor.InvalidSlot.
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: PICurrent.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * This method sets the slot data at the given slot id (index) in the * Slot Table which is on the top of the SlotTableStack. */ public void set_slot( int id, Any data ) throws InvalidSlot { if( orbInitializing ) { // As per ptc/00-08-06 if the ORB is still initializing, disallow // calls to get_slot and set_slot. If an attempt is made to call, // throw a BAD_INV_ORDER. throw wrapper.invalidPiCall3() ; } getSlotTable().set_slot( id, data ); }
Example #2
Source File: SlotTable.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * This method sets the slot data at the given slot id (index). */ public void set_slot( int id, Any data ) throws InvalidSlot { // First check whether the slot is allocated // If not, raise the invalid slot exception if( id >= theSlotData.length ) { throw new InvalidSlot(); } dirtyFlag = true; theSlotData[id] = data; }
Example #3
Source File: SlotTable.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * This method get the slot data for the given slot id (index). */ public Any get_slot( int id ) throws InvalidSlot { // First check whether the slot is allocated // If not, raise the invalid slot exception if( id >= theSlotData.length ) { throw new InvalidSlot(); } if( theSlotData[id] == null ) { theSlotData [id] = new AnyImpl(orb); } return theSlotData[ id ]; }
Example #4
Source File: PICurrent.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * This method sets the slot data at the given slot id (index) in the * Slot Table which is on the top of the SlotTableStack. */ public void set_slot( int id, Any data ) throws InvalidSlot { if( orbInitializing ) { // As per ptc/00-08-06 if the ORB is still initializing, disallow // calls to get_slot and set_slot. If an attempt is made to call, // throw a BAD_INV_ORDER. throw wrapper.invalidPiCall3() ; } getSlotTable().set_slot( id, data ); }
Example #5
Source File: PICurrent.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * This method gets the slot data at the given slot id (index) from the * Slot Table which is on the top of the SlotTableStack. */ public Any get_slot( int id ) throws InvalidSlot { if( orbInitializing ) { // As per ptc/00-08-06 if the ORB is still initializing, disallow // calls to get_slot and set_slot. If an attempt is made to call, // throw a BAD_INV_ORDER. throw wrapper.invalidPiCall4() ; } return getSlotTable().get_slot( id ); }
Example #6
Source File: RequestInfoImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * Returns the data from the given slot of the PortableInterceptor::Current * that is in the scope of the request. * <p> * If the given slot has not been set, then an any containing a type code * with a TCKind value of tk_null is returned. * <p> * If the ID does not define an allocated slot, InvalidSlot is raised. */ public Any get_slot (int id) throws InvalidSlot { // access is currently valid for all states: //checkAccess( MID_GET_SLOT ); // Delegate the call to the slotTable which was set when RequestInfo was // created. return slotTable.get_slot( id ); }
Example #7
Source File: ServerRequestInfoImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * Allows an Interceptor to set a slot in the Current that is in the scope * of the request. If data already exists in that slot, it will be * overwritten. If the ID does not define an allocated slot, InvalidSlot * is raised. */ public void set_slot (int id, Any data) throws InvalidSlot { // access is currently valid for all states: //checkAccess( MID_SET_SLOT ); slotTable.set_slot( id, data ); }
Example #8
Source File: SlotTable.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * This method sets the slot data at the given slot id (index). */ public void set_slot( int id, Any data ) throws InvalidSlot { // First check whether the slot is allocated // If not, raise the invalid slot exception if( id >= theSlotData.length ) { throw new InvalidSlot(); } dirtyFlag = true; theSlotData[id] = data; }
Example #9
Source File: SlotTable.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * This method get the slot data for the given slot id (index). */ public Any get_slot( int id ) throws InvalidSlot { // First check whether the slot is allocated // If not, raise the invalid slot exception if( id >= theSlotData.length ) { throw new InvalidSlot(); } if( theSlotData[id] == null ) { theSlotData [id] = new AnyImpl(orb); } return theSlotData[ id ]; }
Example #10
Source File: PICurrent.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * This method sets the slot data at the given slot id (index) in the * Slot Table which is on the top of the SlotTableStack. */ public void set_slot( int id, Any data ) throws InvalidSlot { if( orbInitializing ) { // As per ptc/00-08-06 if the ORB is still initializing, disallow // calls to get_slot and set_slot. If an attempt is made to call, // throw a BAD_INV_ORDER. throw wrapper.invalidPiCall3() ; } getSlotTable().set_slot( id, data ); }
Example #11
Source File: PICurrent.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * This method gets the slot data at the given slot id (index) from the * Slot Table which is on the top of the SlotTableStack. */ public Any get_slot( int id ) throws InvalidSlot { if( orbInitializing ) { // As per ptc/00-08-06 if the ORB is still initializing, disallow // calls to get_slot and set_slot. If an attempt is made to call, // throw a BAD_INV_ORDER. throw wrapper.invalidPiCall4() ; } return getSlotTable().get_slot( id ); }
Example #12
Source File: RequestInfoImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * Returns the data from the given slot of the PortableInterceptor::Current * that is in the scope of the request. * <p> * If the given slot has not been set, then an any containing a type code * with a TCKind value of tk_null is returned. * <p> * If the ID does not define an allocated slot, InvalidSlot is raised. */ public Any get_slot (int id) throws InvalidSlot { // access is currently valid for all states: //checkAccess( MID_GET_SLOT ); // Delegate the call to the slotTable which was set when RequestInfo was // created. return slotTable.get_slot( id ); }
Example #13
Source File: ServerRequestInfoImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * Allows an Interceptor to set a slot in the Current that is in the scope * of the request. If data already exists in that slot, it will be * overwritten. If the ID does not define an allocated slot, InvalidSlot * is raised. */ public void set_slot (int id, Any data) throws InvalidSlot { // access is currently valid for all states: //checkAccess( MID_SET_SLOT ); slotTable.set_slot( id, data ); }
Example #14
Source File: SlotTable.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * This method sets the slot data at the given slot id (index). */ public void set_slot( int id, Any data ) throws InvalidSlot { // First check whether the slot is allocated // If not, raise the invalid slot exception if( id >= theSlotData.length ) { throw new InvalidSlot(); } dirtyFlag = true; theSlotData[id] = data; }
Example #15
Source File: SlotTable.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * This method get the slot data for the given slot id (index). */ public Any get_slot( int id ) throws InvalidSlot { // First check whether the slot is allocated // If not, raise the invalid slot exception if( id >= theSlotData.length ) { throw new InvalidSlot(); } if( theSlotData[id] == null ) { theSlotData [id] = new AnyImpl(orb); } return theSlotData[ id ]; }
Example #16
Source File: ServerRequestInfoImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * Allows an Interceptor to set a slot in the Current that is in the scope * of the request. If data already exists in that slot, it will be * overwritten. If the ID does not define an allocated slot, InvalidSlot * is raised. */ public void set_slot (int id, Any data) throws InvalidSlot { // access is currently valid for all states: //checkAccess( MID_SET_SLOT ); slotTable.set_slot( id, data ); }
Example #17
Source File: PICurrent.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * This method gets the slot data at the given slot id (index) from the * Slot Table which is on the top of the SlotTableStack. */ public Any get_slot( int id ) throws InvalidSlot { if( orbInitializing ) { // As per ptc/00-08-06 if the ORB is still initializing, disallow // calls to get_slot and set_slot. If an attempt is made to call, // throw a BAD_INV_ORDER. throw wrapper.invalidPiCall4() ; } return getSlotTable().get_slot( id ); }
Example #18
Source File: RequestInfoImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * Returns the data from the given slot of the PortableInterceptor::Current * that is in the scope of the request. * <p> * If the given slot has not been set, then an any containing a type code * with a TCKind value of tk_null is returned. * <p> * If the ID does not define an allocated slot, InvalidSlot is raised. */ public Any get_slot (int id) throws InvalidSlot { // access is currently valid for all states: //checkAccess( MID_GET_SLOT ); // Delegate the call to the slotTable which was set when RequestInfo was // created. return slotTable.get_slot( id ); }
Example #19
Source File: ServerRequestInfoImpl.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * Allows an Interceptor to set a slot in the Current that is in the scope * of the request. If data already exists in that slot, it will be * overwritten. If the ID does not define an allocated slot, InvalidSlot * is raised. */ public void set_slot (int id, Any data) throws InvalidSlot { // access is currently valid for all states: //checkAccess( MID_SET_SLOT ); slotTable.set_slot( id, data ); }
Example #20
Source File: SlotTable.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * This method sets the slot data at the given slot id (index). */ public void set_slot( int id, Any data ) throws InvalidSlot { // First check whether the slot is allocated // If not, raise the invalid slot exception if( id >= theSlotData.length ) { throw new InvalidSlot(); } dirtyFlag = true; theSlotData[id] = data; }
Example #21
Source File: SlotTable.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * This method get the slot data for the given slot id (index). */ public Any get_slot( int id ) throws InvalidSlot { // First check whether the slot is allocated // If not, raise the invalid slot exception if( id >= theSlotData.length ) { throw new InvalidSlot(); } if( theSlotData[id] == null ) { theSlotData [id] = new AnyImpl(orb); } return theSlotData[ id ]; }
Example #22
Source File: PICurrent.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * This method sets the slot data at the given slot id (index) in the * Slot Table which is on the top of the SlotTableStack. */ public void set_slot( int id, Any data ) throws InvalidSlot { if( orbInitializing ) { // As per ptc/00-08-06 if the ORB is still initializing, disallow // calls to get_slot and set_slot. If an attempt is made to call, // throw a BAD_INV_ORDER. throw wrapper.invalidPiCall3() ; } getSlotTable().set_slot( id, data ); }
Example #23
Source File: PICurrent.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * This method gets the slot data at the given slot id (index) from the * Slot Table which is on the top of the SlotTableStack. */ public Any get_slot( int id ) throws InvalidSlot { if( orbInitializing ) { // As per ptc/00-08-06 if the ORB is still initializing, disallow // calls to get_slot and set_slot. If an attempt is made to call, // throw a BAD_INV_ORDER. throw wrapper.invalidPiCall4() ; } return getSlotTable().get_slot( id ); }
Example #24
Source File: RequestInfoImpl.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * Returns the data from the given slot of the PortableInterceptor::Current * that is in the scope of the request. * <p> * If the given slot has not been set, then an any containing a type code * with a TCKind value of tk_null is returned. * <p> * If the ID does not define an allocated slot, InvalidSlot is raised. */ public Any get_slot (int id) throws InvalidSlot { // access is currently valid for all states: //checkAccess( MID_GET_SLOT ); // Delegate the call to the slotTable which was set when RequestInfo was // created. return slotTable.get_slot( id ); }
Example #25
Source File: ServerRequestInfoImpl.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * Allows an Interceptor to set a slot in the Current that is in the scope * of the request. If data already exists in that slot, it will be * overwritten. If the ID does not define an allocated slot, InvalidSlot * is raised. */ public void set_slot (int id, Any data) throws InvalidSlot { // access is currently valid for all states: //checkAccess( MID_SET_SLOT ); slotTable.set_slot( id, data ); }
Example #26
Source File: SlotTable.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * This method sets the slot data at the given slot id (index). */ public void set_slot( int id, Any data ) throws InvalidSlot { // First check whether the slot is allocated // If not, raise the invalid slot exception if( id >= theSlotData.length ) { throw new InvalidSlot(); } dirtyFlag = true; theSlotData[id] = data; }
Example #27
Source File: SlotTable.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * This method get the slot data for the given slot id (index). */ public Any get_slot( int id ) throws InvalidSlot { // First check whether the slot is allocated // If not, raise the invalid slot exception if( id >= theSlotData.length ) { throw new InvalidSlot(); } if( theSlotData[id] == null ) { theSlotData [id] = new AnyImpl(orb); } return theSlotData[ id ]; }
Example #28
Source File: PICurrent.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * This method sets the slot data at the given slot id (index) in the * Slot Table which is on the top of the SlotTableStack. */ public void set_slot( int id, Any data ) throws InvalidSlot { if( orbInitializing ) { // As per ptc/00-08-06 if the ORB is still initializing, disallow // calls to get_slot and set_slot. If an attempt is made to call, // throw a BAD_INV_ORDER. throw wrapper.invalidPiCall3() ; } getSlotTable().set_slot( id, data ); }
Example #29
Source File: PICurrent.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * This method gets the slot data at the given slot id (index) from the * Slot Table which is on the top of the SlotTableStack. */ public Any get_slot( int id ) throws InvalidSlot { if( orbInitializing ) { // As per ptc/00-08-06 if the ORB is still initializing, disallow // calls to get_slot and set_slot. If an attempt is made to call, // throw a BAD_INV_ORDER. throw wrapper.invalidPiCall4() ; } return getSlotTable().get_slot( id ); }
Example #30
Source File: RequestInfoImpl.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * Returns the data from the given slot of the PortableInterceptor::Current * that is in the scope of the request. * <p> * If the given slot has not been set, then an any containing a type code * with a TCKind value of tk_null is returned. * <p> * If the ID does not define an allocated slot, InvalidSlot is raised. */ public Any get_slot (int id) throws InvalidSlot { // access is currently valid for all states: //checkAccess( MID_GET_SLOT ); // Delegate the call to the slotTable which was set when RequestInfo was // created. return slotTable.get_slot( id ); }