org.red5.server.jboss
Class JbossLoader
java.lang.Object
org.red5.server.jboss.JbossLoader
- All Implemented Interfaces:
- JbossLoaderMBean, org.springframework.context.ApplicationContextAware
public class JbossLoader
- extends Object
- implements org.springframework.context.ApplicationContextAware, JbossLoaderMBean
Red5 loader for JBoss.
- Author:
- The Red5 Project (red5@osflash.org), Paul Gregoire (mondain@gmail.com)
|
Field Summary |
protected static ThreadLocal<org.springframework.context.ApplicationContext> |
applicationContext
We store the application context in a ThreadLocal so we can access it
later |
protected static org.slf4j.Logger |
logger
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
applicationContext
protected static ThreadLocal<org.springframework.context.ApplicationContext> applicationContext
- We store the application context in a ThreadLocal so we can access it
later
logger
protected static org.slf4j.Logger logger
JbossLoader
public JbossLoader()
start
public void start()
- Initialization
- Specified by:
start in interface JbossLoaderMBean
isStarted
public boolean isStarted()
- Specified by:
isStarted in interface JbossLoaderMBean
stop
public void stop()
- Shut server down
- Specified by:
stop in interface JbossLoaderMBean
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationCtx)
throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext()
Copyright © 2006-2007 the Red5 project.