se.kmr.scam.client.repository.ejb
Class ContentFactoryImpl
java.lang.Object
se.kmr.scam.client.repository.ContentFactory
se.kmr.scam.client.repository.ejb.ContentFactoryImpl
- public class ContentFactoryImpl
- extends ContentFactory
Factory for objects implementing ContentI. An object from this factory is an
EJB in the repository implementing the Content interface.
- Version:
- $Revision: 1.4 $
- Author:
- Jöran
- Created:
- den 16 augusti 2002
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentFactoryImpl
public ContentFactoryImpl()
create
public ContentI create(HttpServletRequest request)
throws ArchiveException
- Creates content objects. Loockup the 'Content' 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 ContentFactory
- Returns:
- Description of the Return Value
- Throws:
ArchiveException
- Trhown in case of exception creating a
ContentI object.
Copyright © 2003 SCAM. All Rights Reserved.