JBoss EJB client 1.0.11.Final-redhat-1

org.jboss.ejb.client
Interface Logs

All Superinterfaces:
org.jboss.logging.BasicLogger

@MessageLogger(projectCode="EJBCLIENT")
public interface Logs
extends org.jboss.logging.BasicLogger

Primary logging for the main EJB client API.

Author:
David M. Lloyd

Field Summary
static Logs MAIN
           
static Logs REMOTING
           
static Logs TXN
           
 
Method Summary
 void cannotCreateEJBReceiverDueToUnknownTarget(String clusterNode)
           
 IllegalStateException cannotEnlistTx()
           
 IllegalStateException cannotRetryRequest()
           
 IllegalStateException cannotSpecifyBothCallbackHandlerAndUserPass()
           
 IllegalStateException cannotSpecifyBothPlainTextAndEncodedPassword()
           
 void channelCanNoLongerProcessMessages(org.jboss.remoting3.Channel channel)
           
 IllegalStateException channelNotReadyForCommunication(String channelName, EJBReceiverContext receiverContext)
           
 RuntimeException couldNotCreateClusterNodeSelector(Exception e, String clusterName)
           
 RuntimeException couldNotCreateDeploymentNodeSelector(Exception e)
           
 RuntimeException couldNotDecodeBase64Password(Exception e)
           
 NamingException couldNotLoadProxyClass(String viewClassName)
           
 void discardingInvocationResult(short invocationId)
           
 IllegalStateException discardResultCalledDuringWrongPhase()
           
 SecurityException ejbClientContextSelectorMayNotBeChanged()
           
 IllegalArgumentException ejbClientInterceptorAlreadyRegistered(EJBClientInterceptor interceptor)
           
 IllegalArgumentException emptyBeanName()
           
 IllegalArgumentException emptyModuleName()
           
 RuntimeException failedToFindEjbClientConfigFileSpecifiedBySysProp(Exception e, String sysPropName)
           
 RuntimeException failedToReadEjbClientConfigFile(Exception e, String file)
           
 void failedToSendInvocationCancellationMessage(short invocationId, Exception e)
           
 IllegalStateException getResultCalledDuringWrongPhase()
           
 void greeting(String version)
           
 void incorrectConnectionTimeoutValueForCluster(String value, String clusterName, String fallbackDefaultValue)
           
 void incorrectConnectionTimeoutValueForConnection(String value, String connectionName, String fallbackDefaultValue)
           
 void incorrectConnectionTimeoutValueForNodeInCluster(String value, String nodeName, String clusterName, String fallbackDefaultValue)
           
 void incorrectInvocationTimeoutValue(String value, String fallbackDefaultValue)
           
 void incorrectMaxAllowedConnectedNodesValueForCluster(String value, String clusterName, String fallbackDefaultValue)
           
 void incorrectReconnectTasksTimeoutValue(String value, String fallbackDefaultValue)
           
 void initialModuleAvailabilityReportNotReceived(EJBReceiver ejbReceiver)
           
 IllegalStateException noAsyncInProgress()
           
 IllegalStateException noClusterContextAvailable(String clusterName)
           
 IllegalStateException nodeDoesNotAcceptLocator(String nodeName, EJBLocator locator)
           
 IllegalArgumentException nodeNameCannotBeNullOrEmptyStringForCluster(String clusterName)
           
 IllegalStateException noEJBClientContextAvailable()
           
 IllegalStateException noEJBReceiverAvailableForDeployment(String appName, String moduleName, String distinctName)
           
 IllegalStateException noEJBReceiverAvailableForDeploymentDuringInvocation(String appName, String moduleName, String distinctName, EJBClientInvocationContext invocationContext)
           
 IllegalStateException noEJBReceiverForNode(String nodeName)
           
 IllegalStateException noReceiverAssociatedWithInvocation()
           
 IllegalStateException noReceiverContextsInCluster(String clusterName)
           
 IllegalStateException noTxAssociatedWithThread()
           
 IllegalStateException noTxContextAvailable()
           
 IllegalArgumentException nullViewType()
           
 IllegalStateException oneWayInvocation()
           
 IllegalArgumentException paramCannotBeNull(String paramName)
           
 IllegalArgumentException paramCannotBeNullOrEmptyString(String paramName)
           
 RuntimeException primaryKeyNotRelevantForSessionBeans()
           
 IllegalArgumentException proxyNotOurs(Object proxy, String className)
           
 void receivedServerVersionAndMarshallingStrategies(String version, String marshallingStrategies)
           
 IllegalStateException receiverNotAssociatedWithClientContext(EJBReceiver receiver, EJBClientContext clientContext)
           
 ExecutionException remoteInvFailed(Throwable cause)
           
 CancellationException requestCancelled()
           
 IllegalStateException requiredNodeExcludedFromInvocation(EJBLocator locator, String nodeName, EJBClientInvocationContext invocationContext)
           
 IllegalStateException sendRequestCalledDuringWrongPhase()
           
 void skippingConnectionCreationDueToInvalidPortNumber(String port, String connectionName)
           
 void skippingConnectionCreationDueToMissingHostOrPort(String connectionName)
           
 void successfulVersionHandshake(EJBReceiverContext receiverContext, org.jboss.remoting3.Channel channel)
           
 TimeoutException timedOut()
           
 NotSupportedException txAlreadyAssociatedWithThread()
           
 IllegalStateException txEnlistmentDidNotYieldTxId()
           
 IllegalStateException txNodeIsExcludedForInvocation(String nodeName, EJBClientInvocationContext invocationContext)
           
 IllegalStateException txNotActiveForThread()
           
 RuntimeException unexpectedClusterNodeSelectorClassType(Class nodeSelectorClass, String clusterName)
           
 RuntimeException unexpectedDeploymentNodeSelectorClassType(Class deploymentNodeSelector)
           
 IllegalArgumentException unknownProxy(Object proxy)
           
 NamingException unsupportedNamingOperation()
           
 NamingException unsupportedNamingOperationForReadOnlyContext()
           
 IllegalStateException userTxNotSupportedByTxContext()
           
 void versionHandshakeNotCompleted(EJBReceiverContext receiverContext)
           
 
Methods inherited from interface org.jboss.logging.BasicLogger
debug, debug, debug, debug, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugv, debugv, debugv, debugv, debugv, debugv, debugv, debugv, error, error, error, error, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorv, errorv, errorv, errorv, errorv, errorv, errorv, errorv, fatal, fatal, fatal, fatal, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, info, info, info, info, infof, infof, infof, infof, infof, infof, infof, infof, infov, infov, infov, infov, infov, infov, infov, infov, isDebugEnabled, isEnabled, isInfoEnabled, isTraceEnabled, log, log, log, log, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, trace, trace, trace, trace, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracev, tracev, tracev, tracev, tracev, tracev, tracev, tracev, warn, warn, warn, warn, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnv, warnv, warnv, warnv, warnv, warnv, warnv, warnv
 

Field Detail

MAIN

static final Logs MAIN

REMOTING

static final Logs REMOTING

TXN

static final Logs TXN
Method Detail

greeting

@LogMessage(level=INFO)
@Message(value="JBoss EJB Client version %s")
void greeting(String version)

emptyModuleName

@Message(id=0,
         value="Module name cannot be null or empty")
IllegalArgumentException emptyModuleName()

emptyBeanName

@Message(id=1,
         value="Bean name cannot be null or empty")
IllegalArgumentException emptyBeanName()

nullViewType

@Message(id=2,
         value="Bean interface type cannot be null")
IllegalArgumentException nullViewType()

incorrectMaxAllowedConnectedNodesValueForCluster

@LogMessage(level=INFO)
@Message(id=3,
         value="Incorrect max-allowed-connected-nodes value %s specified for cluster named %s. Defaulting to %s")
void incorrectMaxAllowedConnectedNodesValueForCluster(String value,
                                                                         String clusterName,
                                                                         String fallbackDefaultValue)

incorrectConnectionTimeoutValueForCluster

@LogMessage(level=INFO)
@Message(id=4,
         value="Incorrect connection timeout value %s specified for cluster named %s. Defaulting to %s")
void incorrectConnectionTimeoutValueForCluster(String value,
                                                                  String clusterName,
                                                                  String fallbackDefaultValue)

incorrectConnectionTimeoutValueForNodeInCluster

@LogMessage(level=INFO)
@Message(id=5,
         value="Incorrect connection timeout value %s specified for node %s in cluster named %s. Defaulting to %s")
void incorrectConnectionTimeoutValueForNodeInCluster(String value,
                                                                        String nodeName,
                                                                        String clusterName,
                                                                        String fallbackDefaultValue)

skippingConnectionCreationDueToMissingHostOrPort

@LogMessage(level=INFO)
@Message(id=6,
         value="No host/port configured for connection named %s. Skipping connection creation")
void skippingConnectionCreationDueToMissingHostOrPort(String connectionName)

skippingConnectionCreationDueToInvalidPortNumber

@LogMessage(level=INFO)
@Message(id=7,
         value="Incorrect port value %s specified for connection named %s. Skipping connection creation")
void skippingConnectionCreationDueToInvalidPortNumber(String port,
                                                                         String connectionName)

incorrectConnectionTimeoutValueForConnection

@LogMessage(level=INFO)
@Message(id=8,
         value="Incorrect connection timeout value %s specified for connection named %s. Defaulting to %s")
void incorrectConnectionTimeoutValueForConnection(String value,
                                                                     String connectionName,
                                                                     String fallbackDefaultValue)

incorrectInvocationTimeoutValue

@LogMessage(level=INFO)
@Message(id=9,
         value="Incorrect invocation timeout value %s specified. Defaulting to %s")
void incorrectInvocationTimeoutValue(String value,
                                                        String fallbackDefaultValue)

incorrectReconnectTasksTimeoutValue

@LogMessage(level=INFO)
@Message(id=10,
         value="Incorrect reconnect tasks timeout value %s specified. Defaulting to %s")
void incorrectReconnectTasksTimeoutValue(String value,
                                                            String fallbackDefaultValue)

discardingInvocationResult

@LogMessage(level=INFO)
@Message(id=11,
         value="Discarding result for invocation id %s since no waiting context found")
void discardingInvocationResult(short invocationId)

cannotCreateEJBReceiverDueToUnknownTarget

@LogMessage(level=INFO)
@Message(id=12,
         value="Cannot create a EJB receiver for %s since there was no match for a target destination")
void cannotCreateEJBReceiverDueToUnknownTarget(String clusterNode)

successfulVersionHandshake

@LogMessage(level=INFO)
@Message(id=13,
         value="Successful version handshake completed for receiver context %s on channel %s")
void successfulVersionHandshake(EJBReceiverContext receiverContext,
                                                   org.jboss.remoting3.Channel channel)

versionHandshakeNotCompleted

@LogMessage(level=INFO)
@Message(id=14,
         value="Version handshake not completed for receiver context %s. Closing receiver context")
void versionHandshakeNotCompleted(EJBReceiverContext receiverContext)

initialModuleAvailabilityReportNotReceived

@LogMessage(level=INFO)
@Message(id=15,
         value="Initial module availability report for %s wasn\'t received during the receiver context association")
void initialModuleAvailabilityReportNotReceived(EJBReceiver ejbReceiver)

channelCanNoLongerProcessMessages

@LogMessage(level=INFO)
@Message(id=16,
         value="Channel %s can no longer process messages")
void channelCanNoLongerProcessMessages(org.jboss.remoting3.Channel channel)

receivedServerVersionAndMarshallingStrategies

@LogMessage(level=INFO)
@Message(id=17,
         value="Received server version %s and marshalling strategies %s")
void receivedServerVersionAndMarshallingStrategies(String version,
                                                                      String marshallingStrategies)

paramCannotBeNull

@Message(id=18,
         value="%s cannot be null")
IllegalArgumentException paramCannotBeNull(String paramName)

nodeNameCannotBeNullOrEmptyStringForCluster

@Message(id=19,
         value="Node name cannot be null or empty string, while adding a node to cluster named %s")
IllegalArgumentException nodeNameCannotBeNullOrEmptyStringForCluster(String clusterName)

paramCannotBeNullOrEmptyString

@Message(id=20,
         value="%s cannot be null or empty string")
IllegalArgumentException paramCannotBeNullOrEmptyString(String paramName)

ejbClientContextSelectorMayNotBeChanged

@Message(id=21,
         value="EJB client context selector may not be changed")
SecurityException ejbClientContextSelectorMayNotBeChanged()

noEJBClientContextAvailable

@Message(id=22,
         value="No EJB client context is available")
IllegalStateException noEJBClientContextAvailable()

ejbClientInterceptorAlreadyRegistered

@Message(id=23,
         value="EJB client interceptor %s is already registered")
IllegalArgumentException ejbClientInterceptorAlreadyRegistered(EJBClientInterceptor interceptor)

noEJBReceiverAvailableForDeployment

@Message(id=24,
         value="No EJB receiver available for handling [appName:%s, moduleName:%s, distinctName:%s] combination")
IllegalStateException noEJBReceiverAvailableForDeployment(String appName,
                                                                  String moduleName,
                                                                  String distinctName)

noEJBReceiverAvailableForDeploymentDuringInvocation

@Message(id=25,
         value="No EJB receiver available for handling [appName:%s, moduleName:%s, distinctName:%s] combination for invocation context %s")
IllegalStateException noEJBReceiverAvailableForDeploymentDuringInvocation(String appName,
                                                                                  String moduleName,
                                                                                  String distinctName,
                                                                                  EJBClientInvocationContext invocationContext)

receiverNotAssociatedWithClientContext

@Message(id=26,
         value="%s has not been associated with %s")
IllegalStateException receiverNotAssociatedWithClientContext(EJBReceiver receiver,
                                                                     EJBClientContext clientContext)

noEJBReceiverForNode

@Message(id=27,
         value="No EJBReceiver available for node name %s")
IllegalStateException noEJBReceiverForNode(String nodeName)

noReceiverContextsInCluster

@Message(id=28,
         value="No EJB receiver contexts available in cluster %s")
IllegalStateException noReceiverContextsInCluster(String clusterName)

noClusterContextAvailable

@Message(id=29,
         value="No cluster context available for cluster named %s")
IllegalStateException noClusterContextAvailable(String clusterName)

sendRequestCalledDuringWrongPhase

@Message(id=30,
         value="sendRequest() called during wrong phase")
IllegalStateException sendRequestCalledDuringWrongPhase()

noReceiverAssociatedWithInvocation

@Message(id=31,
         value="No receiver associated with invocation")
IllegalStateException noReceiverAssociatedWithInvocation()

cannotRetryRequest

@Message(id=32,
         value="Cannot retry a request which hasn\'t previously been completed")
IllegalStateException cannotRetryRequest()

getResultCalledDuringWrongPhase

@Message(id=33,
         value="getResult() called during wrong phase")
IllegalStateException getResultCalledDuringWrongPhase()

discardResultCalledDuringWrongPhase

@Message(id=34,
         value="discardResult() called during wrong phase")
IllegalStateException discardResultCalledDuringWrongPhase()

unsupportedNamingOperation

@Message(id=35,
         value="Not supported")
NamingException unsupportedNamingOperation()

unsupportedNamingOperationForReadOnlyContext

@Message(id=36,
         value="Read only naming context, operation not supported")
NamingException unsupportedNamingOperationForReadOnlyContext()

couldNotLoadProxyClass

@Message(id=37,
         value="Could not load ejb proxy class %s")
NamingException couldNotLoadProxyClass(String viewClassName)

txEnlistmentDidNotYieldTxId

@Message(id=38,
         value="Transaction enlistment did not yield a transaction ID")
IllegalStateException txEnlistmentDidNotYieldTxId()

cannotEnlistTx

@Message(id=39,
         value="Cannot enlist transaction")
IllegalStateException cannotEnlistTx()

channelNotReadyForCommunication

@Message(id=40,
         value="EJB communication channel %s is not yet ready to receive invocations (perhaps version handshake hasn\'t been completed), for receiver context %s")
IllegalStateException channelNotReadyForCommunication(String channelName,
                                                              EJBReceiverContext receiverContext)

primaryKeyNotRelevantForSessionBeans

@Message(id=41,
         value="A session bean does not have a primary key class")
RuntimeException primaryKeyNotRelevantForSessionBeans()

failedToFindEjbClientConfigFileSpecifiedBySysProp

@Message(id=42,
         value="Failed to find EJB client configuration file specified in %s system property")
RuntimeException failedToFindEjbClientConfigFileSpecifiedBySysProp(@Cause
                                                                           Exception e,
                                                                           String sysPropName)

failedToReadEjbClientConfigFile

@Message(id=43,
         value="Error reading EJB client properties file %s")
RuntimeException failedToReadEjbClientConfigFile(@Cause
                                                         Exception e,
                                                         String file)

noTxContextAvailable

@Message(id=44,
         value="No transaction context available")
IllegalStateException noTxContextAvailable()

userTxNotSupportedByTxContext

@Message(id=45,
         value="User transactions not supported by this context")
IllegalStateException userTxNotSupportedByTxContext()

txAlreadyAssociatedWithThread

@Message(id=46,
         value="A transaction is already associated with this thread")
NotSupportedException txAlreadyAssociatedWithThread()

noTxAssociatedWithThread

@Message(id=47,
         value="A transaction is not associated with this thread")
IllegalStateException noTxAssociatedWithThread()

txNotActiveForThread

@Message(id=48,
         value="Transaction for this thread is not active")
IllegalStateException txNotActiveForThread()

txNodeIsExcludedForInvocation

@Message(id=49,
         value="Cannot proceed with invocation since transaction is pinned to node %s which has been excluded from handling invocation for the current invocation context %s")
IllegalStateException txNodeIsExcludedForInvocation(String nodeName,
                                                            EJBClientInvocationContext invocationContext)

nodeDoesNotAcceptLocator

@Message(id=50,
         value="Node of the current transaction %s does not accept %s")
IllegalStateException nodeDoesNotAcceptLocator(String nodeName,
                                                       EJBLocator locator)

requiredNodeExcludedFromInvocation

@Message(id=51,
         value="Cannot proceed with invocation since the locator %s has an affinity on node %s which has been excluded from current invocation context %s")
IllegalStateException requiredNodeExcludedFromInvocation(EJBLocator locator,
                                                                 String nodeName,
                                                                 EJBClientInvocationContext invocationContext)

unexpectedClusterNodeSelectorClassType

@Message(id=52,
         value="%s for cluster %s is not of type org.jboss.ejb.client.ClusterNodeSelector")
RuntimeException unexpectedClusterNodeSelectorClassType(Class nodeSelectorClass,
                                                                String clusterName)

couldNotCreateClusterNodeSelector

@Message(id=53,
         value="Could not create the cluster node selector for cluster %s")
RuntimeException couldNotCreateClusterNodeSelector(@Cause
                                                           Exception e,
                                                           String clusterName)

cannotSpecifyBothCallbackHandlerAndUserPass

@Message(id=54,
         value="Cannot specify both a callback handler and a username/password")
IllegalStateException cannotSpecifyBothCallbackHandlerAndUserPass()

couldNotDecodeBase64Password

@Message(id=55,
         value="Could not decode base64 encoded password")
RuntimeException couldNotDecodeBase64Password(@Cause
                                                      Exception e)

cannotSpecifyBothPlainTextAndEncodedPassword

@Message(id=56,
         value="Cannot specify both a plain text and base64 encoded password")
IllegalStateException cannotSpecifyBothPlainTextAndEncodedPassword()

unexpectedDeploymentNodeSelectorClassType

@Message(id=57,
         value="%s not of type org.jboss.ejb.client.DeploymentNodeSelector")
RuntimeException unexpectedDeploymentNodeSelectorClassType(Class deploymentNodeSelector)

couldNotCreateDeploymentNodeSelector

@Message(id=58,
         value="Could not create the deployment node selector")
RuntimeException couldNotCreateDeploymentNodeSelector(@Cause
                                                              Exception e)

failedToSendInvocationCancellationMessage

@LogMessage(level=WARN)
@Message(id=59,
         value="Could not send a message over remoting channel, to cancel invocation for invocation id %s")
void failedToSendInvocationCancellationMessage(short invocationId,
                                                                  @Cause
                                                                  Exception e)

unknownProxy

@Message(id=100,
         value="Object \'%s\' is not a valid proxy object")
IllegalArgumentException unknownProxy(Object proxy)

proxyNotOurs

@Message(id=101,
         value="Proxy object \'%s\' was not generated by %s")
IllegalArgumentException proxyNotOurs(Object proxy,
                                              String className)

noAsyncInProgress

@Message(id=102,
         value="No asynchronous operation in progress")
IllegalStateException noAsyncInProgress()

remoteInvFailed

@Message(id=400,
         value="Remote invocation failed due to an exception")
ExecutionException remoteInvFailed(@Cause
                                           Throwable cause)

oneWayInvocation

@Message(id=401,
         value="Result was discarded (one-way invocation)")
IllegalStateException oneWayInvocation()

requestCancelled

@Message(id=402,
         value="Remote invocation request was cancelled")
CancellationException requestCancelled()

timedOut

@Message(id=403,
         value="Timed out")
TimeoutException timedOut()

JBoss EJB client 1.0.11.Final-redhat-1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.