com.sun.corba.se.spi.ior.EncapsulationFactoryBase Java Examples
The following examples show how to use
com.sun.corba.se.spi.ior.EncapsulationFactoryBase.
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: IIOPFactories.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public static IdentifiableFactory makeAlternateIIOPAddressComponentFactory() { return new EncapsulationFactoryBase(TAG_ALTERNATE_IIOP_ADDRESS.value) { public Identifiable readContents( InputStream in ) { IIOPAddress addr = new IIOPAddressImpl( in ) ; Identifiable comp = new AlternateIIOPAddressComponentImpl( addr ) ; return comp ; } } ; }
Example #2
Source File: IIOPFactories.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public static IdentifiableFactory makeORBTypeComponentFactory() { return new EncapsulationFactoryBase(TAG_ORB_TYPE.value) { public Identifiable readContents( InputStream in ) { int type = in.read_ulong() ; Identifiable comp = new ORBTypeComponentImpl( type ) ; return comp ; } } ; }
Example #3
Source File: IIOPFactories.java From hottub with GNU General Public License v2.0 | 5 votes |
public static IdentifiableFactory makeIIOPProfileFactory() { return new EncapsulationFactoryBase(TAG_INTERNET_IOP.value) { public Identifiable readContents( InputStream in ) { Identifiable result = new IIOPProfileImpl( in ) ; return result ; } } ; }
Example #4
Source File: IIOPFactories.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public static IdentifiableFactory makeJavaSerializationComponentFactory() { return new EncapsulationFactoryBase( ORBConstants.TAG_JAVA_SERIALIZATION_ID) { public Identifiable readContents(InputStream in) { byte version = in.read_octet(); Identifiable cmp = new JavaSerializationComponent(version); return cmp; } }; }
Example #5
Source File: IIOPFactories.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public static IdentifiableFactory makeCodeSetsComponentFactory() { return new EncapsulationFactoryBase(TAG_CODE_SETS.value) { public Identifiable readContents( InputStream in ) { return new CodeSetsComponentImpl( in ) ; } } ; }
Example #6
Source File: IIOPFactories.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public static IdentifiableFactory makeMaxStreamFormatVersionComponentFactory() { return new EncapsulationFactoryBase(TAG_RMI_CUSTOM_MAX_STREAM_FORMAT.value) { public Identifiable readContents(InputStream in) { byte version = in.read_octet() ; Identifiable comp = new MaxStreamFormatVersionComponentImpl(version); return comp ; } }; }
Example #7
Source File: IIOPFactories.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public static IdentifiableFactory makeCodeSetsComponentFactory() { return new EncapsulationFactoryBase(TAG_CODE_SETS.value) { public Identifiable readContents( InputStream in ) { return new CodeSetsComponentImpl( in ) ; } } ; }
Example #8
Source File: IIOPFactories.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public static IdentifiableFactory makeAlternateIIOPAddressComponentFactory() { return new EncapsulationFactoryBase(TAG_ALTERNATE_IIOP_ADDRESS.value) { public Identifiable readContents( InputStream in ) { IIOPAddress addr = new IIOPAddressImpl( in ) ; Identifiable comp = new AlternateIIOPAddressComponentImpl( addr ) ; return comp ; } } ; }
Example #9
Source File: IIOPFactories.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public static IdentifiableFactory makeRequestPartitioningComponentFactory() { return new EncapsulationFactoryBase(ORBConstants.TAG_REQUEST_PARTITIONING_ID) { public Identifiable readContents(InputStream in) { int threadPoolToUse = in.read_ulong(); Identifiable comp = new RequestPartitioningComponentImpl(threadPoolToUse); return comp; } }; }
Example #10
Source File: IIOPFactories.java From hottub with GNU General Public License v2.0 | 5 votes |
public static IdentifiableFactory makeIIOPProfileTemplateFactory() { return new EncapsulationFactoryBase(TAG_INTERNET_IOP.value) { public Identifiable readContents( InputStream in ) { Identifiable result = new IIOPProfileTemplateImpl( in ) ; return result ; } } ; }
Example #11
Source File: IIOPFactories.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public static IdentifiableFactory makeJavaCodebaseComponentFactory() { return new EncapsulationFactoryBase(TAG_JAVA_CODEBASE.value) { public Identifiable readContents( InputStream in ) { String url = in.read_string() ; Identifiable comp = new JavaCodebaseComponentImpl( url ) ; return comp ; } } ; }
Example #12
Source File: IIOPFactories.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public static IdentifiableFactory makeMaxStreamFormatVersionComponentFactory() { return new EncapsulationFactoryBase(TAG_RMI_CUSTOM_MAX_STREAM_FORMAT.value) { public Identifiable readContents(InputStream in) { byte version = in.read_octet() ; Identifiable comp = new MaxStreamFormatVersionComponentImpl(version); return comp ; } }; }
Example #13
Source File: IIOPFactories.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public static IdentifiableFactory makeORBTypeComponentFactory() { return new EncapsulationFactoryBase(TAG_ORB_TYPE.value) { public Identifiable readContents( InputStream in ) { int type = in.read_ulong() ; Identifiable comp = new ORBTypeComponentImpl( type ) ; return comp ; } } ; }
Example #14
Source File: IIOPFactories.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public static IdentifiableFactory makeJavaCodebaseComponentFactory() { return new EncapsulationFactoryBase(TAG_JAVA_CODEBASE.value) { public Identifiable readContents( InputStream in ) { String url = in.read_string() ; Identifiable comp = new JavaCodebaseComponentImpl( url ) ; return comp ; } } ; }
Example #15
Source File: IIOPFactories.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public static IdentifiableFactory makeMaxStreamFormatVersionComponentFactory() { return new EncapsulationFactoryBase(TAG_RMI_CUSTOM_MAX_STREAM_FORMAT.value) { public Identifiable readContents(InputStream in) { byte version = in.read_octet() ; Identifiable comp = new MaxStreamFormatVersionComponentImpl(version); return comp ; } }; }
Example #16
Source File: IIOPFactories.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public static IdentifiableFactory makeJavaSerializationComponentFactory() { return new EncapsulationFactoryBase( ORBConstants.TAG_JAVA_SERIALIZATION_ID) { public Identifiable readContents(InputStream in) { byte version = in.read_octet(); Identifiable cmp = new JavaSerializationComponent(version); return cmp; } }; }
Example #17
Source File: IIOPFactories.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public static IdentifiableFactory makeRequestPartitioningComponentFactory() { return new EncapsulationFactoryBase(ORBConstants.TAG_REQUEST_PARTITIONING_ID) { public Identifiable readContents(InputStream in) { int threadPoolToUse = in.read_ulong(); Identifiable comp = new RequestPartitioningComponentImpl(threadPoolToUse); return comp; } }; }
Example #18
Source File: IIOPFactories.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public static IdentifiableFactory makeIIOPProfileTemplateFactory() { return new EncapsulationFactoryBase(TAG_INTERNET_IOP.value) { public Identifiable readContents( InputStream in ) { Identifiable result = new IIOPProfileTemplateImpl( in ) ; return result ; } } ; }
Example #19
Source File: IIOPFactories.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public static IdentifiableFactory makeIIOPProfileTemplateFactory() { return new EncapsulationFactoryBase(TAG_INTERNET_IOP.value) { public Identifiable readContents( InputStream in ) { Identifiable result = new IIOPProfileTemplateImpl( in ) ; return result ; } } ; }
Example #20
Source File: IIOPFactories.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public static IdentifiableFactory makeJavaSerializationComponentFactory() { return new EncapsulationFactoryBase( ORBConstants.TAG_JAVA_SERIALIZATION_ID) { public Identifiable readContents(InputStream in) { byte version = in.read_octet(); Identifiable cmp = new JavaSerializationComponent(version); return cmp; } }; }
Example #21
Source File: IIOPFactories.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public static IdentifiableFactory makeMaxStreamFormatVersionComponentFactory() { return new EncapsulationFactoryBase(TAG_RMI_CUSTOM_MAX_STREAM_FORMAT.value) { public Identifiable readContents(InputStream in) { byte version = in.read_octet() ; Identifiable comp = new MaxStreamFormatVersionComponentImpl(version); return comp ; } }; }
Example #22
Source File: IIOPFactories.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public static IdentifiableFactory makeORBTypeComponentFactory() { return new EncapsulationFactoryBase(TAG_ORB_TYPE.value) { public Identifiable readContents( InputStream in ) { int type = in.read_ulong() ; Identifiable comp = new ORBTypeComponentImpl( type ) ; return comp ; } } ; }
Example #23
Source File: IIOPFactories.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public static IdentifiableFactory makeJavaCodebaseComponentFactory() { return new EncapsulationFactoryBase(TAG_JAVA_CODEBASE.value) { public Identifiable readContents( InputStream in ) { String url = in.read_string() ; Identifiable comp = new JavaCodebaseComponentImpl( url ) ; return comp ; } } ; }
Example #24
Source File: IIOPFactories.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public static IdentifiableFactory makeCodeSetsComponentFactory() { return new EncapsulationFactoryBase(TAG_CODE_SETS.value) { public Identifiable readContents( InputStream in ) { return new CodeSetsComponentImpl( in ) ; } } ; }
Example #25
Source File: IIOPFactories.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public static IdentifiableFactory makeAlternateIIOPAddressComponentFactory() { return new EncapsulationFactoryBase(TAG_ALTERNATE_IIOP_ADDRESS.value) { public Identifiable readContents( InputStream in ) { IIOPAddress addr = new IIOPAddressImpl( in ) ; Identifiable comp = new AlternateIIOPAddressComponentImpl( addr ) ; return comp ; } } ; }
Example #26
Source File: IIOPFactories.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public static IdentifiableFactory makeRequestPartitioningComponentFactory() { return new EncapsulationFactoryBase(ORBConstants.TAG_REQUEST_PARTITIONING_ID) { public Identifiable readContents(InputStream in) { int threadPoolToUse = in.read_ulong(); Identifiable comp = new RequestPartitioningComponentImpl(threadPoolToUse); return comp; } }; }
Example #27
Source File: IIOPFactories.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public static IdentifiableFactory makeIIOPProfileTemplateFactory() { return new EncapsulationFactoryBase(TAG_INTERNET_IOP.value) { public Identifiable readContents( InputStream in ) { Identifiable result = new IIOPProfileTemplateImpl( in ) ; return result ; } } ; }
Example #28
Source File: IIOPFactories.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public static IdentifiableFactory makeIIOPProfileFactory() { return new EncapsulationFactoryBase(TAG_INTERNET_IOP.value) { public Identifiable readContents( InputStream in ) { Identifiable result = new IIOPProfileImpl( in ) ; return result ; } } ; }
Example #29
Source File: IIOPFactories.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public static IdentifiableFactory makeIIOPProfileTemplateFactory() { return new EncapsulationFactoryBase(TAG_INTERNET_IOP.value) { public Identifiable readContents( InputStream in ) { Identifiable result = new IIOPProfileTemplateImpl( in ) ; return result ; } } ; }
Example #30
Source File: IIOPFactories.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public static IdentifiableFactory makeMaxStreamFormatVersionComponentFactory() { return new EncapsulationFactoryBase(TAG_RMI_CUSTOM_MAX_STREAM_FORMAT.value) { public Identifiable readContents(InputStream in) { byte version = in.read_octet() ; Identifiable comp = new MaxStreamFormatVersionComponentImpl(version); return comp ; } }; }