@ManagedResource public class GlobalScope extends Scope implements IGlobalScope, GlobalScopeMXBean
IGlobalScope,
IScope,
ScopeScope.Builder| Modifier and Type | Field and Description |
|---|---|
protected IServer |
server |
attributes, clientStats, connectionStats, lock, log, oName, subscopeStatskeepDelay, keepOnDisconnect, listeners, name, parent, persistenceClass, persistent, store, type| Constructor and Description |
|---|
GlobalScope() |
| Modifier and Type | Method and Description |
|---|---|
IServer |
getServer()
Return the server instance connected to this scope.
|
IPersistenceStore |
getStore()
Get persistence store for scope
|
void |
register()
Register global scope in server instance, then call initialization
|
void |
setPersistenceClass(String persistenceClass)
Set scope persistence class
|
void |
setServer(IServer server)
Setter for server
|
addChildScope, connect, connect, createChildScope, destroy, disconnect, dispatchEvent, dump, from, getActiveClients, getActiveConnections, getActiveSubscopes, getAttribute, getAttributeNames, getAttributes, getBasicScope, getBasicScopeNames, getBroadcastScope, getClassLoader, getClients, getConnections, getContext, getContextPath, getCreationTime, getDepth, getEnabled, getHandler, getMaxClients, getMaxConnections, getMaxSubscopes, getParent, getPath, getResource, getResources, getRunning, getScope, getScopeNames, getServiceHandler, getServiceHandlerNames, getServiceHandlers, getServiceHandlers, getStatistics, getTotalClients, getTotalConnections, getTotalSubscopes, handleEvent, hasAttribute, hasChildScope, hasChildScope, hasContext, hasHandler, hasParent, init, isEnabled, isRunning, lookupConnections, registerJMX, registerServiceHandler, removeAttribute, removeChildren, removeChildScope, setAttribute, setAutoStart, setChildLoadPath, setContext, setDepth, setEnabled, setHandler, setName, setParent, start, stop, toString, uninit, unregisterJMX, unregisterServiceHandleraddEventListener, equals, getEventListeners, getName, getType, hasEventListeners, hashCode, isValid, notifyEvent, removeEventListener, setKeepDelayclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddChildScope, connect, connect, createChildScope, disconnect, getAttribute, getAttributeNames, getAttributes, getBasicScope, getBasicScopeNames, getBroadcastScope, getClients, getConnections, getContext, getContextPath, getHandler, getScope, getScopeNames, getStatistics, hasAttribute, hasChildScope, hasChildScope, hasHandler, lookupConnections, removeAttribute, removeChildren, removeChildScope, setAttributegetDepth, getName, getParent, getPath, getType, hasParent, isValid, setKeepDelaydispatchEventhandleEventnotifyEventaddEventListener, getEventListeners, removeEventListenergetResourcesgetClassLoader, getResourcegetServiceHandler, getServiceHandlerNames, registerServiceHandler, unregisterServiceHandlercreateChildScope, destroy, getActiveClients, getActiveConnections, getActiveSubscopes, getContextPath, getDepth, getEnabled, getMaxClients, getMaxConnections, getMaxSubscopes, getPath, getRunning, getServiceHandlerNames, getTotalClients, getTotalConnections, getTotalSubscopes, hasChildScope, hasChildScope, hasContext, hasHandler, hasParent, init, setAutoStart, setChildLoadPath, setDepth, setEnabled, setName, start, stop, unregisterServiceHandlergetNameprotected IServer server
public void setPersistenceClass(String persistenceClass) throws Exception
ScopesetPersistenceClass in interface ScopeMXBeansetPersistenceClass in class ScopepersistenceClass - Persistent class nameException - Exceptionpublic IPersistenceStore getStore()
getStore in interface IBasicScopegetStore in class BasicScopepublic void setServer(IServer server)
server - Serverpublic IServer getServer()
getServer in interface IGlobalScopegetServer in class Scopepublic void register()
register in interface IGlobalScoperegister in interface GlobalScopeMXBeanCopyright © 2006-2012 The Red5 Project