public abstract class JMSAppenderBase<E> extends AppenderBase<E>
| Modifier and Type | Field and Description |
|---|---|
protected String |
initialContextFactoryName
|
protected String |
password
|
protected String |
providerURL
|
protected String |
securityCredentials
|
protected String |
securityPrincipalName
|
protected String |
urlPkgPrefixes
|
protected String |
userName
|
name, startedcontext| Constructor and Description |
|---|
JMSAppenderBase()
|
| Modifier and Type | Method and Description |
|---|---|
Properties |
buildEnvProperties()
|
Context |
buildJNDIContext()
|
String |
getInitialContextFactoryName()
Returns the value of the
InitialContextFactoryName option.
|
String |
getPassword()
|
String |
getProviderURL()
|
String |
getSecurityCredentials()
|
String |
getSecurityPrincipalName()
|
String |
getURLPkgPrefixes()
|
String |
getUserName()
|
protected Object |
lookup(Context
|
void |
setInitialContextFactoryName(String
Setting the
InitialContextFactoryName method will cause this
JMSAppender instance to use the
InitialContext method instead of the no-argument constructor.
|
void |
setPassword(String
The password to use when creating a topic session.
|
void |
setProviderURL(String
|
void |
setSecurityCredentials(String
|
void |
setSecurityPrincipalName(String
|
void |
setURLPkgPrefixes(String
|
void |
setUserName(String
The user name to use when
javax.jms.TopicConnectionFactory#createTopicConnection(String, String) creating a topic session}.
|
addFilter, append, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, start, stop, toStringaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContextprotected StringsecurityPrincipalName
protected StringsecurityCredentials
protected StringinitialContextFactoryName
protected StringurlPkgPrefixes
protected StringproviderURL
protected StringuserName
protected Stringpassword
protected Objectlookup(Context ctx, String name) throws NamingException
NamingException
public ContextbuildJNDIContext() throws NamingException
NamingException
public PropertiesbuildEnvProperties()
public StringgetInitialContextFactoryName()
setInitialContextFactoryName(java.lang.String) for more details on the meaning of this option.
public void setInitialContextFactoryName(StringinitialContextFactoryName)
JMSAppender instance to use the
InitialContext.InitialContext(Hashtable) method instead of the no-argument constructor. If you set this option, you should also at least set the
ProviderURL option.
See also setProviderURL(String).
public StringgetProviderURL()
public void setProviderURL(StringproviderURL)
public StringgetURLPkgPrefixes()
public void setURLPkgPrefixes(StringurlPkgPrefixes)
public StringgetSecurityCredentials()
public void setSecurityCredentials(StringsecurityCredentials)
public StringgetSecurityPrincipalName()
public void setSecurityPrincipalName(StringsecurityPrincipalName)
public StringgetUserName()
public void setUserName(StringuserName)
javax.jms.TopicConnectionFactory#createTopicConnection(String, String) creating a topic session}. If you set this option, you should also set the
Password option. See
setPassword(String).
public StringgetPassword()
public void setPassword(Stringpassword)