public class DomainInitializer extends Object
Constructor and Description |
---|
DomainInitializer() |
Modifier and Type | Method and Description |
---|---|
static ResourceType |
getResourceType(File rtJson,
String domainId,
ResourceTypeDao rtdao) |
static ServiceType |
getServiceType(File stJson,
String domainId,
ServiceTypeDao stdao) |
static void |
init(DaoFactory f,
DaoContext dc,
String gridId,
boolean dropAndCreate,
String baseDir) |
public static void init(DaoFactory f, DaoContext dc, String gridId, boolean dropAndCreate, String baseDir) throws DaoException, IOException, SQLException
DaoException
IOException
SQLException
public static ServiceType getServiceType(File stJson, String domainId, ServiceTypeDao stdao) throws DaoException, IOException, SQLException
DaoException
IOException
SQLException
public static ResourceType getResourceType(File rtJson, String domainId, ResourceTypeDao rtdao) throws DaoException, IOException, SQLException
DaoException
IOException
SQLException