org.glassfish.enterprise.iiop.impl
Class GlassFishORBFactoryImpl
java.lang.Object
org.glassfish.enterprise.iiop.impl.GlassFishORBFactoryImpl
- All Implemented Interfaces:
- GlassFishORBFactory, org.jvnet.hk2.component.PostConstruct
@Service
public class GlassFishORBFactoryImpl
- extends java.lang.Object
- implements GlassFishORBFactory, org.jvnet.hk2.component.PostConstruct
- Author:
- Mahesh Kannan
Date: Jan 15, 2009
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GlassFishORBFactoryImpl
public GlassFishORBFactoryImpl()
postConstruct
public void postConstruct()
- Specified by:
postConstruct in interface org.jvnet.hk2.component.PostConstruct
getOTSPolicyType
public int getOTSPolicyType()
- Specified by:
getOTSPolicyType in interface GlassFishORBFactory
getCSIv2PolicyType
public int getCSIv2PolicyType()
- Specified by:
getCSIv2PolicyType in interface GlassFishORBFactory
createORB
public org.omg.CORBA.ORB createORB(java.util.Properties props)
- Specified by:
createORB in interface GlassFishORBFactory
getCSIv2Props
public java.util.Properties getCSIv2Props()
- Specified by:
getCSIv2Props in interface GlassFishORBFactory
setCSIv2Prop
public void setCSIv2Prop(java.lang.String name,
java.lang.String value)
- Specified by:
setCSIv2Prop in interface GlassFishORBFactory
getORBInitialPort
public int getORBInitialPort()
- Specified by:
getORBInitialPort in interface GlassFishORBFactory
getORBHost
public java.lang.String getORBHost(org.omg.CORBA.ORB orb)
- Specified by:
getORBHost in interface GlassFishORBFactory
getORBPort
public int getORBPort(org.omg.CORBA.ORB orb)
- Specified by:
getORBPort in interface GlassFishORBFactory
isEjbCall
public boolean isEjbCall(org.omg.PortableInterceptor.ServerRequestInfo sri)
- Returns true, if the incoming call is a EJB method call.
This checks for is_a calls and ignores those calls. In callflow analysis
when a component looks up another component, this lookup should be
considered part of the same call coming in.
Since a lookup triggers the iiop codebase, it will fire a new request start.
With this check, we consider the calls that are only new incoming ejb
method calls as new request starts.
- Specified by:
isEjbCall in interface GlassFishORBFactory
getIIOPEndpoints
public java.lang.String getIIOPEndpoints()
- Specified by:
getIIOPEndpoints in interface GlassFishORBFactory
Copyright © 2012 GlassFish Community. All Rights Reserved.