Package org.ametys.web.source
Class ModelSourceFactory
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.web.source.ModelSourceFactory
- All Implemented Interfaces:
 LogEnabled,Component,Serviceable,SourceFactory
Resolve the protocol model:// seeking file in models/
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringScheme for modelprotected static final PatternThe regexp for a protocolprotected SkinModelsManagerThe skins managerFields inherited from interface org.apache.excalibur.source.SourceFactory
ROLE - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidLookupSkinModelsManagerfor lazy initialization.voidvoidservice(ServiceManager manager) Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger 
- 
Field Details
- 
__SOURCE_PATTERN
The regexp for a protocol - 
__MODEL_SCHEME
Scheme for model- See Also:
 
 - 
_skinModelsManager
The skins manager 
 - 
 - 
Constructor Details
- 
ModelSourceFactory
public ModelSourceFactory() 
 - 
 - 
Method Details
- 
service
- Specified by:
 servicein interfaceServiceable- Throws:
 ServiceException
 - 
initializeComponents
LookupSkinModelsManagerfor lazy initialization. - 
getSource
- Specified by:
 getSourcein interfaceSourceFactory- Throws:
 IOException
 - 
release
- Specified by:
 releasein interfaceSourceFactory
 
 -