public abstract class ResourcesGeneratorBase extends Object implements ResourcesGenerator
ResourcesGenerator.Strategy| Modifier and Type | Field and Description |
|---|---|
static Map<String,org.glassfish.admin.rest.generator.CollectionLeafMetaData> |
configBeanToCollectionLeafMetaData |
static Map<String,String> |
configBeanToPOSTCommand |
| Constructor and Description |
|---|
ResourcesGeneratorBase(org.glassfish.hk2.api.ServiceLocator habitat) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
alreadyGenerated(String className) |
void |
configModelVisited(ConfigModel model) |
void |
generateList(ConfigModel model,
DomDocument domDocument) |
void |
generateSingle(ConfigModel model,
DomDocument domDocument)
Generate REST resource for a single config model.
|
static String |
getBeanName(String elementName) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitendGeneration, getClassWriterpublic ResourcesGeneratorBase(org.glassfish.hk2.api.ServiceLocator habitat)
public void generateSingle(ConfigModel model, DomDocument domDocument)
generateSingle in interface ResourcesGeneratorpublic void generateList(ConfigModel model, DomDocument domDocument)
public void configModelVisited(ConfigModel model)
protected boolean alreadyGenerated(String className)
className - Copyright © 2019. All rights reserved.