protected IAcceptor getAcceptor() { if (acceptor == null) { if (useJVMTransport()) { acceptor = JVMUtil.getAcceptor(container, "default"); // $NON-NLS-1$ } else { if (useSSLTransport()) { acceptor = SSLUtil.getAcceptor(container, null); } else { acceptor = TCPUtil.getAcceptor(container, null); } } } return acceptor; }
/** Subclasses may override. */ public IAcceptor createAcceptor(IManagedContainer container) { return JVMUtil.getAcceptor(container, JVM_ACCEPTOR_PREFIX + repositoryName); }