Package com.iizix.ws.server
Class Descriptor
java.lang.Object
com.iizix.ws.server.Descriptor
- All Implemented Interfaces:
- IPluginDescriptor<WebServiceProp>
Plug-in descriptor used for the Server to load the plug-in's XML schema and get the appropriate class loader.
- Author:
- Christopher Mindus
- Constructor SummaryConstructors
- Method SummaryModifier and TypeMethodDescriptionGets the class loader to use for loading properties classes.Gets the URL's to the required classpath entries when running in the Server.Gets the description of the plug-in.- getID()Gets the ID of the plug-in, e.g.Gets the directory name in Module projects.Gets the file extension used in Module projects, null for all.Gets the properties file URL for "properties.xml".Gets the property class for files.Gets the property class for files.Gets the ID of the plug-in, e.g.
- Constructor Details- Descriptorpublic Descriptor()Constructor.
 
- Method Details- getIDGets the ID of the plug-in, e.g. "com.iizigo.db". Predefined descriptors such as Images, Panels, etc, return null.- Specified by:
- getIDin interface- IPluginDescriptor<WebServiceProp>
- Returns:
- Predefined descriptors such as Images, Panels, etc, return null.
 
- getServerIDGets the ID of the plug-in, e.g. "com.iizix.ws". Predefined descriptors such as Images, Panels, etc, return null.- Specified by:
- getServerIDin interface- IPluginDescriptor<WebServiceProp>
- Returns:
- Predefined descriptors such as Images, Panels, etc, return null.
 
- getDescriptionGets the description of the plug-in.- Specified by:
- getDescriptionin interface- IPluginDescriptor<WebServiceProp>
- Returns:
- The description.
 
- getPropertiesURLGets the properties file URL for "properties.xml".- Specified by:
- getPropertiesURLin interface- IPluginDescriptor<WebServiceProp>
- Returns:
- The URL for the properties file.
 
- getClassLoaderGets the class loader to use for loading properties classes.- Specified by:
- getClassLoaderin interface- IPluginDescriptor<WebServiceProp>
- Returns:
- A class loader or null to use the default class loader.
 
- getModuleDirectoryGets the directory name in Module projects.- Specified by:
- getModuleDirectoryin interface- IPluginDescriptor<WebServiceProp>
- Returns:
- The module directory name.
 
- getModuleFileExtensionGets the file extension used in Module projects, null for all.- Specified by:
- getModuleFileExtensionin interface- IPluginDescriptor<WebServiceProp>
- Returns:
- The file extension used in Module projects, null for all.
 
- getPropertyClassGets the property class for files.- Specified by:
- getPropertyClassin interface- IPluginDescriptor<WebServiceProp>
- Returns:
- The main property class used, null if there are multiple ones, in which case the IPluginDescriptor.getPropertyClasses()method must be used.
 
- getPropertyClassesGets the property class for files.- Specified by:
- getPropertyClassesin interface- IPluginDescriptor<WebServiceProp>
- Returns:
- The main property class used.
 
- getClasspathEntriesGets the URL's to the required classpath entries when running in the Server. This method is also called from the Designer, and the reply should include a representation of the same libraries or paths.- Specified by:
- getClasspathEntriesin interface- IPluginDescriptor<WebServiceProp>
- Returns:
- A list of the classpath entries, or null for no special processing.