|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sage.orion.sdata.servlet.AbstractResourceFactory
public abstract class AbstractResourceFactory
The AbstractResourceFactory
class provides a base implementation
of ResourceFactory
. Each application should provide its own
implementation.
Constructor Summary | |
---|---|
AbstractResourceFactory()
|
Method Summary | |
---|---|
ResourceKind |
createResource(java.lang.String resourceClassName,
ApplicationContext applicationContext,
ResourceContext context)
Creates an instance of the given resource. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractResourceFactory()
Method Detail |
---|
public ResourceKind createResource(java.lang.String resourceClassName, ApplicationContext applicationContext, ResourceContext context)
resourceClassName
- the name of the class to be instantiated.applicationContext
- the application context in which the instance will operatecontext
- the generic context
in which the
instance will operate
java.lang.RuntimeException
- wrapping one of various checked exceptions (see
Constructor.newInstance(java.lang.Object...)
), or from the actual
ResourceKind constructor if the resource cannot be created.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |