com.sun.corba.se.spi.copyobject.ObjectCopierFactory Java Examples

The following examples show how to use com.sun.corba.se.spi.copyobject.ObjectCopierFactory. 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: ORBConfiguratorImpl.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
private void initObjectCopiers( ORB orb )
{
    // No optimization or policy selection here.
    ObjectCopierFactory orbStream =
        CopyobjectDefaults.makeORBStreamObjectCopierFactory( orb ) ;

    CopierManager cm = orb.getCopierManager() ;
    cm.setDefaultId( ORB_STREAM ) ;

    cm.registerObjectCopierFactory( orbStream, ORB_STREAM ) ;
}
 
Example #2
Source File: ORBConfiguratorImpl.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
private void initObjectCopiers( ORB orb )
{
    // No optimization or policy selection here.
    ObjectCopierFactory orbStream =
        CopyobjectDefaults.makeORBStreamObjectCopierFactory( orb ) ;

    CopierManager cm = orb.getCopierManager() ;
    cm.setDefaultId( ORB_STREAM ) ;

    cm.registerObjectCopierFactory( orbStream, ORB_STREAM ) ;
}
 
Example #3
Source File: ORBConfiguratorImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
private void initObjectCopiers( ORB orb )
{
    // No optimization or policy selection here.
    ObjectCopierFactory orbStream =
        CopyobjectDefaults.makeORBStreamObjectCopierFactory( orb ) ;

    CopierManager cm = orb.getCopierManager() ;
    cm.setDefaultId( ORB_STREAM ) ;

    cm.registerObjectCopierFactory( orbStream, ORB_STREAM ) ;
}
 
Example #4
Source File: ORBConfiguratorImpl.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
private void initObjectCopiers( ORB orb )
{
    // No optimization or policy selection here.
    ObjectCopierFactory orbStream =
        CopyobjectDefaults.makeORBStreamObjectCopierFactory( orb ) ;

    CopierManager cm = orb.getCopierManager() ;
    cm.setDefaultId( ORB_STREAM ) ;

    cm.registerObjectCopierFactory( orbStream, ORB_STREAM ) ;
}
 
Example #5
Source File: ORBConfiguratorImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
private void initObjectCopiers( ORB orb )
{
    // No optimization or policy selection here.
    ObjectCopierFactory orbStream =
        CopyobjectDefaults.makeORBStreamObjectCopierFactory( orb ) ;

    CopierManager cm = orb.getCopierManager() ;
    cm.setDefaultId( ORB_STREAM ) ;

    cm.registerObjectCopierFactory( orbStream, ORB_STREAM ) ;
}
 
Example #6
Source File: ORBConfiguratorImpl.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
private void initObjectCopiers( ORB orb )
{
    // No optimization or policy selection here.
    ObjectCopierFactory orbStream =
        CopyobjectDefaults.makeORBStreamObjectCopierFactory( orb ) ;

    CopierManager cm = orb.getCopierManager() ;
    cm.setDefaultId( ORB_STREAM ) ;

    cm.registerObjectCopierFactory( orbStream, ORB_STREAM ) ;
}
 
Example #7
Source File: ORBConfiguratorImpl.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
private void initObjectCopiers( ORB orb )
{
    // No optimization or policy selection here.
    ObjectCopierFactory orbStream =
        CopyobjectDefaults.makeORBStreamObjectCopierFactory( orb ) ;

    CopierManager cm = orb.getCopierManager() ;
    cm.setDefaultId( ORB_STREAM ) ;

    cm.registerObjectCopierFactory( orbStream, ORB_STREAM ) ;
}
 
Example #8
Source File: ORBConfiguratorImpl.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
private void initObjectCopiers( ORB orb )
{
    // No optimization or policy selection here.
    ObjectCopierFactory orbStream =
        CopyobjectDefaults.makeORBStreamObjectCopierFactory( orb ) ;

    CopierManager cm = orb.getCopierManager() ;
    cm.setDefaultId( ORB_STREAM ) ;

    cm.registerObjectCopierFactory( orbStream, ORB_STREAM ) ;
}
 
Example #9
Source File: POAImpl.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
protected ObjectCopierFactory getObjectCopierFactory()
{
    int copierId = mediator.getPolicies().getCopierId() ;
    CopierManager cm = getORB().getCopierManager() ;
    return cm.getObjectCopierFactory( copierId ) ;
}
 
Example #10
Source File: CopierManagerImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public void registerObjectCopierFactory( ObjectCopierFactory factory, int id )
{
    map.set( id, factory ) ;
}
 
Example #11
Source File: POAImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
protected ObjectCopierFactory getObjectCopierFactory()
{
    int copierId = mediator.getPolicies().getCopierId() ;
    CopierManager cm = getORB().getCopierManager() ;
    return cm.getObjectCopierFactory( copierId ) ;
}
 
Example #12
Source File: TOAImpl.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public ObjectCopierFactory getObjectCopierFactory()
{
    CopierManager cm = getORB().getCopierManager() ;
    return cm.getDefaultObjectCopierFactory() ;
}
 
Example #13
Source File: CopierManagerImpl.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public ObjectCopierFactory getObjectCopierFactory( int id )
{
    return (ObjectCopierFactory)(map.get( id )) ;
}
 
Example #14
Source File: CopierManagerImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public ObjectCopierFactory getDefaultObjectCopierFactory()
{
    return (ObjectCopierFactory)(map.get( defaultId )) ;
}
 
Example #15
Source File: CopierManagerImpl.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public ObjectCopierFactory getDefaultObjectCopierFactory()
{
    return (ObjectCopierFactory)(map.get( defaultId )) ;
}
 
Example #16
Source File: CopierManagerImpl.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public void registerObjectCopierFactory( ObjectCopierFactory factory, int id )
{
    map.set( id, factory ) ;
}
 
Example #17
Source File: TOAImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public ObjectCopierFactory getObjectCopierFactory()
{
    CopierManager cm = getORB().getCopierManager() ;
    return cm.getDefaultObjectCopierFactory() ;
}
 
Example #18
Source File: POAImpl.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
protected ObjectCopierFactory getObjectCopierFactory()
{
    int copierId = mediator.getPolicies().getCopierId() ;
    CopierManager cm = getORB().getCopierManager() ;
    return cm.getObjectCopierFactory( copierId ) ;
}
 
Example #19
Source File: TOAImpl.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public ObjectCopierFactory getObjectCopierFactory()
{
    CopierManager cm = getORB().getCopierManager() ;
    return cm.getDefaultObjectCopierFactory() ;
}
 
Example #20
Source File: CopierManagerImpl.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public void registerObjectCopierFactory( ObjectCopierFactory factory, int id )
{
    map.set( id, factory ) ;
}
 
Example #21
Source File: CopierManagerImpl.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public void registerObjectCopierFactory( ObjectCopierFactory factory, int id )
{
    map.set( id, factory ) ;
}
 
Example #22
Source File: TOAImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public ObjectCopierFactory getObjectCopierFactory()
{
    CopierManager cm = getORB().getCopierManager() ;
    return cm.getDefaultObjectCopierFactory() ;
}
 
Example #23
Source File: POAImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
protected ObjectCopierFactory getObjectCopierFactory()
{
    int copierId = mediator.getPolicies().getCopierId() ;
    CopierManager cm = getORB().getCopierManager() ;
    return cm.getObjectCopierFactory( copierId ) ;
}
 
Example #24
Source File: CopierManagerImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public void registerObjectCopierFactory( ObjectCopierFactory factory, int id )
{
    map.set( id, factory ) ;
}
 
Example #25
Source File: CopierManagerImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public ObjectCopierFactory getDefaultObjectCopierFactory()
{
    return (ObjectCopierFactory)(map.get( defaultId )) ;
}
 
Example #26
Source File: CopierManagerImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public ObjectCopierFactory getObjectCopierFactory( int id )
{
    return (ObjectCopierFactory)(map.get( id )) ;
}
 
Example #27
Source File: TOAImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public ObjectCopierFactory getObjectCopierFactory()
{
    CopierManager cm = getORB().getCopierManager() ;
    return cm.getDefaultObjectCopierFactory() ;
}
 
Example #28
Source File: POAImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
protected ObjectCopierFactory getObjectCopierFactory()
{
    int copierId = mediator.getPolicies().getCopierId() ;
    CopierManager cm = getORB().getCopierManager() ;
    return cm.getObjectCopierFactory( copierId ) ;
}
 
Example #29
Source File: CopierManagerImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public void registerObjectCopierFactory( ObjectCopierFactory factory, int id )
{
    map.set( id, factory ) ;
}
 
Example #30
Source File: CopierManagerImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public ObjectCopierFactory getObjectCopierFactory( int id )
{
    return (ObjectCopierFactory)(map.get( id )) ;
}