@@ -59,9 +59,9 @@ trait Bootable {
59
59
* Main class for running the microkernel.
60
60
*/
61
61
object Main {
62
- val quiet = getBoolean(" akka.kernel.quiet" )
62
+ private val quiet = getBoolean(" akka.kernel.quiet" )
63
63
64
- def log (s : String ) = if (! quiet) println(s)
64
+ private def log (s : String ) = if (! quiet) println(s)
65
65
66
66
def main (args : Array [String ]) = {
67
67
if (args.isEmpty) {
@@ -90,7 +90,7 @@ object Main {
90
90
log(" Successfully started Akka" )
91
91
}
92
92
93
- def createClassLoader (): ClassLoader = {
93
+ private def createClassLoader (): ClassLoader = {
94
94
if (ActorSystem .GlobalHome .isDefined) {
95
95
val home = ActorSystem .GlobalHome .get
96
96
val deploy = new File (home, " deploy" )
@@ -106,7 +106,7 @@ object Main {
106
106
}
107
107
}
108
108
109
- def loadDeployJars (deploy : File ): ClassLoader = {
109
+ private def loadDeployJars (deploy : File ): ClassLoader = {
110
110
val jars = deploy.listFiles.filter(_.getName.endsWith(" .jar" ))
111
111
112
112
val nestedJars = jars flatMap { jar ⇒
@@ -122,7 +122,7 @@ object Main {
122
122
new URLClassLoader (urls, Thread .currentThread.getContextClassLoader)
123
123
}
124
124
125
- def addShutdownHook (bootables : Seq [Bootable ]): Unit = {
125
+ private def addShutdownHook (bootables : Seq [Bootable ]): Unit = {
126
126
Runtime .getRuntime.addShutdownHook(new Thread (new Runnable {
127
127
def run = {
128
128
log(" " )
@@ -138,7 +138,7 @@ object Main {
138
138
}))
139
139
}
140
140
141
- def banner = """
141
+ private def banner = """
142
142
==============================================================================
143
143
144
144
ZZ:
0 commit comments