|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.omg.CORBA.BOA
org.openorb.adapter.boa.BOA
| Constructor Summary | |
|---|---|
BOA(ServerManager server_manager)
Creates new BOA |
|
| Method Summary | |
|---|---|
byte[] |
adapter_id(byte[] object_key)
Return the adapter id. |
int |
cache_priority()
Expected lifetime of the adapter. |
void |
cancel_dispatch(ServerRequest req,
TargetInfo target)
Cancel a dispatch. |
void |
connect(ObjectImpl obj)
Connect an object to the BOA and don't activate it. |
void |
connect(ObjectImpl obj,
boolean activate)
Connect an object to the BOA and optionaly activate it. |
void |
connect(ObjectImpl obj,
java.lang.String name)
Connect and object and provide its key |
void |
deactivate_impl()
Stop the BOA |
void |
deactivate_obj(ObjectImpl obj)
Deactivate an object |
void |
disconnect(ObjectImpl obj)
Disconnect an object. |
void |
dispatch(ServerRequest req,
TargetInfo target)
Dispatch a request from a client. |
void |
etherealize(boolean cleanup_in_progress)
Etherealize the adapter. |
ObjectAdapter |
find_adapter(byte[] object_key)
If this adapter serves this object directly it should return itself, otherwise it should return an adapter that does. |
boolean |
forced_marshal(byte[] object_key)
If this returns true then requests for the specified object id must be sent through the network. |
void |
forward(ObjectImpl objOld,
ObjectImpl objNew)
This operation is used to forward an object. |
Object |
get_component(byte[] object_key)
get_componenent operation. |
DomainManager[] |
get_domain_managers(byte[] object_key)
get_domain_manager operation. |
Object |
get_interface_def(byte[] object_key)
get_interface_def operation. |
Policy[] |
get_server_policies(int[] ts)
Returns a PolicyList containing the Polices set for the requested PolicyTypes. |
ServerManager.AdapterManager |
getAdapterManager()
Queue manager for the adapter. |
void |
impl_is_ready()
Run the BOA. |
boolean |
is_a(byte[] object_key,
java.lang.String repository_id)
is_a operation. |
boolean |
locate(byte[] object_key)
Respond to a local locate request. |
void |
obj_is_ready(ObjectImpl obj)
Activate an object. |
byte[] |
object_id(byte[] object_key)
Return the object id. |
TargetInfo |
predispatch(ServerRequest req)
Locate the servant object for a request. |
void |
servant_postinvoke(byte[] object_key,
ServantObject srvObject)
Close off a local operation. |
ServantObject |
servant_preinvoke(byte[] object_key,
java.lang.String operation,
java.lang.Class expectedType)
Preinvoke a local operation. |
boolean |
single_threaded()
Adapter is single threaded. |
| Methods inherited from class org.omg.CORBA.BOA |
|---|
init |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BOA(ServerManager server_manager)
| Method Detail |
public void connect(ObjectImpl obj)
connect in class BOA
public void connect(ObjectImpl obj,
boolean activate)
public void connect(ObjectImpl obj,
java.lang.String name)
connect in class BOA
public void forward(ObjectImpl objOld,
ObjectImpl objNew)
forward in class BOApublic void disconnect(ObjectImpl obj)
disconnect in class BOApublic void obj_is_ready(ObjectImpl obj)
obj_is_ready in class BOApublic void deactivate_obj(ObjectImpl obj)
deactivate_obj in class BOApublic void impl_is_ready()
impl_is_ready in class BOApublic void deactivate_impl()
deactivate_impl in class BOApublic int cache_priority()
cache_priority in interface ObjectAdapterpublic boolean single_threaded()
single_threaded in interface ObjectAdapterpublic void etherealize(boolean cleanup_in_progress)
etherealize in interface ObjectAdaptercleanup_in_progress - if true the adapter is being perminently
deactivated and will no longer have to dispatch operations.public ServerManager.AdapterManager getAdapterManager()
getAdapterManager in interface ObjectAdapter
public ObjectAdapter find_adapter(byte[] object_key)
throws AdapterDestroyedException
find_adapter in interface ObjectAdapterAdapterDestroyedExceptionpublic byte[] adapter_id(byte[] object_key)
adapter_id in interface ObjectAdapterpublic byte[] object_id(byte[] object_key)
object_id in interface ObjectAdapterpublic Policy[] get_server_policies(int[] ts)
get_server_policies in interface ObjectAdapter
public boolean forced_marshal(byte[] object_key)
throws AdapterDestroyedException
forced_marshal in interface ObjectAdapterAdapterDestroyedException
public ServantObject servant_preinvoke(byte[] object_key,
java.lang.String operation,
java.lang.Class expectedType)
throws ForwardRequest,
AdapterDestroyedException
servant_preinvoke in interface ObjectAdapterForwardRequest
AdapterDestroyedException
public void servant_postinvoke(byte[] object_key,
ServantObject srvObject)
servant_postinvoke in interface ObjectAdapter
public boolean locate(byte[] object_key)
throws ForwardRequest,
AdapterDestroyedException
locate in interface ObjectAdapterForwardRequest
AdapterDestroyedException
public boolean is_a(byte[] object_key,
java.lang.String repository_id)
throws ForwardRequest,
AdapterDestroyedException
is_a in interface ObjectAdapterForwardRequest
AdapterDestroyedException
public Object get_interface_def(byte[] object_key)
throws ForwardRequest,
AdapterDestroyedException
get_interface_def in interface ObjectAdapterForwardRequest
AdapterDestroyedException
public DomainManager[] get_domain_managers(byte[] object_key)
throws ForwardRequest,
AdapterDestroyedException
get_domain_managers in interface ObjectAdapterForwardRequest
AdapterDestroyedException
public Object get_component(byte[] object_key)
throws ForwardRequest,
AdapterDestroyedException
get_component in interface ObjectAdapterForwardRequest
AdapterDestroyedException
public TargetInfo predispatch(ServerRequest req)
throws ForwardRequest,
AdapterDestroyedException
predispatch in interface ObjectAdapterForwardRequest
AdapterDestroyedException
public void dispatch(ServerRequest req,
TargetInfo target)
dispatch in interface ObjectAdapter
public void cancel_dispatch(ServerRequest req,
TargetInfo target)
cancel_dispatch in interface ObjectAdapter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||