public abstract class AbstractDynamicFabricComponent
extends java.lang.Object
Constructor and Description |
---|
AbstractDynamicFabricComponent(java.lang.String type,
java.lang.String name,
ComponentModel model,
ComponentState state) |
Modifier and Type | Method and Description |
---|---|
abstract void |
destroy() |
com.streamscape.sef.pool.AccessorsPool |
getAccessorsPool() |
ComponentModel |
getComponentModel()
Returns a model of the component.
|
ComponentReference |
getComponentReference()
Returns a
ComponentReference associated with the component. |
ContextId |
getContextId()
Returns the Context Id of this Fabric Component.
|
EventScope |
getEventScope()
Returns the scope of events that are generated by the component.
|
FabricAddress |
getFabricAddress()
Returns the
Fabric Address for this fabric component. |
java.lang.String |
getFullName() |
Logger |
getLogger() |
java.lang.String |
getName()
Returns the name of the component.
|
PackageManifestManager |
getPackageManifestManager()
Returns the
Package Manifest Manager for the component. |
SecurityContext |
getSecurityContext()
Returns a Security Context associated with the user owning this component.
|
ComponentState |
getState() |
java.lang.String |
getType()
Returns the type of the component.
|
boolean |
hasBoundEventIds() |
abstract void |
init() |
boolean |
isNativeContext(com.streamscape.slex.MFSession session)
Checks if the specified session represents a context that is native to this Callable object.
|
void |
setEventScope(EventScope scope) |
void |
setLogger(Logger logger) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getStartupDir
public AbstractDynamicFabricComponent(java.lang.String type, java.lang.String name, ComponentModel model, ComponentState state)
public abstract void init() throws java.lang.Exception
java.lang.Exception
public abstract void destroy() throws java.lang.Exception
java.lang.Exception
public java.lang.String getType()
FabricComponent
getType
in interface FabricComponent
public java.lang.String getName()
FabricComponent
getName
in interface FabricComponent
public java.lang.String getFullName()
public EventScope getEventScope()
FabricComponent
getEventScope
in interface FabricComponent
public void setEventScope(EventScope scope)
public ContextId getContextId()
FabricComponent
getContextId
in interface FabricComponent
public FabricAddress getFabricAddress()
FabricComponent
Fabric Address
for this fabric component.
TruFabric Link Protocol
.
The address bytes are as follows:
Event Source
in
order to definitively correlate any event to its source component.getFabricAddress
in interface FabricComponent
public ComponentModel getComponentModel()
FabricComponent
getComponentModel
in interface FabricComponent
public ComponentReference getComponentReference()
FabricComponent
ComponentReference
associated with the component.
This method will return null
if the component has LOCAL
event scope.
getComponentReference
in interface FabricComponent
public PackageManifestManager getPackageManifestManager()
FabricComponent
Package Manifest Manager
for the component.
Class Loaders
.getPackageManifestManager
in interface FabricComponent
public ComponentState getState()
public Logger getLogger()
public void setLogger(Logger logger)
public com.streamscape.sef.pool.AccessorsPool getAccessorsPool()
public SecurityContext getSecurityContext()
FabricComponent
null
if a security is disabled in the Fabric.getSecurityContext
in interface FabricComponent
public boolean hasBoundEventIds()
public boolean isNativeContext(com.streamscape.slex.MFSession session)
SLCallable
RuntimeMFSession
represents a context that is native to operations
that use the RuntimeContext
as a Callable object.isNativeContext
in interface SLCallable
session
- the session to be checked.true
if the specified context is native to this object, false
otherwise.Copyright © 2015-2024 StreamScape Technologies. All rights reserved.