org.ow2.orchestra.pvm.internal.spring
Class SpringEnvironment
java.lang.Object
org.ow2.orchestra.pvm.env.Environment
org.ow2.orchestra.pvm.internal.env.BasicEnvironment
org.ow2.orchestra.pvm.internal.spring.SpringEnvironment
- All Implemented Interfaces:
- 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 ClassLoader getClassLoader()
- Overrides:
getClassLoader in class BasicEnvironment
getEnvironmentFactory
public EnvironmentFactory getEnvironmentFactory()
getException
public Throwable getException()
getUserId
public String getUserId()
- Description copied from class:
Environment
- get the authenticated user id
- Overrides:
getUserId in class BasicEnvironment
setClassLoader
public void setClassLoader(ClassLoader classLoader)
- Overrides:
setClassLoader in class BasicEnvironment
setException
public void setException(Throwable exception)
setUserId
public void setUserId(String userId)
- Description copied from class:
Environment
- set the authenticated user id
- Overrides:
setUserId in class BasicEnvironment
Copyright © 2011 OW2 Consortium. All Rights Reserved.