public class JaloSessionFactory
extends java.lang.Object
JaloSession. The configured target class can be gathered using
getTargetClass(). The used factory can be configured via the Spring configuration with bean id
"jalosession", see yempty-spring.xml for example configuration.| Constructor and Description |
|---|
JaloSessionFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected JaloSession |
createInstance() |
static JaloSession |
createWithSessionClass(java.lang.Class<JaloSession> sessionClass) |
JaloSession |
getObject() |
java.lang.Class |
getObjectType() |
java.lang.Class<JaloSession> |
getTargetClass() |
boolean |
isSingleton() |
void |
setTargetClassName(java.lang.String className)
Sets the target class the
JaloSession will be of. |
public static JaloSession createWithSessionClass(java.lang.Class<JaloSession> sessionClass) throws java.lang.Exception
java.lang.Exceptionpublic JaloSession getObject() throws java.lang.Exception
java.lang.Exceptionprotected JaloSession createInstance() throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Class getObjectType()
public boolean isSingleton()
public void setTargetClassName(java.lang.String className)
JaloSession will be of. Given String has to be a valid class name and the named
class has to be instance of JaloSession.className - name of class to use for instantiationpublic java.lang.Class<JaloSession> getTargetClass()
Copyright © 2018 SAP SE. All Rights Reserved.