this.ejbDescriptor = ejbDescriptor; this.loader = loader; readDescriptor(); baseContainer = createContainer(ejbDescriptor, loader); //abstract method buildComponents(dynamicConfigContext); //abstract method
return baseContainer;
return this.ipAddress;
return this.port;
//baseContainer.setSecurityManager(sm); boolean hasHome = !(ejbDescriptor instanceof EjbMessageBeanDescriptor); if (hasHome) { //Currently BaseContainer.initializeHome is protected. //baseContainer.initializeHome(); }
//FIXME: Read from domain.xml iiop-service ip-addr this.ipAddress = new byte[4]; try { this.ipAddress = InetAddress.getLocalHost().getAddress(); } catch (Exception ex) { long val = System.identityHashCode(ipAddress) + System.currentTimeMillis(); Utility.longToBytes(val, this.ipAddress, 0); } //FIXME: Read from domain.xml this.port = 8080;