com.sun.corba.se.spi.ior.IdentifiableFactoryFinder Java Examples

The following examples show how to use com.sun.corba.se.spi.ior.IdentifiableFactoryFinder. 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: ORBImpl.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
public IdentifiableFactoryFinder getTaggedProfileTemplateFactoryFinder()
{
    synchronized (this) {
            checkShutdownState();
    }
    return taggedProfileTemplateFactoryFinder ;
}
 
Example #2
Source File: ORBImpl.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
public IdentifiableFactoryFinder getTaggedProfileTemplateFactoryFinder()
{
    synchronized (this) {
            checkShutdownState();
    }
    return taggedProfileTemplateFactoryFinder ;
}
 
Example #3
Source File: IORTemplateImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public IORTemplateImpl( InputStream is )
{
    ORB orb = (ORB)(is.orb()) ;
    IdentifiableFactoryFinder finder =
        orb.getTaggedProfileTemplateFactoryFinder() ;

    oktemp = orb.getObjectKeyFactory().createTemplate( is ) ;
    EncapsulationUtility.readIdentifiableSequence( this, finder, is ) ;

    makeImmutable() ;
}
 
Example #4
Source File: ORBConfiguratorImpl.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
private void initIORFinders( ORB orb )
{
    IdentifiableFactoryFinder profFinder =
        orb.getTaggedProfileFactoryFinder() ;
    profFinder.registerFactory( IIOPFactories.makeIIOPProfileFactory() ) ;

    IdentifiableFactoryFinder profTempFinder =
        orb.getTaggedProfileTemplateFactoryFinder() ;
    profTempFinder.registerFactory(
        IIOPFactories.makeIIOPProfileTemplateFactory() ) ;

    IdentifiableFactoryFinder compFinder =
        orb.getTaggedComponentFactoryFinder() ;
    compFinder.registerFactory(
        IIOPFactories.makeCodeSetsComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeJavaCodebaseComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeORBTypeComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeMaxStreamFormatVersionComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeAlternateIIOPAddressComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeRequestPartitioningComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeJavaSerializationComponentFactory());

    // Register the ValueFactory instances for ORT
    IORFactories.registerValueFactories( orb ) ;

    // Register an ObjectKeyFactory
    orb.setObjectKeyFactory( IORFactories.makeObjectKeyFactory(orb) ) ;
}
 
Example #5
Source File: ORBImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public IdentifiableFactoryFinder getTaggedProfileTemplateFactoryFinder()
{
    synchronized (this) {
            checkShutdownState();
    }
    return taggedProfileTemplateFactoryFinder ;
}
 
Example #6
Source File: ORBImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public IdentifiableFactoryFinder getTaggedProfileFactoryFinder()
{
    synchronized (this) {
            checkShutdownState();
    }
    return taggedProfileFactoryFinder ;
}
 
Example #7
Source File: ORBConfiguratorImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
private void initIORFinders( ORB orb )
{
    IdentifiableFactoryFinder profFinder =
        orb.getTaggedProfileFactoryFinder() ;
    profFinder.registerFactory( IIOPFactories.makeIIOPProfileFactory() ) ;

    IdentifiableFactoryFinder profTempFinder =
        orb.getTaggedProfileTemplateFactoryFinder() ;
    profTempFinder.registerFactory(
        IIOPFactories.makeIIOPProfileTemplateFactory() ) ;

    IdentifiableFactoryFinder compFinder =
        orb.getTaggedComponentFactoryFinder() ;
    compFinder.registerFactory(
        IIOPFactories.makeCodeSetsComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeJavaCodebaseComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeORBTypeComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeMaxStreamFormatVersionComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeAlternateIIOPAddressComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeRequestPartitioningComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeJavaSerializationComponentFactory());

    // Register the ValueFactory instances for ORT
    IORFactories.registerValueFactories( orb ) ;

    // Register an ObjectKeyFactory
    orb.setObjectKeyFactory( IORFactories.makeObjectKeyFactory(orb) ) ;
}
 
Example #8
Source File: EncapsulationUtility.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
/** Read the count from is, then read count Identifiables from
 * is using the factory.  Add each constructed Identifiable to container.
 */
public static void readIdentifiableSequence( List container,
    IdentifiableFactoryFinder finder, InputStream istr)
{
    int count = istr.read_long() ;
    for (int ctr = 0; ctr<count; ctr++) {
        int id = istr.read_long() ;
        Identifiable obj = finder.create( id, istr ) ;
        container.add( obj ) ;
    }
}
 
Example #9
Source File: IORImpl.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
public IORImpl(InputStream is)
{
    this( (ORB)(is.orb()), is.read_string() ) ;

    IdentifiableFactoryFinder finder =
        factory.getTaggedProfileFactoryFinder() ;

    EncapsulationUtility.readIdentifiableSequence( this, finder, is ) ;

    makeImmutable() ;
}
 
Example #10
Source File: ORBConfiguratorImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
private void initIORFinders( ORB orb )
{
    IdentifiableFactoryFinder profFinder =
        orb.getTaggedProfileFactoryFinder() ;
    profFinder.registerFactory( IIOPFactories.makeIIOPProfileFactory() ) ;

    IdentifiableFactoryFinder profTempFinder =
        orb.getTaggedProfileTemplateFactoryFinder() ;
    profTempFinder.registerFactory(
        IIOPFactories.makeIIOPProfileTemplateFactory() ) ;

    IdentifiableFactoryFinder compFinder =
        orb.getTaggedComponentFactoryFinder() ;
    compFinder.registerFactory(
        IIOPFactories.makeCodeSetsComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeJavaCodebaseComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeORBTypeComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeMaxStreamFormatVersionComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeAlternateIIOPAddressComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeRequestPartitioningComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeJavaSerializationComponentFactory());

    // Register the ValueFactory instances for ORT
    IORFactories.registerValueFactories( orb ) ;

    // Register an ObjectKeyFactory
    orb.setObjectKeyFactory( IORFactories.makeObjectKeyFactory(orb) ) ;
}
 
Example #11
Source File: ORBImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public IdentifiableFactoryFinder getTaggedProfileFactoryFinder()
{
    synchronized (this) {
            checkShutdownState();
    }
    return taggedProfileFactoryFinder ;
}
 
Example #12
Source File: IORTemplateImpl.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
public IORTemplateImpl( InputStream is )
{
    ORB orb = (ORB)(is.orb()) ;
    IdentifiableFactoryFinder finder =
        orb.getTaggedProfileTemplateFactoryFinder() ;

    oktemp = orb.getObjectKeyFactory().createTemplate( is ) ;
    EncapsulationUtility.readIdentifiableSequence( this, finder, is ) ;

    makeImmutable() ;
}
 
Example #13
Source File: IORImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public IORImpl(InputStream is)
{
    this( (ORB)(is.orb()), is.read_string() ) ;

    IdentifiableFactoryFinder finder =
        factory.getTaggedProfileFactoryFinder() ;

    EncapsulationUtility.readIdentifiableSequence( this, finder, is ) ;

    makeImmutable() ;
}
 
Example #14
Source File: EncapsulationUtility.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/** Read the count from is, then read count Identifiables from
 * is using the factory.  Add each constructed Identifiable to container.
 */
public static void readIdentifiableSequence( List container,
    IdentifiableFactoryFinder finder, InputStream istr)
{
    int count = istr.read_long() ;
    for (int ctr = 0; ctr<count; ctr++) {
        int id = istr.read_long() ;
        Identifiable obj = finder.create( id, istr ) ;
        container.add( obj ) ;
    }
}
 
Example #15
Source File: IORTemplateImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public IORTemplateImpl( InputStream is )
{
    ORB orb = (ORB)(is.orb()) ;
    IdentifiableFactoryFinder finder =
        orb.getTaggedProfileTemplateFactoryFinder() ;

    oktemp = orb.getObjectKeyFactory().createTemplate( is ) ;
    EncapsulationUtility.readIdentifiableSequence( this, finder, is ) ;

    makeImmutable() ;
}
 
Example #16
Source File: IORTemplateImpl.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
public IORTemplateImpl( InputStream is )
{
    ORB orb = (ORB)(is.orb()) ;
    IdentifiableFactoryFinder finder =
        orb.getTaggedProfileTemplateFactoryFinder() ;

    oktemp = orb.getObjectKeyFactory().createTemplate( is ) ;
    EncapsulationUtility.readIdentifiableSequence( this, finder, is ) ;

    makeImmutable() ;
}
 
Example #17
Source File: IORImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public IORImpl(InputStream is)
{
    this( (ORB)(is.orb()), is.read_string() ) ;

    IdentifiableFactoryFinder finder =
        factory.getTaggedProfileFactoryFinder() ;

    EncapsulationUtility.readIdentifiableSequence( this, finder, is ) ;

    makeImmutable() ;
}
 
Example #18
Source File: IORTemplateImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public IORTemplateImpl( InputStream is )
{
    ORB orb = (ORB)(is.orb()) ;
    IdentifiableFactoryFinder finder =
        orb.getTaggedProfileTemplateFactoryFinder() ;

    oktemp = orb.getObjectKeyFactory().createTemplate( is ) ;
    EncapsulationUtility.readIdentifiableSequence( this, finder, is ) ;

    makeImmutable() ;
}
 
Example #19
Source File: EncapsulationUtility.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/** Read the count from is, then read count Identifiables from
 * is using the factory.  Add each constructed Identifiable to container.
 */
public static void readIdentifiableSequence( List container,
    IdentifiableFactoryFinder finder, InputStream istr)
{
    int count = istr.read_long() ;
    for (int ctr = 0; ctr<count; ctr++) {
        int id = istr.read_long() ;
        Identifiable obj = finder.create( id, istr ) ;
        container.add( obj ) ;
    }
}
 
Example #20
Source File: ORBImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public IdentifiableFactoryFinder getTaggedProfileTemplateFactoryFinder()
{
    synchronized (this) {
            checkShutdownState();
    }
    return taggedProfileTemplateFactoryFinder ;
}
 
Example #21
Source File: ORBImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public IdentifiableFactoryFinder getTaggedProfileFactoryFinder()
{
    synchronized (this) {
            checkShutdownState();
    }
    return taggedProfileFactoryFinder ;
}
 
Example #22
Source File: ORBConfiguratorImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
private void initIORFinders( ORB orb )
{
    IdentifiableFactoryFinder profFinder =
        orb.getTaggedProfileFactoryFinder() ;
    profFinder.registerFactory( IIOPFactories.makeIIOPProfileFactory() ) ;

    IdentifiableFactoryFinder profTempFinder =
        orb.getTaggedProfileTemplateFactoryFinder() ;
    profTempFinder.registerFactory(
        IIOPFactories.makeIIOPProfileTemplateFactory() ) ;

    IdentifiableFactoryFinder compFinder =
        orb.getTaggedComponentFactoryFinder() ;
    compFinder.registerFactory(
        IIOPFactories.makeCodeSetsComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeJavaCodebaseComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeORBTypeComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeMaxStreamFormatVersionComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeAlternateIIOPAddressComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeRequestPartitioningComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeJavaSerializationComponentFactory());

    // Register the ValueFactory instances for ORT
    IORFactories.registerValueFactories( orb ) ;

    // Register an ObjectKeyFactory
    orb.setObjectKeyFactory( IORFactories.makeObjectKeyFactory(orb) ) ;
}
 
Example #23
Source File: ORBConfiguratorImpl.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
private void initIORFinders( ORB orb )
{
    IdentifiableFactoryFinder profFinder =
        orb.getTaggedProfileFactoryFinder() ;
    profFinder.registerFactory( IIOPFactories.makeIIOPProfileFactory() ) ;

    IdentifiableFactoryFinder profTempFinder =
        orb.getTaggedProfileTemplateFactoryFinder() ;
    profTempFinder.registerFactory(
        IIOPFactories.makeIIOPProfileTemplateFactory() ) ;

    IdentifiableFactoryFinder compFinder =
        orb.getTaggedComponentFactoryFinder() ;
    compFinder.registerFactory(
        IIOPFactories.makeCodeSetsComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeJavaCodebaseComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeORBTypeComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeMaxStreamFormatVersionComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeAlternateIIOPAddressComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeRequestPartitioningComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeJavaSerializationComponentFactory());

    // Register the ValueFactory instances for ORT
    IORFactories.registerValueFactories( orb ) ;

    // Register an ObjectKeyFactory
    orb.setObjectKeyFactory( IORFactories.makeObjectKeyFactory(orb) ) ;
}
 
Example #24
Source File: ORBImpl.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
public IdentifiableFactoryFinder getTaggedProfileFactoryFinder()
{
    synchronized (this) {
            checkShutdownState();
    }
    return taggedProfileFactoryFinder ;
}
 
Example #25
Source File: IORImpl.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public IORImpl(InputStream is)
{
    this( (ORB)(is.orb()), is.read_string() ) ;

    IdentifiableFactoryFinder finder =
        factory.getTaggedProfileFactoryFinder() ;

    EncapsulationUtility.readIdentifiableSequence( this, finder, is ) ;

    makeImmutable() ;
}
 
Example #26
Source File: IORTemplateImpl.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public IORTemplateImpl( InputStream is )
{
    ORB orb = (ORB)(is.orb()) ;
    IdentifiableFactoryFinder finder =
        orb.getTaggedProfileTemplateFactoryFinder() ;

    oktemp = orb.getObjectKeyFactory().createTemplate( is ) ;
    EncapsulationUtility.readIdentifiableSequence( this, finder, is ) ;

    makeImmutable() ;
}
 
Example #27
Source File: EncapsulationUtility.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
/** Read the count from is, then read count Identifiables from
 * is using the factory.  Add each constructed Identifiable to container.
 */
public static void readIdentifiableSequence( List container,
    IdentifiableFactoryFinder finder, InputStream istr)
{
    int count = istr.read_long() ;
    for (int ctr = 0; ctr<count; ctr++) {
        int id = istr.read_long() ;
        Identifiable obj = finder.create( id, istr ) ;
        container.add( obj ) ;
    }
}
 
Example #28
Source File: ORBImpl.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public IdentifiableFactoryFinder getTaggedProfileFactoryFinder()
{
    synchronized (this) {
            checkShutdownState();
    }
    return taggedProfileFactoryFinder ;
}
 
Example #29
Source File: ORBConfiguratorImpl.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
private void initIORFinders( ORB orb )
{
    IdentifiableFactoryFinder profFinder =
        orb.getTaggedProfileFactoryFinder() ;
    profFinder.registerFactory( IIOPFactories.makeIIOPProfileFactory() ) ;

    IdentifiableFactoryFinder profTempFinder =
        orb.getTaggedProfileTemplateFactoryFinder() ;
    profTempFinder.registerFactory(
        IIOPFactories.makeIIOPProfileTemplateFactory() ) ;

    IdentifiableFactoryFinder compFinder =
        orb.getTaggedComponentFactoryFinder() ;
    compFinder.registerFactory(
        IIOPFactories.makeCodeSetsComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeJavaCodebaseComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeORBTypeComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeMaxStreamFormatVersionComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeAlternateIIOPAddressComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeRequestPartitioningComponentFactory() ) ;
    compFinder.registerFactory(
        IIOPFactories.makeJavaSerializationComponentFactory());

    // Register the ValueFactory instances for ORT
    IORFactories.registerValueFactories( orb ) ;

    // Register an ObjectKeyFactory
    orb.setObjectKeyFactory( IORFactories.makeObjectKeyFactory(orb) ) ;
}
 
Example #30
Source File: IORImpl.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
public IORImpl(InputStream is)
{
    this( (ORB)(is.orb()), is.read_string() ) ;

    IdentifiableFactoryFinder finder =
        factory.getTaggedProfileFactoryFinder() ;

    EncapsulationUtility.readIdentifiableSequence( this, finder, is ) ;

    makeImmutable() ;
}