fulmine.model.container.impl
Class BasicContainer

java.lang.Object
  extended by fulmine.AbstractLifeCycle
      extended by fulmine.model.component.AbstractComponent
          extended by fulmine.model.container.AbstractContainer
              extended by fulmine.model.container.AbstractEventProcessingContainer
                  extended by fulmine.model.container.impl.BasicContainer
All Implemented Interfaces:
IEvent, IEventFrame, IEventSource, IAddressable, IDescriptor, IDestroyable, ILifeCycle, IComponent, IContainer, IRemoteSubscribable, IWireState, Cloneable

public class BasicContainer
extends AbstractEventProcessingContainer

The basic, concrete, container implementation. This implementation handles events and has wire capability; it can read and write its state from and to a wire frame.

Author:
Ramon Servadei

Nested Class Summary
 
Nested classes/interfaces inherited from class fulmine.model.container.AbstractContainer
AbstractContainer.ReaderTask
 
Nested classes/interfaces inherited from interface fulmine.model.container.IContainer
IContainer.DataState
 
Field Summary
 
Fields inherited from class fulmine.model.container.AbstractEventProcessingContainer
events
 
Constructor Summary
BasicContainer(String nativeContextIdentity, String identity, IType type, IDomain domain, IFrameworkContext hostContext, boolean local)
          Standard constructor.
 
Method Summary
protected  AsyncLog getLog()
          Get the log to use for the object hierarchy
 
Methods inherited from class fulmine.model.container.AbstractEventProcessingContainer
addEvent, afterAdd, clone, doCommitEvents, doComponentDestroy, doStateChangeOp, getChangedFields, getFieldsToWrite
 
Methods inherited from class fulmine.model.container.AbstractContainer
add, afterRemove, beforeAdd, beforeRemove, beginFrame, contains, doPostAddListener, doPostRemoveListener, doReadState, doStart, doWriteState, endFrame, equals, flushFrame, get, getBooleanField, getComponentIdentities, getContext, getDataState, getDefinition, getDoubleField, getFields, getFloatField, getFrameIdentifier, getIntegerField, getLongField, getNativeContextIdentity, getRemoteSubscriptionCount, getStringField, hashCode, isDynamic, isEmpty, isEventFrameThread, isFrameActive, isLocal, isRemote, lockFrame, logNotTheEventFrameThread, markForRemoteSubscription, newReaderTask, remove, setState, size, toDetailedString, toString, unmarkForRemoteSubscription
 
Methods inherited from class fulmine.model.component.AbstractComponent
addListener, checkClone, createIdentityString, doDestroy, getAddress, getAddressable, getDomain, getDrivingFrame, getEventSourceGroupId, getFrame, getIdentity, getIdentityString, getListeners, getSource, getTriggerEvent, getType, isClone, readState, removeListener, removeListeners, setDrivingFrame, setFrame, setTriggerEvent, toIdentityString, writeState
 
Methods inherited from class fulmine.AbstractLifeCycle
checkActive, destroy, finalize, isActive, start
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface fulmine.model.container.IContainer
destroy, getType, isClone, start
 
Methods inherited from interface fulmine.protocol.wire.IWireState
readState, writeState
 
Methods inherited from interface fulmine.event.IEventSource
addListener, getEventSourceGroupId, getListeners, removeListener, removeListeners
 
Methods inherited from interface fulmine.IDescriptor
toIdentityString
 
Methods inherited from interface fulmine.ILifeCycle
isActive
 
Methods inherited from interface fulmine.IAddressable
getAddress, getDomain, getIdentity
 
Methods inherited from interface fulmine.event.IEvent
getDrivingFrame, getFrame, getSource, getTriggerEvent, setTriggerEvent
 
Methods inherited from interface fulmine.IDescriptor
toIdentityString
 
Methods inherited from interface fulmine.IAddressable
getAddress, getDomain, getIdentity
 

Constructor Detail

BasicContainer

public BasicContainer(String nativeContextIdentity,
                      String identity,
                      IType type,
                      IDomain domain,
                      IFrameworkContext hostContext,
                      boolean local)
Standard constructor.

Parameters:
nativeContextIdentity - the name of the context this container is native to; the name of its local context
identity - the identity of the container
type - the type of the container
domain - the domain for the container
hostContext - the context hosting this container instance
local - true the container is local to this context
Method Detail

getLog

protected AsyncLog getLog()
Description copied from class: AbstractLifeCycle
Get the log to use for the object hierarchy

Overrides:
getLog in class AbstractEventProcessingContainer
Returns:
the log to use for the object hierarchy


Copyright © 2007-2009. All Rights Reserved.