|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.soa.esb.smooks.resource.SmooksResource
public class SmooksResource
Smooks resource tied to the lifecycle.
Method Summary | |
---|---|
static void |
closeSmooksResource(org.milyn.Smooks smooks)
Close the smooks resource. |
static org.milyn.Smooks |
createSmooksResource()
Create a smooks instance. |
static org.milyn.Smooks |
createSmooksResource(java.io.InputStream is)
Create a smooks instance using the specified input stream. |
static org.milyn.Smooks |
createSmooksResource(java.lang.String config)
Create a smooks instance using the specified configuration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static org.milyn.Smooks createSmooksResource() throws LifecycleResourceException
LifecycleResourceException
- For errors creating the lifecycle resource.public static org.milyn.Smooks createSmooksResource(java.lang.String config) throws org.xml.sax.SAXException, java.io.IOException, LifecycleResourceException
config
- The configuration representing the smooks configuration.
org.xml.sax.SAXException
- For errors parsing the smooks configuration.
java.io.IOException
- For errors accessing the smooks configuration.
LifecycleResourceException
- For errors creating the lifecycle resource.public static org.milyn.Smooks createSmooksResource(java.io.InputStream is) throws org.xml.sax.SAXException, java.io.IOException, LifecycleResourceException
is
- The input stream representing the smooks configuration.
org.xml.sax.SAXException
- For errors parsing the smooks configuration.
java.io.IOException
- For errors accessing the smooks configuration.
LifecycleResourceException
- For errors creating the lifecycle resource.public static void closeSmooksResource(org.milyn.Smooks smooks)
smooks
- The smooks resource.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |