|
Préférences
Moteurs de recherche
|
|||||||
JavaTM 2 Platform Std. Ed. v1.4.2
org.omg.PortableInterceptor
|
Method Summary | |
void |
destroy()
Provides an opportunity to destroy this interceptor. |
String |
name()
Returns the name of the interceptor. |
Method Detail |
public String name()
Each Interceptor may have a name that may be used administratively to order the lists of Interceptors. Only one Interceptor of a given name can be registered with the ORB for each Interceptor type. An Interceptor may be anonymous, i.e., have an empty string as the name attribute. Any number of anonymous Interceptors may be registered with the ORB.
public void destroy()
ORB.destroy
. When an
application calls ORB.destroy
, the ORB:
Interceptor.destroy
operation for each
interceptorInterceptor.destroy
on
object references for objects implemented on the ORB being destroyed
result in undefined behavior. However, method invocations on objects
implemented on an ORB other than the one being destroyed are
permitted. (This means that the ORB being destroyed is still capable
of acting as a client, but not as a server.)