|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.omg.CORBA.LocalObject
org.apache.yoko.orb.OB.DispatchStrategyFactory_impl
public class DispatchStrategyFactory_impl
| Constructor Summary | |
|---|---|
DispatchStrategyFactory_impl()
|
|
| Method Summary | |
|---|---|
protected void |
_OB_destroy()
|
void |
_OB_setORBInstance(ORBInstance orbInstance)
|
DispatchStrategy |
create_default_dispatch_strategy()
Create a default dispatch strategy. |
DispatchStrategy |
create_same_thread_strategy()
Create a same thread dispatch strategy. |
DispatchStrategy |
create_thread_per_request_strategy()
Create a same thread per request dispatch strategy. |
DispatchStrategy |
create_thread_pool_strategy(int id)
Create a thread pool dispatch strategy. |
int |
create_thread_pool(int nthreads)
Create a thread pool containing nthreads. |
void |
destroy_thread_pool(int id)
Destroy a thread pool with the given id. |
| Methods inherited from class org.omg.CORBA.LocalObject |
|---|
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.omg.CORBA.Object |
|---|
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
| Constructor Detail |
|---|
public DispatchStrategyFactory_impl()
| Method Detail |
|---|
public int create_thread_pool(int nthreads)
DispatchStrategyFactoryOperations
create_thread_pool in interface DispatchStrategyFactoryOperationsnthreads - The number of threads the pool in the pool
public void destroy_thread_pool(int id)
throws InvalidThreadPool
DispatchStrategyFactoryOperationsOBJ_ADAPTER exception.
destroy_thread_pool in interface DispatchStrategyFactoryOperationsid - The thread pool id
InvalidThreadPool - If the thread pool id is valid.
public DispatchStrategy create_thread_pool_strategy(int id)
throws InvalidThreadPool
DispatchStrategyFactoryOperations
create_thread_pool_strategy in interface DispatchStrategyFactoryOperationsid - The thread pool id
InvalidThreadPool - If the thread pool id is valid.public DispatchStrategy create_same_thread_strategy()
DispatchStrategyFactoryOperations
create_same_thread_strategy in interface DispatchStrategyFactoryOperationspublic DispatchStrategy create_thread_per_request_strategy()
DispatchStrategyFactoryOperations
create_thread_per_request_strategy in interface DispatchStrategyFactoryOperationspublic DispatchStrategy create_default_dispatch_strategy()
DispatchStrategyFactoryOperations
create_default_dispatch_strategy in interface DispatchStrategyFactoryOperationspublic void _OB_setORBInstance(ORBInstance orbInstance)
protected void _OB_destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||