public class ProductServer extends Server
className, configuration
Constructor and Description |
---|
ProductServer(Configuration configuration,
String className)
Creates a new
ProductServer instance. |
Modifier and Type | Method and Description |
---|---|
QueryHandler |
createQueryHandler()
Create a query handler from this server.
|
boolean |
equals(Object obj) |
protected String |
getType()
Return the type of the handler.
|
int |
hashCode() |
String |
toString() |
create, createHandler, getClassName, setClassName, toXML
public ProductServer(Configuration configuration, String className)
ProductServer
instance.configuration
- System configuration.className
- Class name of query handler.protected String getType()
public QueryHandler createQueryHandler() throws ClassNotFoundException, InstantiationException, IllegalAccessException
QueryHandler
value.ClassNotFoundException
- if the class can't be found.InstantiationException
- if the handler can't be instantiated.IllegalAccessException
- if the handler has no public constructor.Copyright © 1999-2014 Apache OODT. All Rights Reserved.