com.sun.enterprise.admin.cli.schemadoc
Class GenerateDomainSchema
java.lang.Object
com.sun.enterprise.admin.cli.schemadoc.GenerateDomainSchema
- All Implemented Interfaces:
- AdminCommand
@Service(name="generate-domain-schema")
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
@ExecuteOn(value=DAS)
@TargetType(value={DOMAIN,DAS,STANDALONE_INSTANCE,CLUSTER})
public class GenerateDomainSchema- extends Object
- implements AdminCommand
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
domain
private Domain domain
habitat
private org.jvnet.hk2.component.Habitat habitat
format
private String format
docDir
File docDir
classDefs
private Map<String,ClassDef> classDefs
showSubclasses
private Boolean showSubclasses
showDeprecated
private Boolean showDeprecated
GenerateDomainSchema
public GenerateDomainSchema()
execute
public void execute(AdminCommandContext context)
- Specified by:
execute in interface AdminCommand
getFormat
private SchemaOutputFormat getFormat()
locateJarFiles
private List<JarFile> locateJarFiles(String modulesDir)
throws IOException
- Throws:
IOException
findClasses
private void findClasses(Map<String,ClassDef> classDefs,
List<JarFile> jarFiles)
throws IOException
- Throws:
IOException
parse
private ClassDef parse(InputStream is)
throws IOException
- Throws:
IOException
toClassName
public static String toClassName(String value)
Copyright © 2012 GlassFish Community. All Rights Reserved.