org.qi4j.library.fileconfig
Class FileConfiguration.Mixin

java.lang.Object
  extended by org.qi4j.library.fileconfig.FileConfiguration.Mixin
All Implemented Interfaces:
Composite, Identity, Activatable, ServiceComposite, FileConfiguration
Enclosing interface:
FileConfiguration

public abstract static class FileConfiguration.Mixin
extends Object
implements FileConfiguration, Activatable


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.qi4j.library.fileconfig.FileConfiguration
FileConfiguration.Data, FileConfiguration.Mixin, FileConfiguration.OS
 
Nested classes/interfaces inherited from interface org.qi4j.api.entity.Identity
Identity.IdentityMixin
 
Constructor Summary
FileConfiguration.Mixin()
           
 
Method Summary
 void activate()
          This is invoked on the service when the instance is being activated
 File cacheDirectory()
           
 File configurationDirectory()
           
 File dataDirectory()
           
 File logDirectory()
           
 FileConfiguration.OS os()
           
 void passivate()
          This is invoked on the service when the instance is being passivated
 File temporaryDirectory()
           
 File user()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.qi4j.api.entity.Identity
identity
 
Methods inherited from interface org.qi4j.api.composite.Composite
metaInfo, type
 

Constructor Detail

FileConfiguration.Mixin

public FileConfiguration.Mixin()
Method Detail

activate

public void activate()
              throws Exception
Description copied from interface: Activatable
This is invoked on the service when the instance is being activated

Specified by:
activate in interface Activatable
Throws:
Exception - if service could not be activated

passivate

public void passivate()
               throws Exception
Description copied from interface: Activatable
This is invoked on the service when the instance is being passivated

Specified by:
passivate in interface Activatable
Throws:
Exception - if the service could not be passivated

os

public FileConfiguration.OS os()
Specified by:
os in interface FileConfiguration

user

public File user()
Specified by:
user in interface FileConfiguration

configurationDirectory

public File configurationDirectory()
Specified by:
configurationDirectory in interface FileConfiguration

dataDirectory

public File dataDirectory()
Specified by:
dataDirectory in interface FileConfiguration

temporaryDirectory

public File temporaryDirectory()
Specified by:
temporaryDirectory in interface FileConfiguration

cacheDirectory

public File cacheDirectory()
Specified by:
cacheDirectory in interface FileConfiguration

logDirectory

public File logDirectory()
Specified by:
logDirectory in interface FileConfiguration