7778798081828384858687
@Override public void stop() { synchronized (MONITOR) { if (ddlFunctions == null) { throw new ServiceNotStartedException("DDL Functions stop"); } ddlFunctions = null; dmlFunctions = null; } }
888990919293949596
@Override public DDLFunctions ddlFunctions() { final DDLFunctions ret = ddlFunctions; if (ret == null) { throw new ServiceNotStartedException("DDL Functions"); } return ret; }
979899100101102103104105
@Override public DMLFunctions dmlFunctions() { final DMLFunctions ret = dmlFunctions; if (ret == null) { throw new ServiceNotStartedException("DML Functions"); } return ret; }
282283284285286287288289290
} private Map<String, String> internalGetProperties() { final Map<String, String> ret = properties; if (ret == null) { throw new ServiceNotStartedException("Configuration"); } return ret; }
676869707172737475
// for use by this class private static ServiceManager installed() { ServiceManager sm = instance.get(); if (sm == null) { throw new ServiceNotStartedException("services haven't been started"); } return sm; }