Class AttachableServiceContainer
Provides an attachable container with access to shared services through SciChart components
Implements
Inherited Members
Namespace:
Assembly: .dll
Syntax
public final class AttachableServiceContainer extends ServiceContainer implements IAttachable
Constructors
AttachableServiceContainer()
Declaration
public AttachableServiceContainer()
Methods
<T>getService(Class<T> classType)
Gets the esrvice instance registered by type
Declaration
public T <T>getService(Class<T> classType)
Parameters
Type | Name | Description |
---|---|---|
Class<T> | classType |
Returns
Type | Description |
---|---|
T |
Overrides
<T>hasService(Class<T> classType)
Determines whether this instance has the service of specified type.
Declaration
public boolean <T>hasService(Class<T> classType)
Parameters
Type | Name | Description |
---|---|---|
Class<T> | classType |
Returns
Type | Description |
---|---|
boolean |
Overrides
attachTo(IServiceContainer parentServiceContainer)
Attaches this instance to the instance of IServiceContainer
Declaration
public void attachTo(IServiceContainer parentServiceContainer)
Parameters
Type | Name | Description |
---|---|---|
IServiceContainer | parentServiceContainer |
detach()
Detaches this instance from currently attached IServiceContainer instance
Declaration
public void detach()
isAttached()
Gets whether this instance is attached on not
Declaration
public boolean isAttached()
Returns
Type | Description |
---|---|
boolean |