businesslogic
Class DefectServer

java.lang.Object
  |
  +--businesslogic.DefectServer

public class DefectServer
extends java.lang.Object
implements _DefectServerIntfOperations

DefectServer is the primary entry point for the BugTracker's server-side components. It implements the _DefectServerIntfOperations interface, which is used by the tie class generated by idltojava. The main method of this class provides the entry point for the ORB server of this application.


Field Summary
 DefectFactoryIntf m_DefectFactory
           
 DefectPolicyIntf m_DefectPolicy
           
 UserFactoryIntf m_UserFactory
           
 
Constructor Summary
DefectServer(DefectFactoryIntf theDefectFactory, DefectPolicyIntf thePolicy, UserFactoryIntf theUserFactory)
           
 
Method Summary
 DefectFactoryIntf getDefectFactory()
          accessor method
 DefectPolicyIntf getPolicyObject()
          accessor method
 UserFactoryIntf getUserFactory()
          accessor method
static void main(java.lang.String[] args)
          This is the entry point for the defect server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_DefectFactory

public DefectFactoryIntf m_DefectFactory

m_DefectPolicy

public DefectPolicyIntf m_DefectPolicy

m_UserFactory

public UserFactoryIntf m_UserFactory
Constructor Detail

DefectServer

public DefectServer(DefectFactoryIntf theDefectFactory,
                    DefectPolicyIntf thePolicy,
                    UserFactoryIntf theUserFactory)
Method Detail

getDefectFactory

public DefectFactoryIntf getDefectFactory()
accessor method
Specified by:
getDefectFactory in interface _DefectServerIntfOperations

getPolicyObject

public DefectPolicyIntf getPolicyObject()
accessor method
Specified by:
getPolicyObject in interface _DefectServerIntfOperations

getUserFactory

public UserFactoryIntf getUserFactory()
accessor method
Specified by:
getUserFactory in interface _DefectServerIntfOperations

main

public static void main(java.lang.String[] args)
This is the entry point for the defect server. It's responsible for initializing the Orb and the server-side objects for creating defects and the policy object(s) that administer them. It also registers the defect server with the naming service