public static void addService ( ServiceTarget serviceTarget , SwarmContentRepository repository ) { serviceTarget . addService ( SERVICE_NAME , repository ) . setInitialMode ( ServiceController . Mode . ACTIVE ) . install ( ) ; }
Install the service .