|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.extensions.surf.resource.AbstractResourceLoader
public abstract class AbstractResourceLoader
Abstract class that developers can extend to build their own custom resource loaders.
Field Summary | |
---|---|
protected String |
endpointId
|
protected String |
protocolId
|
Constructor Summary | |
---|---|
AbstractResourceLoader(String protocolId,
String endpointId)
Instantiates a new abstract resource loader |
Method Summary | |
---|---|
String |
getEndpointId()
Gets the endpoint id. |
String |
getProtocolId()
Gets the protocol id. |
WebFrameworkServiceRegistry |
getServiceRegistry()
Gets the service registry. |
void |
init()
Spring initialization method |
void |
setServiceRegistry(WebFrameworkServiceRegistry serviceRegistry)
Sets the service registry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.springframework.extensions.surf.resource.ResourceLoader |
---|
load |
Field Detail |
---|
protected String endpointId
protected String protocolId
Constructor Detail |
---|
public AbstractResourceLoader(String protocolId, String endpointId)
protocolId
- the protocol idendpointId
- the endpoint idMethod Detail |
---|
public void setServiceRegistry(WebFrameworkServiceRegistry serviceRegistry)
serviceRegistry
- the new service registrypublic WebFrameworkServiceRegistry getServiceRegistry()
public void init()
public String getEndpointId()
getEndpointId
in interface ResourceLoader
public String getProtocolId()
getProtocolId
in interface ResourceLoader
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |