Package com.sun.corba.se.spi.copyobject
Interface CopierManager
- All Known Implementing Classes:
CopierManagerImpl
public interface CopierManager
Manager of ObjectCopier implementations used to support javax.rmi.CORBA.Util.copyObject(s).
This provides simple methods for registering all supported ObjectCopier factories.
A default copier is also supported, for use in contexts where no specific copier id
is available.
-
Method Summary
Modifier and TypeMethodDescriptionintReturn the copier for the default copier id.getObjectCopierFactory(int id) voidregisterObjectCopierFactory(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 Details
-
setDefaultId
void setDefaultId(int id) Set the Id of the copier to use if no other copier has been set. -
getDefaultId
int getDefaultId()Return the copier for the default copier id. Throws a BAD_PARAM exception if no default copier id has been set. -
getObjectCopierFactory
-
getDefaultObjectCopierFactory
ObjectCopierFactory getDefaultObjectCopierFactory() -
registerObjectCopierFactory
Register an ObjectCopierFactory under a particular id. This can be retrieved later by getObjectCopierFactory.
-