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.ORB
createORB(Properties props)
int
getCSIv2PolicyType()
Properties
getCSIv2Props()
String
getIIOPEndpoints()
String
getORBHost(org.omg.CORBA.ORB orb)
int
getORBInitialPort()
int
getORBPort(org.omg.CORBA.ORB orb)
int
getOTSPolicyType()
boolean
isClusterActive()
boolean
isEjbCall(org.omg.PortableInterceptor.ServerRequestInfo sri)
Returns true, if the incoming call is a EJB method call.void
postConstruct()
void
setCSIv2Prop(String name, String value)
-
-
-
Method Detail
-
postConstruct
public void postConstruct()
- Specified by:
postConstruct
in interfaceorg.glassfish.hk2.api.PostConstruct
-
getOTSPolicyType
public int getOTSPolicyType()
- Specified by:
getOTSPolicyType
in interfaceGlassFishORBFactory
-
getCSIv2PolicyType
public int getCSIv2PolicyType()
- Specified by:
getCSIv2PolicyType
in interfaceGlassFishORBFactory
-
createORB
public org.omg.CORBA.ORB createORB(Properties props)
- Specified by:
createORB
in interfaceGlassFishORBFactory
-
getCSIv2Props
public Properties getCSIv2Props()
- Specified by:
getCSIv2Props
in interfaceGlassFishORBFactory
-
setCSIv2Prop
public void setCSIv2Prop(String name, String value)
- Specified by:
setCSIv2Prop
in interfaceGlassFishORBFactory
-
getORBInitialPort
public int getORBInitialPort()
- Specified by:
getORBInitialPort
in interfaceGlassFishORBFactory
-
getORBHost
public String getORBHost(org.omg.CORBA.ORB orb)
- Specified by:
getORBHost
in interfaceGlassFishORBFactory
-
getORBPort
public int getORBPort(org.omg.CORBA.ORB orb)
- Specified by:
getORBPort
in 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:
isEjbCall
in interfaceGlassFishORBFactory
-
getIIOPEndpoints
public String getIIOPEndpoints()
- Specified by:
getIIOPEndpoints
in interfaceGlassFishORBFactory
-
isClusterActive
public boolean isClusterActive()
- Specified by:
isClusterActive
in interfaceGlassFishORBFactory
-
-