org.okiproject.serviceapi.rmi
Class ServerFactory

java.lang.Object
  |
  +--org.okiproject.serviceapi.rmi.ServerFactory
All Implemented Interfaces:
java.io.Serializable

public class ServerFactory
extends java.lang.Object
implements java.io.Serializable

Copyright (c) 2001 Massachusetts Institute of Technology

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

$Source: /cvs/oki/org/okiproject/serviceapi/doc/rmi/org/okiproject/serviceapi/rmi/ServerFactory.html,v $

See Also:
Serialized Form

Constructor Summary
ServerFactory()
           
 
Method Summary
 org.okiproject.serviceapi.common.Agent getAgent()
          Method getAgent
static ServerFactory getDefaultServerFactory(org.okiproject.serviceapi.common.Agent agent)
          Method getDefaultServerFactory
 java.util.Map getProperties()
          Method getProperties
static ServerFactory getServerFactory(org.okiproject.serviceapi.common.Agent agent, java.util.Map props)
          Method getServerFactory
 void setup(java.util.Map props)
          Method setup
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerFactory

public ServerFactory()
Method Detail

getDefaultServerFactory

public static ServerFactory getDefaultServerFactory(org.okiproject.serviceapi.common.Agent agent)
                                             throws java.lang.Exception
Method getDefaultServerFactory
Parameters:
agent -  
Returns:
org.okiproject.serviceapi.rmi.ServerFactory
Throws:
java.lang.Exception -  

getServerFactory

public static ServerFactory getServerFactory(org.okiproject.serviceapi.common.Agent agent,
                                             java.util.Map props)
                                      throws java.lang.Exception
Method getServerFactory
Parameters:
agent -  
props -  
Returns:
org.okiproject.serviceapi.rmi.ServerFactory
Throws:
java.lang.Exception -  

getAgent

public org.okiproject.serviceapi.common.Agent getAgent()
Method getAgent
Returns:
org.okiproject.serviceapi.common.Agent

getProperties

public java.util.Map getProperties()
Method getProperties
Returns:
java.util.Map

setup

public void setup(java.util.Map props)
           throws java.lang.Exception
Method setup
Parameters:
props -  
Throws:
java.lang.Exception -