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
Modifier and TypeFieldDescriptionprotected static final String
Scheme for modelprotected static final Pattern
The regexp for a protocolprotected SkinModelsManager
The skins managerFields inherited from interface org.apache.excalibur.source.SourceFactory
ROLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
LookupSkinModelsManager
for lazy initialization.void
void
service
(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:
service
in interfaceServiceable
- Throws:
ServiceException
-
initializeComponents
LookupSkinModelsManager
for lazy initialization. -
getSource
- Specified by:
getSource
in interfaceSourceFactory
- Throws:
IOException
-
release
- Specified by:
release
in interfaceSourceFactory
-