public interface ServantActivatorOperations extends ServantManagerOperations
Modifier and Type | Method and Description |
---|---|
void |
etherealize(byte[] oid, POA adapter, Servant serv, boolean cleanup_in_progress, boolean remaining_activations)
这个操作的时候调用一个对象的仆人被停用,假设POA有use_servant_manager和保留政策。
|
Servant |
incarnate(byte[] oid, POA adapter)
这个操作是通过POA每当POA接收一个对象,目前不主动请求调用,假设POA有use_servant_manager和保留政策。
|
Servant incarnate(byte[] oid, POA adapter) throws ForwardRequest
oid
对象ID与请求的对象了。
adapter
- POA的对象被激活的对象引用。
ForwardRequest
-到ORB表明它是负责提供当前请求和对象在异常的forward_reference成员表示后续的请求。
void etherealize(byte[] oid, POA adapter, Servant serv, boolean cleanup_in_progress, boolean remaining_activations)
oid
对象ID关联的对象被停用。
adapter
- POA的对象是主动对象参考。
serv
包含参考被停用对象关联的仆人。
cleanup_in_progress
表明破坏或中断调用etherealize_objects参数真实。False表示灵化为因其他原因。
remaining_activations
-指示仆人经理可以摧毁一个仆人。如果设置为true,仆人经理应该等到所有调用完成进度。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.