Class GlassFishORBFactoryImpl
- java.lang.Object
-
- org.glassfish.enterprise.iiop.impl.GlassFishORBFactoryImpl
-
- All Implemented Interfaces:
GlassFishORBFactory,org.glassfish.hk2.api.PostConstruct
@Service public class GlassFishORBFactoryImpl extends Object implements GlassFishORBFactory, org.glassfish.hk2.api.PostConstruct
- Author:
- Mahesh Kannan Date: Jan 15, 2009
-
-
Field Summary
-
Fields inherited from interface org.glassfish.enterprise.iiop.api.GlassFishORBFactory
ENV_IS_SERVER_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description GlassFishORBFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.omg.CORBA.ORBcreateORB(Properties props)intgetCSIv2PolicyType()PropertiesgetCSIv2Props()StringgetIIOPEndpoints()StringgetORBHost(org.omg.CORBA.ORB orb)intgetORBInitialPort()intgetORBPort(org.omg.CORBA.ORB orb)intgetOTSPolicyType()booleanisClusterActive()booleanisEjbCall(org.omg.PortableInterceptor.ServerRequestInfo sri)Returns true, if the incoming call is a EJB method call.voidpostConstruct()voidsetCSIv2Prop(String name, String value)
-
-
-
Method Detail
-
postConstruct
public void postConstruct()
- Specified by:
postConstructin interfaceorg.glassfish.hk2.api.PostConstruct
-
getOTSPolicyType
public int getOTSPolicyType()
- Specified by:
getOTSPolicyTypein interfaceGlassFishORBFactory
-
getCSIv2PolicyType
public int getCSIv2PolicyType()
- Specified by:
getCSIv2PolicyTypein interfaceGlassFishORBFactory
-
createORB
public org.omg.CORBA.ORB createORB(Properties props)
- Specified by:
createORBin interfaceGlassFishORBFactory
-
getCSIv2Props
public Properties getCSIv2Props()
- Specified by:
getCSIv2Propsin interfaceGlassFishORBFactory
-
setCSIv2Prop
public void setCSIv2Prop(String name, String value)
- Specified by:
setCSIv2Propin interfaceGlassFishORBFactory
-
getORBInitialPort
public int getORBInitialPort()
- Specified by:
getORBInitialPortin interfaceGlassFishORBFactory
-
getORBHost
public String getORBHost(org.omg.CORBA.ORB orb)
- Specified by:
getORBHostin interfaceGlassFishORBFactory
-
getORBPort
public int getORBPort(org.omg.CORBA.ORB orb)
- Specified by:
getORBPortin interfaceGlassFishORBFactory
-
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:
isEjbCallin interfaceGlassFishORBFactory
-
getIIOPEndpoints
public String getIIOPEndpoints()
- Specified by:
getIIOPEndpointsin interfaceGlassFishORBFactory
-
isClusterActive
public boolean isClusterActive()
- Specified by:
isClusterActivein interfaceGlassFishORBFactory
-
-