_id stringlengths 2 7 | title stringlengths 3 140 | partition stringclasses 3
values | text stringlengths 73 34.1k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
q153900 | JDBCResourceMBeanImpl.setDataSourceChild | train | protected JDBCDataSourceMBeanImpl setDataSourceChild(String key, JDBCDataSourceMBeanImpl ds) {
return dataSourceMBeanChildrenList.put(key, ds);
} | java | {
"resource": ""
} |
q153901 | IBMViewHandlerProxy.getConversationContext | train | private ConversationContext getConversationContext(String id) {
if (conversationContext == null) {
synchronized (this) {
if (conversationContext == null) {
Container container = Container.instance(id);
conversationContext = container.deployment... | java | {
"resource": ""
} |
q153902 | EJSContainer.getStartedHome | train | public EJSHome getStartedHome(J2EEName beanName) {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isDebugEnabled())
Tr.debug(tc, "getStartedHome : " + beanName);
HomeRecord hr = homeOfHomes.getHomeRecord(beanName); //LIDB859-4
EJSHome hi ... | java | {
"resource": ""
} |
q153903 | EJSContainer.getHomeWrapperCommon | train | EJSWrapperCommon getHomeWrapperCommon(J2EEName beanName) throws CSIException {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); // d532639.2
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "getHomeWrapperCommon : " + beanName);
EJSHome hi = getStartedHome(beanName... | java | {
"resource": ""
} |
q153904 | EJSContainer.stopBean | train | public void stopBean(BeanMetaData bmd) throws CSIException {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); // d532639.2
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "stopBean : " + bmd.j2eeName);
try {
uninstallBean(bmd, false);
} catch (... | java | {
"resource": ""
} |
q153905 | EJSContainer.startBean | train | public EJSHome startBean(BeanMetaData bmd) throws ContainerException {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); // d532639.2
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "startBean: " + bmd.j2eeName);
J2EEName homeKey = bmd.j2eeName;
EJSHome ejs... | java | {
"resource": ""
} |
q153906 | EJSContainer.getCurrentTx | train | public ContainerTx getCurrentTx(SynchronizationRegistryUOWScope uowId, boolean isLocal) throws CSITransactionRolledbackException {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); // d532639.2
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "getCurrentTx (" + ContainerTx.u... | java | {
"resource": ""
} |
q153907 | EJSContainer.getCurrentSessionalUOW | train | public ContainerAS getCurrentSessionalUOW(boolean checkMarkedReset) throws CSIException, CSITransactionRolledbackException {
ContainerAS result = null;
Object currASKey = uowCtrl.getCurrentSessionalUOW(checkMarkedReset);
//---------------------------------------------------------
// No ... | java | {
"resource": ""
} |
q153908 | EJSContainer.getUserTransactionThreadData | train | public static EJBThreadData getUserTransactionThreadData() {
EJBThreadData threadData = getThreadData();
BeanO beanO = threadData.getCallbackBeanO();
if (beanO == null) {
EJBException ex = new EJBException("EJB UserTransaction can only be used from an EJB");
if (TraceCom... | java | {
"resource": ""
} |
q153909 | EJSContainer.processTxContextChange | train | public void processTxContextChange(EJBThreadData threadData, boolean isLocal) throws RemoteException {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); // d532639.2
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "processTxContextChange (" + isLocal + ")");
// Get... | java | {
"resource": ""
} |
q153910 | EJSContainer.transitionToStickyGlobalTran | train | boolean transitionToStickyGlobalTran(BeanId beanId,
ContainerTx currentTx,
ContainerTx expectedTx) {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entr... | java | {
"resource": ""
} |
q153911 | EJSContainer.getIsolationLevel | train | public int getIsolationLevel(int preferred) {
int isolationLevel;
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); // d532639.2
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "getIsolationLevel: " + preferred);
// First, go get the ContainerTx for the cur... | java | {
"resource": ""
} |
q153912 | EJSContainer.removeBean | train | public void removeBean(BeanO beanO) throws CSITransactionRolledbackException {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); // d532639.2
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "removeBean with BeanO");
//-----------------------------------------------... | java | {
"resource": ""
} |
q153913 | EJSContainer.removeStatefulBean | train | public boolean removeStatefulBean(Object bean) throws RemoteException, RemoveException {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "removeStatefulBean : " + Util.identity(bean));
// ----------------------------... | java | {
"resource": ""
} |
q153914 | EJSContainer.resolveWrapperProxy | train | public static Object resolveWrapperProxy(EJSLocalWrapperProxy proxy) {
WrapperProxyState state = proxy.ivState;
Object wrapper = state.ivWrapper;
if (wrapper == null) {
do {
state = state.reconnect();
wrapper = state.ivWrapper;
} while (wr... | java | {
"resource": ""
} |
q153915 | EJSContainer.mapMethodInfo | train | private EJBMethodInfoImpl mapMethodInfo(EJSDeployedSupport s,
EJSWrapperBase wrapper, int methodId,
String methodSignature) {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); // d532639.2
if (isTraceO... | java | {
"resource": ""
} |
q153916 | EJSContainer.doesJaccNeedsEJBArguments | train | final public boolean doesJaccNeedsEJBArguments(EJSWrapperBase wrapper) {
// Default to false in case Security Collaborator is not defined
EJBSecurityCollaborator<?> securityCollaborator = ivSecurityCollaborator;
boolean result = securityCollaborator != null && securityCollaborator.areRequestMeth... | java | {
"resource": ""
} |
q153917 | EJSContainer.preInvoke | train | public EnterpriseBean preInvoke(EJSWrapperBase wrapper,
int methodId,
EJSDeployedSupport s,
Object[] args) throws RemoteException {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); // d5326... | java | {
"resource": ""
} |
q153918 | EJSContainer.preInvoke | train | public EnterpriseBean preInvoke(EJSWrapperBase wrapper,
int methodId,
EJSDeployedSupport s,
EJBMethodInfoImpl methodInfo) throws RemoteException {
s.methodId = methodId; //130230 d140003.19
s.ivW... | java | {
"resource": ""
} |
q153919 | EJSContainer.preInvoke | train | public EnterpriseBean preInvoke(EJSWrapperBase wrapper,
int methodId,
EJSDeployedSupport s,
String methodSignature) throws RemoteException {
EJBMethodInfoImpl methodInfo = mapMethodInfo(s, wrapper, method... | java | {
"resource": ""
} |
q153920 | EJSContainer.preInvokeAfterActivate | train | private void preInvokeAfterActivate(EJSWrapperBase wrapper,
Object bean, // d366807.1
EJSDeployedSupport s,
Object[] args) throws RemoteException {
final boolean isTraceOn = TraceComponent.isA... | java | {
"resource": ""
} |
q153921 | EJSContainer.notifySecurityCollaboratorPreInvoke | train | private Object notifySecurityCollaboratorPreInvoke(EJBSecurityCollaborator<?> collaborator, EJBRequestData request) throws CSIException {
try {
return collaborator.preInvoke(request);
} catch (EJBAccessException ex) {
// The CSI exception created here will eventually be mapped ba... | java | {
"resource": ""
} |
q153922 | EJSContainer.preInvokeForLifecycleInterceptors | train | public void preInvokeForLifecycleInterceptors(LifecycleInterceptorWrapper wrapper,
int methodId,
EJSDeployedSupport s,
BeanO beanO) throws RemoteException {
// NO... | java | {
"resource": ""
} |
q153923 | EJSContainer.postInvokePopCallbackContexts | train | void postInvokePopCallbackContexts(EJSDeployedSupport s) {
// Pop the callback bean if Activator.preInvokeActivateBean was called
// successfully (excluding homes). d694142
if (s.ivPopCallbackBeanORequired) {
s.ivThreadData.popCallbackBeanO();
... | java | {
"resource": ""
} |
q153924 | EJSContainer.postInvokeRolledbackException | train | private void postInvokeRolledbackException(EJSDeployedSupport s, CSITransactionRolledbackException ex) throws RemoteException {
//---------------------------------------------------------------
// Check to see if the application requested that this transaction
// be rolled back. If so, we can re... | java | {
"resource": ""
} |
q153925 | EJSContainer.postInvokeForLifecycleInterceptors | train | public void postInvokeForLifecycleInterceptors(LifecycleInterceptorWrapper wrapper,
int methodId,
EJSDeployedSupport s) throws RemoteException {
// NOTE: The implementation of this method is structured after po... | java | {
"resource": ""
} |
q153926 | EJSContainer.getClassLoader | train | public static ClassLoader getClassLoader(J2EEName beanName) {
ClassLoader cl = null;
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); // d532639.2
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "getClassLoader(" + beanName + ")");
HomeInternal hi = homeOf... | java | {
"resource": ""
} |
q153927 | EJSContainer.preInvokeORBDispatch | train | @Override
public Object preInvokeORBDispatch(Object object, String operation) {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isDebugEnabled()) {
// toString of 'object' can be quite large and can really bloat the
// trace.... so just tra... | java | {
"resource": ""
} |
q153928 | EJSContainer.postInvokeORBDispatch | train | @Override
public void postInvokeORBDispatch(Object object) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "postInvokeORBDispatch: " + (object != null));
// d717291 - Null object indicates a non-EJB request.
if (object != null) {
((EJB... | java | {
"resource": ""
} |
q153929 | EJSContainer.getEJBHome | train | public EJBHome getEJBHome(J2EEName name) throws ContainerEJBException {
try {
EJSWrapperCommon wrapperCommon = getHomeWrapperCommon(name);
EJSWrapper wrapper = wrapperCommon.getRemoteWrapper();
return (EJBHome) PortableRemoteObject.toStub(wrapper); // PM35068
} catch ... | java | {
"resource": ""
} |
q153930 | EJSContainer.getEJBLocalHome | train | public EJBLocalHome getEJBLocalHome(J2EEName name) throws ContainerEJBException {
try {
EJSWrapperCommon wrapperCommon = getHomeWrapperCommon(name);
return (EJBLocalHome) wrapperCommon.getLocalObject(); // d188404
} catch (Throwable t) {
FFDCFilter.processException(t... | java | {
"resource": ""
} |
q153931 | EJSContainer.setPreferredCacheSize | train | public void setPreferredCacheSize(long size) {
int intSize = (int) size;
activator.setCachePreferredMaxSize(intSize);
wrapperManager.setWrapperCacheSize(2 * intSize);
} | java | {
"resource": ""
} |
q153932 | EJSContainer.getEJBPrimaryKeyClass | train | public Class<?> getEJBPrimaryKeyClass(J2EEName j2eeName) {
Class<?> rtnPKeyClass = null;
BeanMetaData bmd = internalBeanMetaDataStore.get(j2eeName);
if (bmd != null) {
rtnPKeyClass = bmd.pKeyClass;
}
return rtnPKeyClass;
} | java | {
"resource": ""
} |
q153933 | EJSContainer.invokeProceed | train | public Object invokeProceed(EJSDeployedSupport s, Method businessMethod, Object bean, Object[] methodParameters, boolean parametersModified) throws Exception {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); // d532639.2
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "EJ... | java | {
"resource": ""
} |
q153934 | FailureScopeController.serverName | train | public String serverName() {
if (tc.isDebugEnabled())
Tr.debug(tc, "serverName", new Object[] { this, _serverName });
return _serverName;
} | java | {
"resource": ""
} |
q153935 | FailureScopeController.registerTransaction | train | public void registerTransaction(TransactionImpl tran, boolean recovered) {
if (tc.isEntryEnabled())
Tr.entry(tc, "registerTransaction", new Object[] { this, tran, recovered });
//AJQ - use concurrent set on large SMP
if (isConcurrent)
_transactions.add(tran);
//... | java | {
"resource": ""
} |
q153936 | FailureScopeController.deregisterTransaction | train | public void deregisterTransaction(TransactionImpl tran, boolean recovered) {
if (tc.isEntryEnabled())
Tr.entry(tc, "deregisterTransaction", new Object[] { this, tran, recovered });
//AJQ - use concurrent set on large SMP
if (isConcurrent)
_transactions.remove(tran);
... | java | {
"resource": ""
} |
q153937 | AccessLogger.setFormatString | train | @Trivial
public void setFormatString(String format) {
this.stringFormat = format;
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Set access format to " + format);
}
parseFormat();
} | java | {
"resource": ""
} |
q153938 | AccessLogger.toAccessLogRecordData | train | private AccessLogRecordData toAccessLogRecordData(final HttpRequestMessage request, final HttpResponseMessage response, final String version, final String userId,
final String remoteAddr, final long numBytes) {
final HttpRequestMessage request2 = request; //... | java | {
"resource": ""
} |
q153939 | ResourceAdapterModuleMBeanImpl.setResourceAdapterChild | train | protected ResourceAdapterMBeanImpl setResourceAdapterChild(String key, ResourceAdapterMBeanImpl ra) {
return raMBeanChildrenList.put(key, ra);
} | java | {
"resource": ""
} |
q153940 | JAASClientService.addedLoginModule | train | private synchronized void addedLoginModule() {
boolean changedEntries = false;
synchronized (pendingContextEntryRefs) {
// Check for pending entries that are now satisfied.
Iterator<ServiceReference<JAASLoginContextEntry>> i = pendingContextEntryRefs.iterator();
whil... | java | {
"resource": ""
} |
q153941 | ConsumerSessionProxy._receiveNoWait | train | private SIBusMessage _receiveNoWait(SITransaction tran)
throws SISessionUnavailableException, SISessionDroppedException,
SIConnectionUnavailableException, SIConnectionDroppedException,
SIResourceException, SIConnectionLostException, SILimitExceededException,
SIErrorException... | java | {
"resource": ""
} |
q153942 | ConsumerSessionProxy._close | train | private void _close()
throws SIResourceException, SIConnectionLostException, SIErrorException,
SIConnectionDroppedException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "_close");
CommsByteBuffer request = getCommsByteBuffer();
// Bui... | java | {
"resource": ""
} |
q153943 | ConsumerSessionProxy.close | train | public void close(boolean closingConnection)
throws SIResourceException, SIConnectionLostException,
SIErrorException, SIConnectionDroppedException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "close", closingConnection);
if (executingOnCallb... | java | {
"resource": ""
} |
q153944 | ConsumerSessionProxy.close | train | public void close()
throws SIResourceException, SIConnectionLostException, SIErrorException,
SIConnectionDroppedException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "close");
close(false);
if (TraceComponent.isAnyTracingEnabled() && t... | java | {
"resource": ""
} |
q153945 | ConsumerSessionProxy._deleteSet | train | private void _deleteSet(SIMessageHandle[] msgHandles, SITransaction tran)
throws SISessionUnavailableException, SISessionDroppedException,
SIConnectionUnavailableException, SIConnectionDroppedException,
SIResourceException, SIConnectionLostException, SILimitExceededException,
... | java | {
"resource": ""
} |
q153946 | ConsumerSessionProxy.activateAsynchConsumer | train | public void activateAsynchConsumer(boolean deliveryImmediately)
throws SISessionUnavailableException, SISessionDroppedException,
SIConnectionUnavailableException, SIConnectionDroppedException,
SIResourceException, SIConnectionLostException,
SIErrorException
{
if (Tr... | java | {
"resource": ""
} |
q153947 | ConsumerSessionProxy.getId | train | public long getId()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getId");
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "getId", ""+messageProcessorId);
return messageProcessorId;
} | java | {
"resource": ""
} |
q153948 | ConsumerSessionProxy.deliverAsyncException | train | public void deliverAsyncException(Throwable e)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "deliverAsyncException", e);
if (proxyQueue != null)
{
proxyQueue.deliverException(e);
}
else
{
if (TraceComponent.isAnyTracin... | java | {
"resource": ""
} |
q153949 | AbstractTrace.setLevel | train | protected final void setLevel(int traceLevel) {
switch (traceLevel) {
case Trace.Level_All:
debugEnabled = true;
eventEnabled = true;
entryEnabled = true;
break;
case Trace.Level_Entry:
debugEnabled = false... | java | {
"resource": ""
} |
q153950 | ControllerAutoSchedule.afterCompletion | train | @Override
public void afterCompletion(int status) {
if (status == Status.STATUS_COMMITTED)
controller.notifyOfTaskAssignment(partitionId, taskId, expectedExecTime, binaryFlags, txTimeout);
} | java | {
"resource": ""
} |
q153951 | Utils.appendState | train | public static final void appendState(StringBuilder sb, short bits) {
// These 3 states are mutually exclusive.
if ((bits & TaskState.SCHEDULED.bit) != 0)
sb.append(TaskState.SCHEDULED.name()).append(',');
if ((bits & TaskState.ENDED.bit) != 0)
sb.append(TaskState.ENDED.na... | java | {
"resource": ""
} |
q153952 | Utils.normalizeString | train | @Trivial
public static final String normalizeString(String str) {
return (str == null || str.length() == 0) ? " " : str;
} | java | {
"resource": ""
} |
q153953 | RepositoryConnectionList.findMatchingEsas | train | @SuppressWarnings("unchecked")
public Collection<EsaResource> findMatchingEsas(String searchString,
ProductDefinition definition,
Visibility visible) throws RepositoryException {
Collection<? extends Repo... | java | {
"resource": ""
} |
q153954 | RepositoryConnectionList.getMatchingAddons | train | public Collection<ProductResource> getMatchingAddons(ProductDefinition definition) throws RepositoryBackendException {
@SuppressWarnings("unchecked")
Collection<ProductResourceImpl> addonList = (Collection<ProductResourceImpl>) getAllResources(ResourceType.ADDON);
Collection<ProductResource> mat... | java | {
"resource": ""
} |
q153955 | RepositoryConnectionList.getMatchingResources | train | public Collection<RepositoryResource> getMatchingResources(final FilterPredicate... predicates) throws RepositoryBackendException {
Collection<RepositoryResource> resources = cycleThroughRepositories(new RepositoryInvoker<RepositoryResource>() {
@Override
public Collection<RepositoryReso... | java | {
"resource": ""
} |
q153956 | RepositoryConnectionList.getAllResourcesWithDupes | train | public Collection<? extends RepositoryResource> getAllResourcesWithDupes() throws RepositoryBackendException {
Collection<RepositoryResource> resources = cycleThroughRepositoriesWithDupes(new RepositoryInvoker<RepositoryResource>() {
@SuppressWarnings("unchecked")
@Override
p... | java | {
"resource": ""
} |
q153957 | RepositoryConnectionList.getAllResources | train | public Collection<? extends RepositoryResource> getAllResources(LicenseType licenseType,
ResourceType type) throws RepositoryBackendException {
Collection<? extends RepositoryResource> allResources = getAllResources(type);
if (licenseT... | java | {
"resource": ""
} |
q153958 | RepositoryConnectionList.getAllFeatures | train | @SuppressWarnings("unchecked")
public Collection<EsaResource> getAllFeatures() throws RepositoryBackendException {
return (Collection<EsaResource>) getAllResources(ResourceType.FEATURE);
} | java | {
"resource": ""
} |
q153959 | RepositoryConnectionList.getAllProducts | train | @SuppressWarnings("unchecked")
public Collection<ProductResourceImpl> getAllProducts(LicenseType licenseType) throws RepositoryBackendException {
Collection<ProductResourceImpl> product = (Collection<ProductResourceImpl>) getAllResources(licenseType, ResourceType.INSTALL);
Collection<ProductResource... | java | {
"resource": ""
} |
q153960 | EmbeddedApacheDS.getOpenPort | train | private static int getOpenPort() throws IOException {
Log.info(c, "getOpenPort", "Entry.");
ServerSocket s = new ServerSocket(0);
Log.info(c, "getOpenPort", "Got socket.");
int port = s.getLocalPort();
Log.info(c, "getOpenPort", "Got port " + s);
s.close();
Log.in... | java | {
"resource": ""
} |
q153961 | EmbeddedApacheDS.add | train | public void add(Entry entry) throws LdapException {
CoreSession session = this.service.getAdminSession();
session.add(entry);
} | java | {
"resource": ""
} |
q153962 | EmbeddedApacheDS.addPartition | train | public Partition addPartition(String partitionId, String partitionDn) throws Exception {
Log.info(c, "addPartition", "entry " + partitionId + " " + partitionDn);
JdbmPartition partition = new JdbmPartition(this.service.getSchemaManager());
partition.setId(partitionId);
partition.setParti... | java | {
"resource": ""
} |
q153963 | EmbeddedApacheDS.initSchemaPartition | train | private void initSchemaPartition() throws Exception {
final InstanceLayout instanceLayout = this.service.getInstanceLayout();
final File schemaPartitionDirectory = new File(instanceLayout.getPartitionsDirectory(), "schema");
/*
* Extract the schema on disk (a brand new one) and load t... | java | {
"resource": ""
} |
q153964 | EmbeddedApacheDS.stopService | train | public void stopService() throws Exception {
Log.info(c, "stopService", "Stopping LdapServer");
this.server.stop();
Log.info(c, "stopService", "Stopping DirectoryService");
service.shutdown();
Log.info(c, "stopService", "Ldap stopped.");
} | java | {
"resource": ""
} |
q153965 | HttpOSCReadAhead.complete | train | public void complete(VirtualConnection vc, TCPReadRequestContext rsc) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "complete() called: vc=" + vc);
}
HttpOutboundServiceContextImpl osc = (HttpOutboundServiceContextImpl) vc.getStateMap().get(Callba... | java | {
"resource": ""
} |
q153966 | HttpOSCReadAhead.error | train | public void error(VirtualConnection vc, TCPReadRequestContext rsc, IOException ioe) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "error() called: vc=" + vc + " ioe=" + ioe);
}
HttpOutboundServiceContextImpl osc = (HttpOutboundServiceContextImpl) ... | java | {
"resource": ""
} |
q153967 | RequestContext.dumpTree | train | public static String dumpTree(Event event, boolean includeContextInfo) {
return new EventStackFormatter().getStackFormat(event, includeContextInfo).toString();
} | java | {
"resource": ""
} |
q153968 | StampedValue.getSourced | train | public SourcedValue getSourced() {
boolean fromCache = true;
int cacheVersion = stampedValue.getStamp();
int latestVersion = parentContainer.getMasterVersion();
String key = parentContainer.getKey();
SourcedValue sourcedValue = null;
if (cacheVersion != latestVersion) {
... | java | {
"resource": ""
} |
q153969 | WorkProxy.appendInflowContext | train | private ThreadContextDescriptor appendInflowContext() throws WorkCompletedException {
ThreadContextDescriptor merged = threadContextDescriptor.clone();
Set<String> inflowContext = new HashSet<String>();
// WorkContext
if (workContexts != null)
for (WorkContext workContext : ... | java | {
"resource": ""
} |
q153970 | WorkProxy.contextSetupFailure | train | private WorkCompletedException contextSetupFailure(Object context, String errorCode, Throwable cause) {
if (context instanceof WorkContextLifecycleListener)
((WorkContextLifecycleListener) context).contextSetupFailed(errorCode);
String message = null;
if (WorkContextErrorCodes.DUP... | java | {
"resource": ""
} |
q153971 | WorkProxy.run | train | @Override
public void run() {
JCASecurityContext ctx = bootstrapContext.getJCASecurityContext();
if (ctx != null)
ctx.runInInboundSecurityContext(work);
else
work.run();
} | java | {
"resource": ""
} |
q153972 | WorkProxy.waitForStart | train | Long waitForStart() throws InterruptedException, WorkRejectedException {
long timeout = startTimeout == WorkManager.UNKNOWN ? WorkManager.INDEFINITE : startTimeout < fudgeFactor ? fudgeFactor : startTimeout;
Object o = startupDurationQueue.poll(timeout, TimeUnit.MILLISECONDS);
if (o instanceof W... | java | {
"resource": ""
} |
q153973 | FacesInitializerFactory.getFacesInitializer | train | public static FacesInitializer getFacesInitializer(ServletContext context)
{
FacesInitializer initializer = _getFacesInitializerFromInitParam(context);
if (initializer == null)
{
initializer = _getDefaultFacesInitializer(context);
}
return initializer;
} | java | {
"resource": ""
} |
q153974 | FacesInitializerFactory._getFacesInitializerFromInitParam | train | private static FacesInitializer _getFacesInitializerFromInitParam(ServletContext context)
{
String initializerClassName = context.getInitParameter(FACES_INITIALIZER_PARAM);
if (initializerClassName != null)
{
try
{
// get Class object
C... | java | {
"resource": ""
} |
q153975 | AbstractConsumerManager.getDestination | train | public BaseDestinationHandler getDestination()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "getDestination");
SibTr.exit(tc, "getDestination", _baseDestHandler);
}
return _baseDestHandler;
} | java | {
"resource": ""
} |
q153976 | AbstractConsumerManager.getUuid | train | public SIBUuid8 getUuid()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "getUuid");
SibTr.exit(tc, "getUuid", _cmUuid);
}
return _cmUuid;
} | java | {
"resource": ""
} |
q153977 | AbstractConsumerManager.joinKeyGroup | train | public ConsumerKeyGroup joinKeyGroup(ConsumerKey consumerKey, OrderingContextImpl orderingGroup)
throws SIResourceException, SISessionDroppedException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "joinKeyGroup", new Object[] {consumerKey, orderingGroup});
JSKeyG... | java | {
"resource": ""
} |
q153978 | AbstractConsumerManager.removeKeyGroup | train | public void removeKeyGroup(LocalQPConsumerKeyGroup keyGroup)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "removeKeyGroup", keyGroup);
// Take the lock to prevent another thread from trying to add a member to
// the group while we're removing it
synchronize... | java | {
"resource": ""
} |
q153979 | BundleManifest.parseHeader | train | void parseHeader(String header, Set<String> packages) {
if (header != null && header.length() > 0) {
List<String> splitPackages = new ArrayList<String>();
// We can't just split() on commas, because there may be things in quotes, like uses clauses
int lastIndex = 0;
... | java | {
"resource": ""
} |
q153980 | SystemUtils.addShutdownHook | train | public static void addShutdownHook(final Thread shutdownHook) {
Object token = ThreadIdentityManager.runAsServer();
try {
AccessController.doPrivileged( new PrivilegedAction<Void>() {
@Override
public Void run() {
Runtime.getRuntime().addSh... | java | {
"resource": ""
} |
q153981 | AnnotationHelperManager.getAnnotationHelper | train | public synchronized AnnotationHelper getAnnotationHelper () {
if (aHelper == null) {
this.aHelper = new AnnotationHelper(wApp);
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) {
logger.logp (Level.FINE, CLASS_NAME, "get... | java | {
"resource": ""
} |
q153982 | MessageStoreImpl.unsetItemInterface | train | protected void unsetItemInterface(ServiceReference<ItemInterface> ref) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
SibTr.entry(tc, "unsetItemInterface", ref);
itemInterfaceRef.setReference(ref);
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
... | java | {
"resource": ""
} |
q153983 | MessageStoreImpl.getItemStreamInstance | train | public static AbstractItem getItemStreamInstance(String itemClassName) {
AbstractItem itemStream = itemInterfaceRef.getService().getItemStreamInstance(itemClassName);;
return itemStream;
} | java | {
"resource": ""
} |
q153984 | MessageStoreImpl.busReloaded | train | @Override
public void busReloaded(Object newBus, boolean busChanged,
boolean destChg, boolean medChg)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(this, tc, "busReloaded");
SibTr.exit(this, tc, "busReloaded")... | java | {
"resource": ""
} |
q153985 | MessageStoreImpl.commitPreparedTransaction | train | @Override
public void commitPreparedTransaction(String xid) throws TransactionException, PersistenceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "commitPreparedTransaction", xid);
if (_manager != null)
{
try
... | java | {
"resource": ""
} |
q153986 | MessageStoreImpl.dump | train | public void dump(FormattedWriter fw)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "dump");
try
{
xmlRequestWriteOnFile(fw);
} catch (IOException e)
{
// No FFDC Code Needed
if (TraceC... | java | {
"resource": ""
} |
q153987 | MessageStoreImpl.dump | train | @Override
public void dump(FormattedWriter fw, String arg)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "dump", arg);
if (arg != null)
{
if (arg.equalsIgnoreCase("raw"))
{
dumpRaw(fw);
... | java | {
"resource": ""
} |
q153988 | MessageStoreImpl.dumpRaw | train | public void dumpRaw(FormattedWriter fw)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "dumpRaw");
try
{
xmlRequestWriteRawDataOnFile(fw);
} catch (IOException e)
{
// No FFDC Code Needed
... | java | {
"resource": ""
} |
q153989 | MessageStoreImpl.dumpAll | train | public void dumpAll(FormattedWriter fw)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "dumpAll");
try
{
xmlRequestWriteOnFile(fw);
xmlWriteRawOn(fw, true);
fw.flush();
} catch (IOException e)
... | java | {
"resource": ""
} |
q153990 | MessageStoreImpl.engineReloaded | train | @Override
public void engineReloaded(Object messagingEngine)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "engineReloaded");
// Defect 337421.1
// Our config has been reloaded so we need to essentially
// re-initialize so t... | java | {
"resource": ""
} |
q153991 | MessageStoreImpl.listPreparedTransactions | train | @Override
public String[] listPreparedTransactions()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "getPreparedTransactions");
String[] col = null;
if (_manager != null)
{
// Obtain array of in-doubt xids from t... | java | {
"resource": ""
} |
q153992 | MessageStoreImpl.initialize | train | private void initialize(JsMessagingEngine engineConfiguration, boolean isReload)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "initialize", new Object[] { "isReload=" + isReload, "Config=" + engineConfiguration });
_messagingEngine = engineCon... | java | {
"resource": ""
} |
q153993 | MessageStoreImpl.registerLink | train | public final void registerLink(final AbstractItemLink newLink, final AbstractItem item)
{
register(newLink);
_setMembership(newLink, item);
} | java | {
"resource": ""
} |
q153994 | MessageStoreImpl.initialize | train | @Override
public final void initialize(JsRecoveryMessagingEngine recoveryME, String mode)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "initialize", new Object[] { recoveryME, mode });
this._messagingEngine = recoveryME;
if (TraceCo... | java | {
"resource": ""
} |
q153995 | InjectionProcessorManager.getProcessor | train | private <A extends Annotation, AS extends Annotation> InjectionProcessor<A, AS> getProcessor(int processorIndex,
InjectionProcessorProvider<A, AS> provider)
throws InjectionException
{
if (iv... | java | {
"resource": ""
} |
q153996 | InjectionProcessorManager.processXML | train | public void processXML()
throws InjectionException
{
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "processXML");
for (int processorIndex = 0; processorIndex < ivProviders.size(); processorI... | java | {
"resource": ""
} |
q153997 | InjectionProcessorManager.isProcessXMLNeeded | train | private boolean isProcessXMLNeeded(InjectionProcessorProvider<?, ?> provider)
{
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "isProcessXMLNeeded: " + provider);
List<Class<? extends JNDIEnvironmentRef>> refCla... | java | {
"resource": ""
} |
q153998 | InjectionProcessorManager.processAnnotations | train | public void processAnnotations(Class<?> classHierarchy)
throws InjectionException
{
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "processAnnotations: " + classHierarchy);
for (Class<?> klas... | java | {
"resource": ""
} |
q153999 | InjectionProcessorManager.processClassAnnotations | train | private <A extends Annotation, AS extends Annotation> void processClassAnnotations(int processorIndex,
InjectionProcessorProvider<A, AS> provider,
... | java | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.