se.kmr.scam.client.repository.ejb
Class SearchFactoryImpl

java.lang.Object
  extended byse.kmr.scam.client.repository.SearchFactory
      extended byse.kmr.scam.client.repository.ejb.SearchFactoryImpl

public class SearchFactoryImpl
extends SearchFactory

Factory for objects implementing SearchI. An object from this factory is an EJB in the repository implementing the Search interface.

Version:
$Revision: 1.9 $
Author:
Jöran
Created:
den 16 augusti 2002

Constructor Summary
SearchFactoryImpl()
           
 
Method Summary
 SearchI create(HttpServletRequest request)
          Creates search objects.
 
Methods inherited from class se.kmr.scam.client.repository.SearchFactory
create, getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchFactoryImpl

public SearchFactoryImpl()
Method Detail

create

public SearchI create(HttpServletRequest request)
               throws ArchiveException
Creates search objects. Loockup the 'Search' bean on server side. NOTE : Assumes that context exist, below is what assumes to be in CLASSPATH or JAVA_OPT. -Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory -Djava.naming.provider.url=:1099 -Djava.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces

Specified by:
create in class SearchFactory
Returns:
Description of the Return Value
Throws:
ArchiveException - Trhown in case of exception creating a ManifestI object.


Copyright © 2003 SCAM. All Rights Reserved.