|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.objectweb.jonathan.libs.kernel.GenericFactory
|
+--org.objectweb.david.libs.binding.orbs.iiop.IIOPORBFactory
IIOPORB
Factory implementation.
| Constructor Summary | |
IIOPORBFactory()
|
|
| Method Summary | |
protected void |
configure(Object _object,
Context _c,
Object[] _used_components)
|
protected Object[] |
getUsedComponents(Context _c)
Returns the components required to create a new IIOPORB
instance.
|
protected Object |
newInstance()
|
protected Object |
newInstance(Context _c,
Object[] _used_components)
Returns a new IIOPORB instance created using the provided components. |
| Methods inherited from class org.objectweb.jonathan.libs.kernel.GenericFactory |
newObject, register |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IIOPORBFactory()
| Method Detail |
protected final Object[] getUsedComponents(Context _c)
IIOPORB
instance.
The provided context must contain a (non null) component of name
"ChunkFactory", of type ChunkFactory.
It must also contain a component of name "domain",
of type NamingContext; it must be a valid
domain.
It must also contain a component of name "ContextFactory",
of type ContextFactory.
It must also contain a component of name "binder_context",
of type Context.
It may contain a component of name "ServicesHandler", of type
ServicesHandler.
It may also contain a component of name "use_java_serialization" of type Boolean. If true, it means that the references of servers exported to the constructed ORB will contain an additional information letting clients use java serialization instead of GIOP serialization; On the client side, server references will be checked for the presence of that information, and if present, java serialization will be used. If false, the references of exported servers won't contain the additional information, and a client will never use java serialization to interact with a server, even if the server's reference contains the appropriate information. The default is not to use java serialization, but note that using it has no impact on interoperability.
Servers are informed that java serialization should be used thanks to the
java serialization service.
getUsedComponents in class GenericFactory_c - a Context instance;
protected final Object newInstance(Context _c,
Object[] _used_components)
throws JonathanException
newInstance in class GenericFactory_c - a context;_used_components - components to be used to create a new
IIOPORB instance;JonathanException - if something goes wrong.
protected Object newInstance()
throws JonathanException
newInstance in class GenericFactory
protected void configure(Object _object,
Context _c,
Object[] _used_components)
throws JonathanException
configure in class GenericFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||