com.inprise.vbroker.interceptor
Interface UntypedObjectWrapperFactory
- All Superinterfaces:
- IDLEntity, java.io.Serializable
- All Known Subinterfaces:
- ChainUntypedObjectWrapperFactory
public interface UntypedObjectWrapperFactory
- extends IDLEntity
You use this interface to derive your own untyped object wrapper factories. You register your untyped object wrapper
factories using the add method, offered by the ChainUntypedObjectWrapperFactory interface.
Your factory is used to create an instance of your untyped object wrapper for a client or server application whenever
a new object is bound or an object implementation is created.
create
UntypedObjectWrapper create(Object obj,
Location loc)
- This method is called by the ORB whenever a new implementation is created.
This method is called to create an instance of your type of UntypedObjectWrapper. Your implementation of this method
can examine the type of bound object or object implementation to determine whether or not it wants to create an object wrapper
for that object.
- Parameters:
obj
- The implementation object for which to create a new in process interceptor.loc
- The location where the object wrapper is to be created.
- Returns:
- The in process interceptor to use for the specified object.
Read the latest documentation online