bootstrap_client now registers a dummy client server_class
authormiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 16 Mar 2005 02:03:09 +0000 (02:03 +0000)
committermiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 16 Mar 2005 02:03:09 +0000 (02:03 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@236 9efc2488-bf62-4759-914b-345cdb29e865

src/perlmods/OpenSRF/System.pm

index 367e91b..aafdea8 100644 (file)
@@ -13,6 +13,7 @@ use POSIX ":sys_wait_h";
 use OpenSRF::Utils::Config; 
 use OpenSRF::Utils::SettingsParser;
 use OpenSRF::Utils::SettingsClient;
+use OpenSRF::Application;
 use Net::Server::PreFork;
 use strict;
 
@@ -129,6 +130,7 @@ sub load_bootstrap_config {
        OpenSRF::Transport->message_envelope(  "OpenSRF::Transport::SlimJabber::MessageWrapper" );
        OpenSRF::Transport::PeerHandle->set_peer_client(  "OpenSRF::Transport::SlimJabber::PeerConnection" );
        OpenSRF::Transport::Listener->set_listener( "OpenSRF::Transport::SlimJabber::Inbound" );
+       OpenSRF::Application->server_class('client');
 }
 
 sub bootstrap {