|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.red5.server.plugin.Red5Plugin
public abstract class Red5Plugin
Provides more features to the plug-in system.
Field Summary | |
---|---|
protected ApplicationContext |
context
|
protected Server |
server
|
Constructor Summary | |
---|---|
Red5Plugin()
|
Method Summary | |
---|---|
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(ApplicationContext context)
Sets the top-most ApplicationContext within Red5. |
void |
setServer(Server server)
Sets a reference to the server. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ApplicationContext context
protected Server server
Constructor Detail |
---|
public Red5Plugin()
Method Detail |
---|
public void doStart() throws Exception
doStart
in interface IRed5Plugin
Exception
public void doStop() throws Exception
doStop
in interface IRed5Plugin
Exception
public void init()
public String getName()
getName
in interface IRed5Plugin
public void setApplicationContext(ApplicationContext context)
setApplicationContext
in interface IRed5Plugin
public Server getServer()
public void setServer(Server server)
setServer
in interface IRed5Plugin
public void setApplication(MultiThreadedApplicationAdapter application)
application
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |