• Post Reply Bookmark Topic Watch Topic
  • New Topic

Loading and running single instance of class ,

 
singh gaurav
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is possible in java to restrict a definite class loading ,if it is preciously running in a local host machine JVM,
i.e at one time only one process of the class running in JVM.
 
Rick Goff
Ranch Hand
Posts: 54
Clojure Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Is this what you're looking for?

http://www.coderanch.com/how-to/java/SingletonPattern
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!