Package org.exoplatform.web.url
Class URLFactoryPlugin<R,U extends PortalURL<R,U>>
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.web.url.URLFactoryPlugin<R,U>
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
- Direct Known Subclasses:
NodeURLFactoryPlugin,SimpleURLFactoryPlugin
public abstract class URLFactoryPlugin<R,U extends PortalURL<R,U>>
extends org.exoplatform.container.component.BaseComponentPlugin
A plugin for adding an url factory to the
URLFactoryService.-
Field Summary
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ResourceType<R, U> Returns the resource type.protected abstract UnewURL(URLContext context) Returns a new url instance.Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
-
Constructor Details
-
URLFactoryPlugin
public URLFactoryPlugin()
-
-
Method Details
-
getResourceType
Returns the resource type.- Returns:
- the resource type
-
newURL
Returns a new url instance.- Parameters:
context- the context- Returns:
- a new url instance
-