|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.omg.CORBA.LocalObject
org.glassfish.enterprise.iiop.impl.IORAddrAnyInterceptor
public class IORAddrAnyInterceptor
| Field Summary | |
|---|---|
static java.lang.String |
baseMsg
|
| Constructor Summary | |
|---|---|
IORAddrAnyInterceptor(org.omg.IOP.Codec c)
Creates a new instance of IORAddrAnyInterceptor |
|
| Method Summary | |
|---|---|
void |
destroy()
Provides an opportunity to destroy this interceptor. |
void |
establish_components(org.omg.PortableInterceptor.IORInfo iorInfo)
A server side ORB calls the establish_components
operation on all registered IORInterceptor instances
when it is assembling the list of components that will be included
in the profile or profiles of an object reference. |
protected short |
intToShort(int value)
|
java.lang.String |
name()
Returns the name of the interceptor. |
| 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_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
| Field Detail |
|---|
public static final java.lang.String baseMsg
| Constructor Detail |
|---|
public IORAddrAnyInterceptor(org.omg.IOP.Codec c)
c - The codec| Method Detail |
|---|
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.)
destroy in interface org.omg.PortableInterceptor.InterceptorOperationspublic void establish_components(org.omg.PortableInterceptor.IORInfo iorInfo)
establish_components
operation on all registered IORInterceptor instances
when it is assembling the list of components that will be included
in the profile or profiles of an object reference. This operation
is not necessarily called for each individual object reference.
For example, the POA specifies policies at POA granularity and
therefore, this operation might be called once per POA rather than
once per object. In any case, establish_components is
guaranteed to be called at least once for each distinct set of
server policies.
An implementation of establish_components must not
throw exceptions. If it does, the ORB shall ignore the exception
and proceed to call the next IOR Interceptor's
establish_components operation.
establish_components in interface org.omg.PortableInterceptor.IORInterceptorOperationsiorInfo - The IORInfo instance used by the ORB
service to query applicable policies and add components to be
included in the generated IORs.public java.lang.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.
name in interface org.omg.PortableInterceptor.InterceptorOperationsprotected short intToShort(int value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||