Package com.sun.corba.ee.impl.copyobject
Class CopierManagerImpl
- java.lang.Object
-
- com.sun.corba.ee.impl.copyobject.CopierManagerImpl
-
- All Implemented Interfaces:
CopierManager
public class CopierManagerImpl extends java.lang.Object implements CopierManager
-
-
Constructor Summary
Constructors Constructor Description CopierManagerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDefaultId()Return the copier for the default copier id.org.glassfish.pfl.dynamic.copyobject.spi.ObjectCopierFactorygetDefaultObjectCopierFactory()org.glassfish.pfl.dynamic.copyobject.spi.ObjectCopierFactorygetObjectCopierFactory(int id)voidregisterObjectCopierFactory(org.glassfish.pfl.dynamic.copyobject.spi.ObjectCopierFactory factory, int id)Register an ObjectCopierFactory under a particular id.voidsetDefaultId(int id)Set the Id of the copier to use if no other copier has been set.
-
-
-
Method Detail
-
setDefaultId
public void setDefaultId(int id)
Description copied from interface:CopierManagerSet the Id of the copier to use if no other copier has been set.- Specified by:
setDefaultIdin interfaceCopierManager- Parameters:
id- ID of the copier
-
getDefaultId
public int getDefaultId()
Description copied from interface:CopierManagerReturn the copier for the default copier id. Throws a BAD_PARAM exception if no default copier id has been set.- Specified by:
getDefaultIdin interfaceCopierManager- Returns:
- ID of the copier
-
getObjectCopierFactory
public org.glassfish.pfl.dynamic.copyobject.spi.ObjectCopierFactory getObjectCopierFactory(int id)
- Specified by:
getObjectCopierFactoryin interfaceCopierManager
-
getDefaultObjectCopierFactory
public org.glassfish.pfl.dynamic.copyobject.spi.ObjectCopierFactory getDefaultObjectCopierFactory()
- Specified by:
getDefaultObjectCopierFactoryin interfaceCopierManager
-
registerObjectCopierFactory
public void registerObjectCopierFactory(org.glassfish.pfl.dynamic.copyobject.spi.ObjectCopierFactory factory, int id)Description copied from interface:CopierManagerRegister an ObjectCopierFactory under a particular id. This can be retrieved later by getObjectCopierFactory.- Specified by:
registerObjectCopierFactoryin interfaceCopierManager- Parameters:
factory- Factory to registerid- ID of the factory
-
-