| Modifier and Type | Method and Description |
|---|---|
void |
ResourcesGeneratorBase.configModelVisited(ConfigModel model) |
void |
ResourcesGeneratorBase.generateList(ConfigModel model,
DomDocument domDocument) |
void |
ResourcesGenerator.generateSingle(ConfigModel rootModel,
DomDocument document) |
void |
ResourcesGeneratorBase.generateSingle(ConfigModel model,
DomDocument domDocument)
Generate REST resource for a single config model.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ClientClassWriter.createGetChildResource(ConfigModel model,
String elementName,
String childResourceClassName) |
void |
JavaClientClassWriter.createGetChildResource(ConfigModel model,
String elementName,
String childResourceClassName) |
void |
ClientGenerator.generateList(ClientClassWriter writer,
ConfigModel model) |
protected void |
JavaClientClassWriter.generateRestClientBaseChild(ConfigModel model) |
void |
ClientGenerator.generateSingle(ConfigModel model) |
ClientClassWriter |
PythonClientGenerator.getClassWriter(ConfigModel model,
String className,
Class parent) |
abstract ClientClassWriter |
ClientGenerator.getClassWriter(ConfigModel model,
String className,
Class parent) |
ClientClassWriter |
JavaClientGenerator.getClassWriter(ConfigModel model,
String className,
Class parent) |
protected void |
ClientGenerator.processAttributes(ClientClassWriter writer,
ConfigModel model,
Set<String> processed) |
protected Set<String> |
ClientGenerator.processElements(ClientClassWriter writer,
ConfigModel model) |
protected void |
ClientGenerator.processNonLeafChildConfigModel(ClientClassWriter writer,
ConfigModel childConfigModel,
ConfigModel.Property childElement) |
| Constructor and Description |
|---|
JavaClientClassWriter(ConfigModel model,
String className,
Class parent,
File baseDirectory) |
| Modifier and Type | Field and Description |
|---|---|
protected ConfigModel |
TemplateRestResource.childModel |
| Modifier and Type | Method and Description |
|---|---|
static List<ConfigModel> |
ResourceUtil.getRealChildConfigModels(ConfigModel childModel,
DomDocument domDocument) |
| Modifier and Type | Method and Description |
|---|---|
int |
ConfigModelComparator.compare(ConfigModel o1,
ConfigModel o2) |
static String |
ResourceUtil.getCommand(RestRedirect.OpType type,
ConfigModel model)
Returns the name of the command associated with this resource,if any, for
the given operation.
|
static String |
Util.getKeyAttributeName(ConfigModel model) |
static MethodMetaData |
ResourceUtil.getMethodMetaData(ConfigModel configBeanModel)
Constructs and returns the resource method meta-data.
|
static MethodMetaData |
ResourceUtil.getMethodMetaData2(Dom parent,
ConfigModel childModel,
int parameterType) |
static List<ConfigModel> |
ResourceUtil.getRealChildConfigModels(ConfigModel childModel,
DomDocument domDocument) |
static boolean |
ResourceUtil.isDeprecated(ConfigModel model) |
static boolean |
ResourceUtil.isOnlyATag(ConfigModel model) |
| Modifier and Type | Method and Description |
|---|---|
GlassFishConfigBean |
GlassFishDocument.make(org.glassfish.hk2.api.ServiceLocator habitat,
XMLStreamReader xmlStreamReader,
GlassFishConfigBean dom,
ConfigModel configModel) |
| Constructor and Description |
|---|
GlassFishConfigBean(org.glassfish.hk2.api.ServiceLocator habitat,
DomDocument document,
GlassFishConfigBean parent,
ConfigModel model,
XMLStreamReader in) |
| Modifier and Type | Field and Description |
|---|---|
ConfigModel |
Dom.model
Model drives the interpretation of this DOM.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<org.glassfish.hk2.api.ActiveDescriptor<? extends ConfigInjector>,ConfigModel> |
DomDocument.models |
| Modifier and Type | Method and Description |
|---|---|
ConfigModel |
DomDocument.buildModel(Class<?> clazz)
Obtains a
ConfigModel for the given class (Which should have Configured annotation on it.) |
ConfigModel |
DomDocument.buildModel(String fullyQualifiedClassName)
Obtains a
ConfigModel for the given class (Which should have Configured annotation on it.) |
ConfigModel |
ConfigModel.Node.getModel()
Returns the config model for this Node
|
ConfigModel |
DomDocument.getModel(Class c)
Deprecated.
|
ConfigModel |
DomDocument.getModelByElementName(String elementName)
Obtains the
ConfigModel from the "global" element name. |
| Modifier and Type | Method and Description |
|---|---|
List<ConfigModel> |
DomDocument.getAllModelsImplementing(Class intf)
Calculates all @Configured interfaces subclassing the passed interface type.
|
| Modifier and Type | Method and Description |
|---|---|
Dom |
DomDecorator.decorate(org.glassfish.hk2.api.ServiceLocator habitat,
DomDocument document,
T parent,
ConfigModel model,
XMLStreamReader in) |
protected Dom |
ConfigParser.handleElement(XMLStreamReader in,
DomDocument document,
Dom parent,
ConfigModel model)
Parses a whole XML tree and builds a
Dom tree, by using the given model
for the top-level element. |
Dom |
DomDocument.make(org.glassfish.hk2.api.ServiceLocator habitat,
XMLStreamReader in,
T parent,
ConfigModel model) |
| Constructor and Description |
|---|
ConfigBean(org.glassfish.hk2.api.ServiceLocator habitat,
DomDocument document,
ConfigBean parent,
ConfigModel model,
XMLStreamReader in) |
Dom(org.glassfish.hk2.api.ServiceLocator habitat,
DomDocument document,
Dom parent,
ConfigModel model) |
Dom(org.glassfish.hk2.api.ServiceLocator habitat,
DomDocument document,
Dom parent,
ConfigModel model,
XMLStreamReader in) |
Node(ConfigModel model,
String xmlName) |
Copyright © 2019. All rights reserved.