public interface Component
| Modifier and Type | Method and Description |
|---|---|
ComponentInstance |
createInstance()
Create a new instance of this component.
|
ComponentInstance |
createInstance(Object instance) |
Class<?> |
getComponentClass()
Get the component's actual implementation class.
|
ComponentInstance |
getInstance(Object instance)
Returns a component instance for a pre-existing instance.
|
NamespaceContextSelector |
getNamespaceContextSelector() |
default boolean |
isRemotable(Throwable throwable)
Checks whether the supplied
Throwable is remotable meaning it can be safely sent to the client over the wire. |
void |
start()
Start operation called when the Component is available.
|
void |
stop()
Stop operation called when the Component is no longer available.
|
void |
waitForComponentStart() |
void start()
void stop()
Class<?> getComponentClass()
ComponentInstance createInstance()
ComponentInstance createInstance(Object instance)
ComponentInstance getInstance(Object instance)
instance - the actual object instanceNamespaceContextSelector getNamespaceContextSelector()
default boolean isRemotable(Throwable throwable)
Throwable is remotable meaning it can be safely sent to the client over the wire.void waitForComponentStart()
Copyright © 2023 JBoss by Red Hat. All rights reserved.