org.ow2.bonita.pvm.internal.spring
Class SpringEnvironment
java.lang.Object
org.ow2.bonita.pvm.env.Environment
org.ow2.bonita.pvm.internal.env.BasicEnvironment
org.ow2.bonita.pvm.internal.spring.SpringEnvironment
- All Implemented Interfaces:
- java.io.Serializable
public class SpringEnvironment
- extends BasicEnvironment
sees the prototype beans in the application context and this environment will
cache all the prototyped objects.
- Author:
- Tom Baeyens
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
applicationContext
protected org.springframework.context.ApplicationContext applicationContext
SpringEnvironment
public SpringEnvironment(SpringEnvironmentFactory springEnvironmentFactory)
close
public void close()
- Description copied from class:
Environment
- closes the Environment by removing all its contexts.
- Overrides:
close
in class BasicEnvironment
getClassLoader
public java.lang.ClassLoader getClassLoader()
- Overrides:
getClassLoader
in class BasicEnvironment
getEnvironmentFactory
public EnvironmentFactory getEnvironmentFactory()
getException
public java.lang.Throwable getException()
getUserId
public java.lang.String getUserId()
- Description copied from class:
Environment
- get the authenticated user id
- Overrides:
getUserId
in class BasicEnvironment
setClassLoader
public void setClassLoader(java.lang.ClassLoader classLoader)
- Overrides:
setClassLoader
in class BasicEnvironment
setException
public void setException(java.lang.Throwable exception)
setUserId
public void setUserId(java.lang.String userId)
- Description copied from class:
Environment
- set the authenticated user id
- Overrides:
setUserId
in class BasicEnvironment
Copyright © 2009 OW2 Consortium. All Rights Reserved.