org.acegisecurity.util
Class InMemoryResource
java.lang.Object
org.springframework.core.io.AbstractResource
org.acegisecurity.util.InMemoryResource
- All Implemented Interfaces:
- InputStreamSource, Resource
public class InMemoryResource
- extends AbstractResource
An in memory implementation of Spring's Resource interface.
Used by the
"Acegifier" web application to create a bean factory from an XML string, rather than a file.
- Version:
- $Id: InMemoryResource.java 1496 2006-05-23 13:38:33Z benalex $
- Author:
- Luke Taylor
InMemoryResource
public InMemoryResource(byte[] source)
InMemoryResource
public InMemoryResource(byte[] source,
String description)
getDescription
public String getDescription()
- Specified by:
getDescription in interface Resource- Specified by:
getDescription in class AbstractResource
getInputStream
public InputStream getInputStream()
throws IOException
- Throws:
IOException
Copyright © 2004-2006 Acegi Technology Pty Limited. All Rights Reserved.