@ManagedResource public class GlobalScope extends Scope implements IGlobalScope, GlobalScopeMXBean
IGlobalScope
,
IScope
,
Scope
Scope.Builder
Modifier and Type | Field and Description |
---|---|
protected IServer |
server |
attributes, clientStats, connectionStats, lock, log, oName, subscopeStats
keepDelay, 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, unregisterServiceHandler
addEventListener, equals, getEventListeners, getName, getPath, getType, hasEventListeners, hashCode, isValid, notifyEvent, removeEventListener, setKeepDelay
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addChildScope, 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, setAttribute
getDepth, getName, getParent, getPath, getType, hasParent, isValid, setKeepDelay
dispatchEvent
handleEvent
notifyEvent
addEventListener, getEventListeners, removeEventListener
getResources
getClassLoader, getResource
getServiceHandler, getServiceHandlerNames, registerServiceHandler, unregisterServiceHandler
createChildScope, 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, unregisterServiceHandler
getName
protected IServer server
public void setPersistenceClass(String persistenceClass) throws Exception
Scope
setPersistenceClass
in interface ScopeMXBean
setPersistenceClass
in class Scope
persistenceClass
- Persistent class nameException
- Exceptionpublic IPersistenceStore getStore()
getStore
in interface IBasicScope
getStore
in class BasicScope
public void setServer(IServer server)
server
- Serverpublic IServer getServer()
getServer
in interface IGlobalScope
getServer
in class Scope
public void register()
register
in interface IGlobalScope
register
in interface GlobalScopeMXBean
Copyright © 2006-2012 The Red5 Project