obixserver.module
Class CoreModule

java.lang.Object
  extended by obixserver.module.AbstractBaseModule
      extended by obixserver.module.CoreModule
All Implemented Interfaces:
Service, Module

public class CoreModule
extends AbstractBaseModule

Implements core module. Core module is useful when deploying a service that needs a generic Lobby and about oBIX standard repository. It also serves as an example of how to write a custom lobby/about core module.


Nested Class Summary
private static class CoreModule.CurrentTimeProxy
           
 
Field Summary
 
Fields inherited from class obixserver.module.AbstractBaseModule
properties
 
Constructor Summary
CoreModule()
           
 
Method Summary
 void init(obix.Obj top)
          Initialize the module.
 void start()
          Starts the service.
 void stop()
          Stops the service.
 
Methods inherited from class obixserver.module.AbstractBaseModule
getBase, getBaseObj, getObjBroker, getObjResource, getProperty, loadObjFromResource, setBase, setBaseObj, setObjBroker, setObjResource, setProperty, term
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoreModule

public CoreModule()
Method Detail

init

public void init(obix.Obj top)
Description copied from interface: Module
Initialize the module. Resource will be allocated, etc.

Specified by:
init in interface Module
Overrides:
init in class AbstractBaseModule
Parameters:
top - TODO

start

public void start()
Description copied from interface: Service
Starts the service.


stop

public void stop()
Description copied from interface: Service
Stops the service.



Copyright © 2006-2008 Peter Michalek All Rights Reserved.