|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.szegedi.spring.core.io.ResourceRepresentation
org.szegedi.spring.core.io.PropertyResourceRepresentation
org.szegedi.spring.core.io.BeanResourceRepresentation
public abstract class BeanResourceRepresentation
A resource representation that treats the resource as a Java properties file and represents the resource with a bean initialized with those properties.
| Constructor Summary | |
|---|---|
protected |
BeanResourceRepresentation(org.springframework.core.io.Resource resource)
|
| Method Summary | |
|---|---|
protected abstract java.lang.Object |
instantiateBean()
Implement in a subclass to create an uninitialized bean. |
protected java.lang.Object |
loadRepresentation(java.io.InputStream in)
Implement in subclasses to load the representation of the resource. |
| Methods inherited from class org.szegedi.spring.core.io.ResourceRepresentation |
|---|
getRepresentation, getRepresentation, getResource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected BeanResourceRepresentation(org.springframework.core.io.Resource resource)
| Method Detail |
|---|
protected abstract java.lang.Object instantiateBean()
protected java.lang.Object loadRepresentation(java.io.InputStream in)
throws java.io.IOException
ResourceRepresentation
loadRepresentation in class PropertyResourceRepresentationin - the input stream with resource bytes
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||