LifeCycle.Listener| Constructor and Description |
|---|
WebSocketExtensionFactory(WebSocketContainerScope container) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLifeCycleListener(LifeCycle.Listener listener) |
String |
dump() |
void |
dump(Appendable out,
String indent)
Dump this object (and children) into an Appendable using the provided indent after any new lines.
|
String |
dumpSelf()
The description of this/self found in the dump.
|
Map<String,Class<? extends Extension>> |
getAvailableExtensions() |
Class<? extends Extension> |
getExtension(String name) |
Set<String> |
getExtensionNames() |
boolean |
isAvailable(String name) |
boolean |
isFailed() |
boolean |
isRunning() |
boolean |
isStarted() |
boolean |
isStarting() |
boolean |
isStopped() |
boolean |
isStopping() |
Iterator<Class<? extends Extension>> |
iterator() |
Extension |
newInstance(ExtensionConfig config) |
void |
register(String name,
Class<? extends Extension> extension) |
void |
removeLifeCycleListener(LifeCycle.Listener listener) |
void |
start()
Starts the component.
|
void |
stop()
Stops the component.
|
String |
toString() |
void |
unregister(String name) |
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitdump, dumpContainer, dumpIterable, dumpMapEntries, dumpObject, dumpObjects, namedforEach, spliteratorpublic WebSocketExtensionFactory(WebSocketContainerScope container)
public Map<String,Class<? extends Extension>> getAvailableExtensions()
getAvailableExtensions in class ExtensionFactorypublic Class<? extends Extension> getExtension(String name)
getExtension in class ExtensionFactorypublic Set<String> getExtensionNames()
getExtensionNames in class ExtensionFactorypublic boolean isAvailable(String name)
isAvailable in class ExtensionFactorypublic Extension newInstance(ExtensionConfig config)
newInstance in class ExtensionFactorypublic void register(String name, Class<? extends Extension> extension)
register in class ExtensionFactorypublic void unregister(String name)
unregister in class ExtensionFactorypublic void start()
throws Exception
LifeCyclestart in interface LifeCycleException - If the component fails to startLifeCycle.isStarted(),
LifeCycle.stop(),
LifeCycle.isFailed()public void stop()
throws Exception
LifeCyclestop in interface LifeCycleException - If the component fails to stopLifeCycle.isStopped(),
LifeCycle.start(),
LifeCycle.isFailed()public boolean isRunning()
public boolean isStarted()
isStarted in interface LifeCycleLifeCycle.start(),
LifeCycle.isStarting()public boolean isStarting()
isStarting in interface LifeCycleLifeCycle.isStarted()public boolean isStopping()
isStopping in interface LifeCycleLifeCycle.isStopped()public boolean isStopped()
isStopped in interface LifeCycleLifeCycle.stop(),
LifeCycle.isStopping()public boolean isFailed()
public void addLifeCycleListener(LifeCycle.Listener listener)
addLifeCycleListener in interface LifeCyclepublic void removeLifeCycleListener(LifeCycle.Listener listener)
removeLifeCycleListener in interface LifeCyclepublic String dumpSelf()
Dumpablepublic void dump(Appendable out, String indent) throws IOException
Dumpabledump in interface Dumpableout - The appendable to dump toindent - The indent to apply after any new lines.IOException - if unable to write to AppendableCopyright © 2010 - 2020 Adobe. All Rights Reserved