palio.api
Interface IInstance


public interface IInstance

jPALIO USERS API. Classes and methods writter should not change as it's possible. Implementations however can be easily changed. The purpose of this API is to focus users on classes that should be used by them. This is also a warning not to use any internal classes outside this API. This class represents jPALIO API instance.

Author:
Szymon Kuklewicz

Method Summary
 Module getModule(java.lang.String moduleName)
           
 java.util.Set<java.lang.String> getModuleNames()
           
 IServer getServer()
           
 IInstanceTree getTree()
           
 

Method Detail

getServer

IServer getServer()
Returns:
server running this instance

getModuleNames

java.util.Set<java.lang.String> getModuleNames()
Returns:
set of modules available

getModule

Module getModule(java.lang.String moduleName)
                 throws palio.PalioException
Parameters:
moduleName - name of module
Returns:
module of specified name
Throws:
palio.PalioException - if module of specified name is not defined

getTree

IInstanceTree getTree()
Returns:
application tree for this instance