com.virtualweaver.xotics.dialect.xape.engine
Class XapRepository

java.lang.Object
  extended bycom.virtualweaver.xotics.dialect.xape.engine.XapRepository

public final class XapRepository
extends java.lang.Object

The repository provides the name of current loaded applications, instances and share spaces. It's created and made available by XapEngine itself.

Version:
2.1

Constructor Summary
protected XapRepository(com.virtualweaver.xotics.dialect.xape.core.XapRepositoryManager rm)
           
 
Method Summary
 java.lang.String[] getAppInstanceNames(java.lang.String appName)
           
 java.lang.String[] getLoadedAppNames()
           
 java.lang.String[] getShareSpaceNames()
           
 boolean isMultiInstances(java.lang.String appName)
          Tells whether this app is multi instances or not
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XapRepository

protected XapRepository(com.virtualweaver.xotics.dialect.xape.core.XapRepositoryManager rm)
Method Detail

getLoadedAppNames

public java.lang.String[] getLoadedAppNames()
                                     throws XapException
Returns:
names of loaded applications
Throws:
XapException

getAppInstanceNames

public java.lang.String[] getAppInstanceNames(java.lang.String appName)
                                       throws XapException
Parameters:
appName - name of a particular app
Returns:
name of instances of a particular app
Throws:
XapException

isMultiInstances

public boolean isMultiInstances(java.lang.String appName)
                         throws XapException
Tells whether this app is multi instances or not

Parameters:
appName - name of an app
Returns:
true if app is multi instances
Throws:
XapException

getShareSpaceNames

public java.lang.String[] getShareSpaceNames()
                                      throws XapException
Returns:
existing share spaces
Throws:
XapException