/razpub/src/com/razie/pub/plugin/Plugin.scala

http://razpub.googlecode.com/ · Scala · 16 lines · 7 code · 1 blank · 8 comment · 0 complexity · 5e0351cec80532834380eb4a38eee681 MD5 · raw file

  1. /**
  2. * Razvan's public code. Copyright 2008 based on Apache license (share alike) see LICENSE.txt for
  3. * details. No warranty implied nor any liability assumed for this code.
  4. */
  5. package com.razie.pub.plugin
  6. /** these are normally created with classbyname and then the afterload is called
  7. *
  8. * There is a plugin discobvery process
  9. */
  10. trait Plugin {
  11. def loadphase1 = {}
  12. def loadphase2 = {}
  13. def unloadphase1= {}
  14. def unloadphase2= {}
  15. }