EventEvaluator.Resource
Class RepositoryServer

java.lang.Object
  |
  +--EventEvaluator.Resource.RepositoryServer

public class RepositoryServer
extends java.lang.Object

Implements the Resource Event Repository Server.


Constructor Summary
RepositoryServer()
           
 
Method Summary
static void main(java.lang.String[] args)
          Creates a Resource Event Repository.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryServer

public RepositoryServer()
Method Detail

main

public static void main(java.lang.String[] args)
Creates a Resource Event Repository. Creates the Persistence object. Obtains reference to orb and root poa. Creates the resource event poa. Instantiate the servant that implements the EventEvaluator.Resource.ResourceEventRepository interface and register it with the name server. Instantiate the servant locator for resource event objects. Waits for users requests.
Parameters:
args[0] - the machine where database adaptacao must reside.