org.ow2.orchestra.pvm.internal.spring
Class SpringEnvironmentContext

java.lang.Object
  extended by org.ow2.orchestra.pvm.internal.spring.SpringEnvironmentContext
All Implemented Interfaces:
Context

public class SpringEnvironmentContext
extends Object
implements Context

Author:
Tom Baeyens

Field Summary
 
Fields inherited from interface org.ow2.orchestra.pvm.env.Context
CONTEXTNAME_ENVIRONMENT, CONTEXTNAME_ENVIRONMENT_FACTORY
 
Constructor Summary
SpringEnvironmentContext(org.springframework.context.ApplicationContext applicationContext)
           
 
Method Summary
<T> T
get(Class<T> type)
           
 Object get(String key)
           
 org.springframework.context.ApplicationContext getApplicationContext()
           
 String getName()
           
 boolean has(String key)
           
 Set<String> keys()
           
 Object set(String key, Object value)
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringEnvironmentContext

public SpringEnvironmentContext(org.springframework.context.ApplicationContext applicationContext)
Method Detail

has

public boolean has(String key)
Specified by:
has in interface Context

get

public Object get(String key)
Specified by:
get in interface Context

get

public <T> T get(Class<T> type)
Specified by:
get in interface Context

keys

public Set<String> keys()
Specified by:
keys in interface Context

getApplicationContext

public org.springframework.context.ApplicationContext getApplicationContext()

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)

getName

public String getName()
Specified by:
getName in interface Context

set

public Object set(String key,
                  Object value)
Specified by:
set in interface Context


Copyright © 2011 OW2 Consortium. All Rights Reserved.