org.milyn.container
Class MockContainerResourceLocator
java.lang.Object
org.milyn.container.MockContainerResourceLocator
- All Implemented Interfaces:
- ContainerResourceLocator, ExternalResourceLocator
public class MockContainerResourceLocator
- extends Object
- implements ContainerResourceLocator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TEST_STANDALONE_CTX_BASE
public static final File TEST_STANDALONE_CTX_BASE
MockContainerResourceLocator
public MockContainerResourceLocator()
setResource
public void setResource(String nameOrUri,
InputStream stream)
getResource
public InputStream getResource(String configName,
String defaultUri)
throws IllegalArgumentException,
IOException
- Specified by:
getResource in interface ContainerResourceLocator
- Throws:
IllegalArgumentException
IOException
getResource
public InputStream getResource(String uri)
throws IllegalArgumentException,
IOException
- Specified by:
getResource in interface ExternalResourceLocator
- Throws:
IllegalArgumentException
IOException
Copyright © 2008. All Rights Reserved.