* Constructs an <code>IIOPSSLSocketFactory</code>
*/
public IIOPSSLSocketFactory() {
try {
ProcessEnvironment penv = null;
ProcessType processType = null;
boolean notServerOrACC = Globals.getDefaultHabitat() == null ? true : false;
if (!notServerOrACC) {
penv = Globals.get(ProcessEnvironment.class);
processType = penv.getProcessType();
}
//if (Switch.getSwitch().getContainerType() == Switch.EJBWEB_CONTAINER) {
if((processType != null) && (processType.isServer())) {
//this is the EJB container
IiopService iiopBean = Globals.getDefaultHabitat().getComponent(IiopService.class);