throw new RuntimeException(_MESSAGES.get("NoEntryEndpoint"));
//
// set up persistence, if it's used
//
Persistence persistence = getPersistence();
if (persistence != null)
{
if (!ServiceGroupPersistence.class.isAssignableFrom(persistence.getClass()))
{
Object[] filler = { ServiceGroupPersistence.class, persistence.getClass() };
throw new RuntimeException(_MESSAGES.get("IncorrectPersistenceRoot", filler));
}
ServiceGroupPersistence sgP = (ServiceGroupPersistence)persistence;
sgP.setServiceGroup(resource);