public class JaloSessionFactory extends 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(Class<JaloSession> sessionClass) |
JaloSession |
getObject() |
Class |
getObjectType() |
Class<JaloSession> |
getTargetClass() |
boolean |
isSingleton() |
void |
setTargetClassName(String className)
Sets the target class the
JaloSession will be of. |
public static JaloSession createWithSessionClass(Class<JaloSession> sessionClass) throws Exception
Exceptionpublic JaloSession getObject() throws Exception
Exceptionprotected JaloSession createInstance() throws Exception
Exceptionpublic Class getObjectType()
public boolean isSingleton()
public void setTargetClassName(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 Class<JaloSession> getTargetClass()
Copyright © 2017 SAP SE. All Rights Reserved.