public abstract class Red5Plugin extends Object implements IRed5Plugin
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.context.ApplicationContext |
context |
protected Server |
server |
| Constructor and Description |
|---|
Red5Plugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
doStart()
Lifecycle method called when the plug-in is started.
|
void |
doStop()
Lifecycle method called when the plug-in is stopped.
|
String |
getName()
Returns a name / identifier for the plug-in.
|
Server |
getServer()
Return the server reference.
|
void |
init()
Initialize the plug-in
|
void |
setApplication(MultiThreadedApplicationAdapter application)
Set the application making use of this plug-in.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext context)
Sets the top-most ApplicationContext within Red5.
|
void |
setServer(Server server)
Sets a reference to the server.
|
protected org.springframework.context.ApplicationContext context
protected Server server
public void doStart()
throws Exception
doStart in interface IRed5PluginExceptionpublic void doStop()
throws Exception
doStop in interface IRed5PluginExceptionpublic void init()
public String getName()
getName in interface IRed5Pluginpublic void setApplicationContext(org.springframework.context.ApplicationContext context)
setApplicationContext in interface IRed5Pluginpublic Server getServer()
public void setServer(Server server)
setServer in interface IRed5Pluginpublic void setApplication(MultiThreadedApplicationAdapter application)
application - Copyright © 2006-2012 The Red5 Project