|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.config.transfer.templatestream.Factory de.smartics.properties.config.transfer.templatestream.JBoss7NamingFactory
public class JBoss7NamingFactory
Creates instances of StreamPropertySink
by providing a template to generate an XML document for adding properties to an JNDI context.
Field Summary | |
---|---|
static String |
DEFAULT_JNDI_PREFIX The default JNDI prefix to store properties. |
Constructor Summary | |
---|---|
JBoss7NamingFactory() Default constructor. |
Method Summary | |
---|---|
StreamPropertySink |
create() |
String |
getJndiPrefix() Returns the prefix to the JNDI context to store properties. |
void |
setJndiPrefix(String jndiPrefix) Sets the prefix to the JNDI context to store properties. |
Methods inherited from class de.smartics.properties.config.transfer.templatestream.Factory |
---|
getEncoding, setConfigColumn, setDocumentExtro, setDocumentIntro, setEncoding, setEscaper, setEscaperType, setFile, setLineExtro, setLineIntro, setNameColumn, setStream, setTable, setTemplate, setValueColumn |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_JNDI_PREFIX
The value of this constant is "java:/smartics-properties/config".
"java:/smartics-properties/config"
Constructor Detail |
---|
public JBoss7NamingFactory()
Method Detail |
---|
public String getJndiPrefix()
public void setJndiPrefix(String jndiPrefix)
jndiPrefix
- the prefix to the JNDI context to store properties.
public StreamPropertySink create() throws IllegalStateException
create
in interface
de.smartics.properties.api.config.transfer.PropertySinkFactory<StreamPropertySink>
create
in class
Factory
IllegalStateException
- on any problem opening the stream.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |