org.entityfs.impl
Class SupportObjects

java.lang.Object
  extended by org.entityfs.impl.SupportObjects

public class SupportObjects
extends Object

This is an immutable collection of support objects for a file system.

This is only used by file system and capability implementations. The FileSystem interface expose the properties that should be visible to file system clients.

Since:
1.0
Author:
Karl Gustafsson
See Also:
FileSystemImplementation.getSupportObjects()
In_jar:
entityfs-core

Constructor Summary
SupportObjects(LogAdapterHolder lah, EntityValidityControlStrategy evcs, AccessController ac, LockAcquiringStrategy las, EntityLockAdapterFactory laf, EventManager em, AdapterFactory af, ChildEntityManagerFactory<EntityImplementation> cemf, int bufSize, LockCommandExecutor lce)
           
 
Method Summary
 AccessController getAccessController()
          Get the file system's AccessController.
 AdapterFactory getAdapterFactory()
          Get the file system's AdapterFactory.
 int getBufferSize()
          Get the default size of temporary memory buffers for the file system
 ChildEntityManagerFactory<EntityImplementation> getChildEntityManagerFactory()
          Get the file system's ChildEntityManagerFactory.
 EntityValidityControlStrategy getEntityValidityControlStrategy()
          Get the file system's EntityValidityControlStrategy.
 EventManager getEventManager()
          Get the file system's EventManager.
 LockAcquiringStrategy getLockAcquiringStrategy()
          Get the file system's LockAcquiringStrategy.
 EntityLockAdapterFactory getLockAdapterFactory()
          Get the file system's EntityLockAdapterFactory.
 LockCommandExecutor getLockCommandExecutor()
          Get the LockCommandExecutor.
 LogAdapterHolder getLogAdapterHolder()
          Get the file system's LogAdapterHolder.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SupportObjects

public SupportObjects(LogAdapterHolder lah,
                      EntityValidityControlStrategy evcs,
                      AccessController ac,
                      LockAcquiringStrategy las,
                      EntityLockAdapterFactory laf,
                      EventManager em,
                      AdapterFactory af,
                      ChildEntityManagerFactory<EntityImplementation> cemf,
                      int bufSize,
                      LockCommandExecutor lce)
Method Detail

getLogAdapterHolder

public LogAdapterHolder getLogAdapterHolder()
Get the file system's LogAdapterHolder.

Returns:
The file system's LogAdapterHolder.

getEntityValidityControlStrategy

public EntityValidityControlStrategy getEntityValidityControlStrategy()
Get the file system's EntityValidityControlStrategy.

Returns:
The file system's EntityValidityControlStrategy.

getAccessController

public AccessController getAccessController()
Get the file system's AccessController.

Returns:
The file system's AccessController.

getLockAcquiringStrategy

public LockAcquiringStrategy getLockAcquiringStrategy()
Get the file system's LockAcquiringStrategy.

Returns:
The file system's LockAcquiringStrategy.

getLockAdapterFactory

public EntityLockAdapterFactory getLockAdapterFactory()
Get the file system's EntityLockAdapterFactory.

Returns:
The file system's EntityLockAdapterFactory.

getEventManager

public EventManager getEventManager()
Get the file system's EventManager.

Returns:
The file system's EventManager.

getAdapterFactory

public AdapterFactory getAdapterFactory()
Get the file system's AdapterFactory.

Returns:
The file system's AdapterFactory.

getChildEntityManagerFactory

public ChildEntityManagerFactory<EntityImplementation> getChildEntityManagerFactory()
Get the file system's ChildEntityManagerFactory.

Returns:
The file system's ChildEntityManagerFactory.

getBufferSize

public int getBufferSize()
Get the default size of temporary memory buffers for the file system

Returns:
The default size in bytes.

getLockCommandExecutor

public LockCommandExecutor getLockCommandExecutor()
Get the LockCommandExecutor.

Returns:
The LockCommandExecutor.