idx int64 0 41.2k | question stringlengths 73 5.81k | target stringlengths 5 918 |
|---|---|---|
24,000 | public final ControlSilence createNewControlSilence ( ) throws MessageCreateFailedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createNewControlSilence" ) ; ControlSilence msg = null ; try { msg = new ControlSilenceImpl ( MfpConstants . CONSTRUCTOR_NO_OP ) ... | Create a new empty ControlSilence message |
24,001 | public final ControlAck createNewControlAck ( ) throws MessageCreateFailedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createNewControlAck" ) ; ControlAck msg = null ; try { msg = new ControlAckImpl ( MfpConstants . CONSTRUCTOR_NO_OP ) ; } catch ( MessageD... | Create a new empty ControlAck message |
24,002 | public final ControlNack createNewControlNack ( ) throws MessageCreateFailedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createNewControlNack" ) ; ControlNack msg = null ; try { msg = new ControlNackImpl ( MfpConstants . CONSTRUCTOR_NO_OP ) ; } catch ( Mes... | Create a new empty ControlNack message |
24,003 | public final ControlPrevalue createNewControlPrevalue ( ) throws MessageCreateFailedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createNewControlPrevalue" ) ; ControlPrevalue msg = null ; try { msg = new ControlPrevalueImpl ( MfpConstants . CONSTRUCTOR_NO_... | Create a new empty ControlPrevalue message |
24,004 | public final ControlAccept createNewControlAccept ( ) throws MessageCreateFailedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createNewControlAccept" ) ; ControlAccept msg = null ; try { msg = new ControlAcceptImpl ( MfpConstants . CONSTRUCTOR_NO_OP ) ; } c... | Create a new empty ControlAccept message |
24,005 | public final ControlReject createNewControlReject ( ) throws MessageCreateFailedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createNewControlReject" ) ; ControlReject msg = null ; try { msg = new ControlRejectImpl ( MfpConstants . CONSTRUCTOR_NO_OP ) ; } c... | Create a new empty ControlReject message |
24,006 | public final ControlDecision createNewControlDecision ( ) throws MessageCreateFailedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createNewControlDecision" ) ; ControlDecision msg = null ; try { msg = new ControlDecisionImpl ( MfpConstants . CONSTRUCTOR_NO_... | Create a new empty ControlDecision message |
24,007 | public final ControlRequest createNewControlRequest ( ) throws MessageCreateFailedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createNewControlRequest" ) ; ControlRequest msg = null ; try { msg = new ControlRequestImpl ( MfpConstants . CONSTRUCTOR_NO_OP ) ... | Create a new empty ControlRequest Message |
24,008 | public final ControlRequestAck createNewControlRequestAck ( ) throws MessageCreateFailedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createNewControlRequestAck" ) ; ControlRequestAck msg = null ; try { msg = new ControlRequestAckImpl ( MfpConstants . CONST... | Create a new empty ControlRequestAck Message |
24,009 | public final ControlRequestHighestGeneratedTick createNewControlRequestHighestGeneratedTick ( ) throws MessageCreateFailedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createNewControlRequestHighestGeneratedTick" ) ; ControlRequestHighestGeneratedTick msg =... | Create a new empty ControlRequestHighestGeneratedTick Message |
24,010 | public final ControlHighestGeneratedTick createNewControlHighestGeneratedTick ( ) throws MessageCreateFailedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createNewControlHighestGeneratedTick" ) ; ControlHighestGeneratedTick msg = null ; try { msg = new Cont... | Create a new empty ControlHighestGeneratedTick Message |
24,011 | public final ControlResetRequestAck createNewControlResetRequestAck ( ) throws MessageCreateFailedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createNewControlResetRequestAck" ) ; ControlResetRequestAck msg = null ; try { msg = new ControlResetRequestAckIm... | Create a new empty ControlResetRequestAck Message |
24,012 | public final ControlResetRequestAckAck createNewControlResetRequestAckAck ( ) throws MessageCreateFailedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createNewControlResetRequestAckAck" ) ; ControlResetRequestAckAck msg = null ; try { msg = new ControlReset... | Create a new empty ControlResetRequestAckAck Message |
24,013 | public final ControlBrowseGet createNewControlBrowseGet ( ) throws MessageCreateFailedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createNewControlBrowseGet" ) ; ControlBrowseGet msg = null ; try { msg = new ControlBrowseGetImpl ( MfpConstants . CONSTRUCTO... | Create a new empty ControlBrowseGet Message |
24,014 | public final ControlBrowseEnd createNewControlBrowseEnd ( ) throws MessageCreateFailedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createNewControlBrowseEnd" ) ; ControlBrowseEnd msg = null ; try { msg = new ControlBrowseEndImpl ( MfpConstants . CONSTRUCTO... | Create a new empty ControlBrowseEnd Message |
24,015 | public final ControlBrowseStatus createNewControlBrowseStatus ( ) throws MessageCreateFailedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createNewControlBrowseStatus" ) ; ControlBrowseStatus msg = null ; try { msg = new ControlBrowseStatusImpl ( MfpConstan... | Create a new empty ControlBrowseStatus Message |
24,016 | public final ControlCompleted createNewControlCompleted ( ) throws MessageCreateFailedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createNewControlCompleted" ) ; ControlCompleted msg = null ; try { msg = new ControlCompletedImpl ( MfpConstants . CONSTRUCTO... | Create a new empty ControlCompleted Message |
24,017 | public final ControlDecisionExpected createNewControlDecisionExpected ( ) throws MessageCreateFailedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createNewControlDecisionExpected" ) ; ControlDecisionExpected msg = null ; try { msg = new ControlDecisionExpec... | Create a new empty ControlDecisionExpected Message |
24,018 | public final ControlCreateStream createNewControlCreateStream ( ) throws MessageCreateFailedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createNewControlCreateStream" ) ; ControlCreateStream msg = null ; try { msg = new ControlCreateStreamImpl ( MfpConstan... | Create a new empty ControlCreateStream Message |
24,019 | public final ControlAreYouFlushed createNewControlAreYouFlushed ( ) throws MessageCreateFailedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createNewControlAreYouFlushed" ) ; ControlAreYouFlushed msg = null ; try { msg = new ControlAreYouFlushedImpl ( MfpCo... | Create a new empty ControlAreYouFlushed Message |
24,020 | public final ControlFlushed createNewControlFlushed ( ) throws MessageCreateFailedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createNewControlFlushed" ) ; ControlFlushed msg = null ; try { msg = new ControlFlushedImpl ( MfpConstants . CONSTRUCTOR_NO_OP ) ... | Create a new empty ControlFlushed Message |
24,021 | public final ControlNotFlushed createNewControlNotFlushed ( ) throws MessageCreateFailedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createNewControlNotFlushed" ) ; ControlNotFlushed msg = null ; try { msg = new ControlNotFlushedImpl ( MfpConstants . CONST... | Create a new empty ControlNotFlushed Message |
24,022 | public final ControlRequestFlush createNewControlRequestFlush ( ) throws MessageCreateFailedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createNewControlRequestFlush" ) ; ControlRequestFlush msg = null ; try { msg = new ControlRequestFlushImpl ( MfpConstan... | Create a new empty ControlRequestFlush Message |
24,023 | public final ControlRequestCardinalityInfo createNewControlRequestCardinalityInfo ( ) throws MessageCreateFailedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createNewControlRequestCardinalityInfo" ) ; ControlRequestCardinalityInfo msg = null ; try { msg = ... | Create a new empty ControlRequestCardinalityInfo Message |
24,024 | public final ControlCardinalityInfo createNewControlCardinalityInfo ( ) throws MessageCreateFailedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createNewControlCardinalityInfo" ) ; ControlCardinalityInfo msg = null ; try { msg = new ControlCardinalityInfoIm... | Create a new empty ControlCardinalityInfo Message |
24,025 | public final ControlCreateDurable createNewControlCreateDurable ( ) throws MessageCreateFailedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createNewControlCreateDurable" ) ; ControlCreateDurable msg = null ; try { msg = new ControlCreateDurableImpl ( MfpCo... | Create a new empty ControlCreateDurable Message |
24,026 | public final ControlDeleteDurable createNewControlDeleteDurable ( ) throws MessageCreateFailedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createNewControlDeleteDurable" ) ; ControlDeleteDurable msg = null ; try { msg = new ControlDeleteDurableImpl ( MfpCo... | Create a new empty ControlDeleteDurable Message |
24,027 | public final ControlDurableConfirm createNewControlDurableConfirm ( ) throws MessageCreateFailedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createNewControlDurableConfirm" ) ; ControlDurableConfirm msg = null ; try { msg = new ControlDurableConfirmImpl ( ... | Create a new empty ControlDurableConfirm Message |
24,028 | public void service ( ServletRequest req , ServletResponse res ) throws ServletException , IOException { HttpServletRequest request ; HttpServletResponse response ; try { request = ( HttpServletRequest ) req ; if ( collaborator != null ) { ComponentMetaData componentMetaData = ComponentMetaDataAccessorImpl . getCompone... | As AbstractHTTPServlet in CXF with this it will make sure that all the request methods will be routed to handleRequest method . |
24,029 | private void reportAvailableService ( HttpServletRequest request , HttpServletResponse response ) throws IOException { PrintWriter writer = response . getWriter ( ) ; response . setContentType ( HTML_CONTENT_TYPE ) ; writer . println ( "<h2>" + request . getServletPath ( ) + "</h2>" ) ; writer . println ( "<h3>Hello! T... | Prints a welcome message for the endpoint |
24,030 | public void registerForEvents ( SIMPMessage msg ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "registerForEvents" , msg ) ; msg . registerMessageEventListener ( MessageEvents . PRE_PREPARE_TRANSACTION , this ) ; if ( msg . getReportCOD ( ) != null && _destination in... | Register for the pre prepare callback . |
24,031 | protected void remoteToLocalPut ( MessageItem msgItem ) throws SIResourceException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "remoteToLocalPut" , new Object [ ] { msgItem } ) ; _targetStreamManager . handleMessage ( msgItem ) ; if ( TraceComponent . isAnyTracingEn... | This is a put message that has oringinated from another ME |
24,032 | public void reconstituteTargetStreams ( StreamSet streamSet ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "reconstituteTargetStreams" , streamSet ) ; _targetStreamManager . reconstituteStreamSet ( streamSet ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . i... | Used to restore the GD target stream |
24,033 | public OutputHandler handleMessage ( MessageItem msg ) throws SIMPNotPossibleInCurrentConfigurationException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "handleMessage" , msg ) ; msg . setCurrentMEArrivalTimestamp ( System . currentTimeMillis ( ) ) ; Reliability msg... | Puts a message to the InputHandlers destination |
24,034 | public void registerMessage ( MessageItem msg , TransactionCommon tran ) throws SIIncorrectCallException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "registerMessage" , new Object [ ] { msg , tran } ) ; if ( tran != null && ! tran . isAlive ( ) ) { SIMPIncorrectCall... | Method registerMessage . |
24,035 | public ReturnCode dump ( ) { System . out . println ( MessageFormat . format ( BootstrapConstants . messages . getString ( "info.serverDumping" ) , serverName ) ) ; Set < JavaDumpAction > javaDumpActions = new LinkedHashSet < JavaDumpAction > ( ) ; parseJavaDumpInclude ( javaDumpActions ) ; ServerDumpPackager sdp = new... | Dump the server |
24,036 | public static Map < JavaDumpAction , String > readJavaDumpLocations ( File javaDumpLocationFile ) { Map < JavaDumpAction , String > fileLocations = new EnumMap < JavaDumpAction , String > ( JavaDumpAction . class ) ; BufferedReader reader = null ; try { reader = new BufferedReader ( new InputStreamReader ( new FileInpu... | Read in the file containing the location of the java dumps and populate into a map of dump type to file location |
24,037 | private ReturnCode createDumps ( Set < JavaDumpAction > javaDumpActions , boolean introspect , String dumpTimestamp ) { ServerLock serverLock = ServerLock . createTestLock ( bootProps ) ; ReturnCode dumpRc = ReturnCode . OK ; boolean lockExists = serverLock . lockFileExists ( ) ; if ( lockExists ) { if ( serverLock . t... | Run the relevant command for dumping the system |
24,038 | public ReturnCode pause ( ) { ServerLock serverLock = ServerLock . createTestLock ( bootProps ) ; ReturnCode pauseRc = ReturnCode . PAUSE_ACTION ; boolean lockExists = serverLock . lockFileExists ( ) ; String targetParm = launchArgs . getOption ( "target" ) ; if ( lockExists ) { if ( serverLock . testServerRunning ( ) ... | Pause inbound work to the Server . |
24,039 | protected boolean shouldSkipChildren ( Element jspElement ) throws JspCoreException { if ( ! shouldSkipChildrenForThisVisitor ( ) ) { return false ; } String uri = jspElement . getNamespaceURI ( ) ; String name = jspElement . getLocalName ( ) ; NodeList children ; if ( uri . equalsIgnoreCase ( Constants . JSP_NAMESPACE... | validate the children ) . |
24,040 | public void put ( QueueData queueData , short msgBatch ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "put" , new Object [ ] { queueData , "" + msgBatch } ) ; synchronized ( this ) { if ( ! ordered && batchesReady == 1 ) { SIErrorException e = new SIErrorExcep... | Places a message onto the queue . |
24,041 | public void appendToLastMessage ( CommsByteBuffer msgBuffer , boolean lastChunk ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "appendToLastMessage" , new Object [ ] { msgBuffer , lastChunk } ) ; synchronized ( this ) { QueueData queueData = queue . getLast ( ... | This method is called when a middle or final chunk of a message has been received by the proxy queue . In this case we should append the chunk to those already collected and if this is the last chunk we perform the processing that would normally be done when a full message is received . |
24,042 | public synchronized void purge ( short sessionId ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "purge" , "" + sessionId ) ; int [ ] indexsToDelete = new int [ queue . size ( ) ] ; int indexCount = 0 ; boolean completeBatchRemoved = false ; for ( int x = 0 ; x... | This method will purge messages from the queue that belong to a particular session Id . |
24,043 | private synchronized JsMessage [ ] getBatch ( int batchSize , ConversationHelper convHelper ) throws SIResourceException , SIConnectionDroppedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "getBatch" , new Object [ ] { batchSize , convHelper } ) ; if (... | Gets a batch of messages from the queue . |
24,044 | protected void setAuthDataService ( ServiceReference < AuthDataService > ref ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) Tr . debug ( tc , "setAuthDataService" , ref ) ; authDataServiceRef . setReference ( ref ) ; } | Declarative Services method for setting the AuthDataService reference . |
24,045 | protected void setDeferrableScheduledExecutor ( ServiceReference < ScheduledExecutorService > ref ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) Tr . debug ( tc , "setDeferrableScheduledExecutor" , ref ) ; deferrableSchedXSvcRef . setReference ( ref ) ; } | Declarative Services method for setting the deferrable scheduled executor service reference . |
24,046 | protected void setExecutor ( ServiceReference < ExecutorService > ref ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) Tr . debug ( tc , "setExecutor" , ref ) ; execSvcRef . setReference ( ref ) ; } | Declarative Services method for setting the executor service reference . |
24,047 | protected void setNonDeferrableScheduledExecutor ( ServiceReference < ScheduledExecutorService > ref ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) Tr . debug ( tc , "setNonDeferrableScheduledExecutor" , ref ) ; nonDeferrableSchedXSvcRef . setReference ( ref ) ; } | Declarative Services method for setting the non - deferrable scheduled executor service reference . |
24,048 | protected void unsetAuthDataService ( ServiceReference < AuthDataService > ref ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) Tr . debug ( tc , "unsetAuthDataService" , ref ) ; authDataServiceRef . unsetReference ( ref ) ; } | Declarative Services method for unsetting the AuthDataService reference . |
24,049 | protected void unsetDeferrableScheduledExecutor ( ServiceReference < ScheduledExecutorService > ref ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) Tr . debug ( tc , "unsetDeferrableScheduledExecutor" , ref ) ; deferrableSchedXSvcRef . unsetReference ( ref ) ; } | Declarative Services method for unsetting the deferrable scheduled executor service reference . |
24,050 | protected void unsetExecutor ( ServiceReference < ExecutorService > ref ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) Tr . debug ( tc , "unsetExecutor" , ref ) ; execSvcRef . unsetReference ( ref ) ; } | Declarative Services method for unsetting the executor service reference . |
24,051 | protected void unsetNonDeferrableScheduledExecutor ( ServiceReference < ScheduledExecutorService > ref ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) Tr . debug ( tc , "unsetNonDeferrableScheduledExecutor" , ref ) ; nonDeferrableSchedXSvcRef . unsetReference ( ref ) ; } | Declarative Services method for unsetting the non - deferrable scheduled executor service reference . |
24,052 | protected void unsetRRSXAResourceFactory ( ServiceReference < Object > ref ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) Tr . debug ( tc , "unsetRRSXAResourceFactory" , ref ) ; rrsXAResFactorySvcRef . unsetReference ( ref ) ; } | Declarative Services method for unsetting the RRS XA resource factory service implementation reference . |
24,053 | public void saveRequestUrlAndParameters ( HttpServletRequest request , HttpServletResponse response ) { String cookieName = ReferrerURLCookieHandler . REFERRER_URL_COOKIENAME ; ReferrerURLCookieHandler referrerURLCookieHandler = getCookieHandler ( ) ; Cookie c = referrerURLCookieHandler . createCookie ( cookieName , ge... | Saves the original request URL and any POST parameters . |
24,054 | public void removeRequestUrlAndParameters ( HttpServletRequest request , HttpServletResponse response ) { ReferrerURLCookieHandler referrerURLCookieHandler = getCookieHandler ( ) ; referrerURLCookieHandler . invalidateReferrerURLCookie ( request , response , ReferrerURLCookieHandler . REFERRER_URL_COOKIENAME ) ; WebApp... | Invalidates the original request URL cookie or removes the same respective session attributes depending on how the data was saved . |
24,055 | public void deleteCookie ( HttpServletRequest request , HttpServletResponse response , String cookieName , WebAppSecurityConfig webAppSecConfig ) { ReferrerURLCookieHandler referrerURLCookieHandler = getCookieHandler ( ) ; referrerURLCookieHandler . clearReferrerURLCookie ( request , response , cookieName ) ; Cookie pa... | Clears the specified cookie and sets its path to the current request URI . |
24,056 | public Constructor < T > getConstructor ( ) { if ( this . constructor == null ) { try { this . constructor = this . managedClass . getConstructor ( ( Class < ? > [ ] ) null ) ; } catch ( NoSuchMethodException e ) { throw new IllegalStateException ( e ) ; } } return this . constructor ; } | Returns the constructor that will be used by this factory to create the managed object . |
24,057 | public void setConfiguration ( VirtualHost config ) { this . config = config ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) { Tr . debug ( tc , "setConfiguration" , "config set ->" + this . config ) ; } } | Set or replace the underlying VirtualHost that provides host aliases and default mime type configuration . |
24,058 | public static void rcvResetBrowse ( CommsByteBuffer request , Conversation conversation , int requestNumber , boolean allocatedFromBufferPool , boolean partOfExchange ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "rcvResetBrowse" , new Object [ ] { request , convers... | Processes a request to reset a browser session . This is achieved by decoding the request data and using it to locate the browser session to reset . |
24,059 | public static String getLongestUrlPattern ( String firstUrlPattern , String secondUrlPattern ) { if ( secondUrlPattern == null || ( firstUrlPattern != null && firstUrlPattern . length ( ) >= secondUrlPattern . length ( ) ) ) { return firstUrlPattern ; } else { return secondUrlPattern ; } } | Determine the longest URL pattern . |
24,060 | public static boolean isPathNameMatch ( String uri , String urlPattern ) { if ( urlPattern . startsWith ( "/" ) && urlPattern . endsWith ( "/*" ) ) { String s = urlPattern . substring ( 0 , urlPattern . length ( ) - 1 ) ; if ( s . equalsIgnoreCase ( uri ) ) { return true ; } if ( uri . equalsIgnoreCase ( s . substring ... | Determine if the urlPattern is a path name match for the uri . |
24,061 | public static boolean isExtensionMatch ( String uriName , String urlPattern ) { if ( urlPattern . startsWith ( "*." ) ) { String ext = urlPattern . substring ( 1 ) ; if ( uriName . endsWith ( ext ) ) { return true ; } } return false ; } | Determine if the urlPattern is an extension match for the uriName . |
24,062 | public static void validateEditions ( AppliesToFilterInfo info , String appliesToHeader ) throws RepositoryResourceCreationException { if ( info . getRawEditions ( ) != null ) { for ( String rawEdition : info . getRawEditions ( ) ) { List < String > mappedEditions = mapRawEditionToHumanReadable ( rawEdition ) ; if ( ma... | Validates the list of rawEditions and throws RepositoryResourceCreationException if any of them are unknown . |
24,063 | public static List < AppliesToEntry > parseAppliesToEntries ( String appliesTo ) { List < AppliesToEntry > result = new ArrayList < AppliesToEntry > ( ) ; List < List < String > > parsedProducts = doParse ( appliesTo ) ; for ( List < String > parsedProduct : parsedProducts ) { AppliesToEntry entry = new AppliesToEntry ... | Parse the given raw appliesTo header into a list of AppliesToEntry objects |
24,064 | public static Logger getLogger ( final String name , final String resourceBundleName ) { WebContainerLogger tempLogger = map . get ( name ) ; if ( tempLogger == null ) { tempLogger = ( WebContainerLogger ) AccessController . doPrivileged ( new PrivilegedAction < WebContainerLogger > ( ) { public WebContainerLogger run ... | getLogger method will create an instance of WebContainerLogger with the appropriate Logger object |
24,065 | public void logp ( Level level , String sourceClass , String sourceMethod , String msg ) { delegateLogger . logp ( level , sourceClass , sourceMethod , msg ) ; } | Override every method from Logger to be called on the delegateLogger . |
24,066 | public static String throwableToString ( Throwable t ) { StringWriter s = new StringWriter ( ) ; PrintWriter p = new PrintWriter ( s ) ; t . printStackTrace ( p ) ; return s . toString ( ) ; } | Accepts a throwable and returns a String representation . |
24,067 | public static JSPCache getJspCache ( String cacheName ) { final String methodName = "getJspCache()" ; JSPCache cacheOut = null ; if ( servletCacheEnabled == false ) { Tr . error ( tc , "DYNA1059W" , new Object [ ] { cacheName } ) ; } else { if ( cacheName != null ) { try { cacheOut = cacheUnit . getJSPCache ( cacheName... | Get a named Jsp cache . |
24,068 | public static CommandCache getCommandCache ( String cacheName ) { final String methodName = "getCommandCache()" ; CommandCache cacheOut = null ; if ( servletCacheEnabled == false ) { Tr . error ( tc , "DYNA1059W" , new Object [ ] { cacheName } ) ; } else { if ( cacheName != null ) { try { cacheOut = cacheUnit . getComm... | Get a named Command cache . |
24,069 | public static DCache getCache ( String cacheName ) { final String methodName = "getCache()" ; DCache cacheOut = ServerCache . cache ; if ( cacheName != null ) { cacheName = normalizeCacheName ( cacheName , null ) ; } if ( cacheName != null && ! cacheName . equalsIgnoreCase ( DCacheBase . DEFAULT_CACHE_NAME ) ) { cacheO... | Get a named cache . Caller must check for null return . |
24,070 | public static DCache getConfiguredCache ( String cacheName ) { final String methodName = "getConfiguredCache()" ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) { Tr . entry ( tc , methodName + " input cacheName=" + cacheName ) ; } DCache cacheOut = null ; if ( coreCacheEnabled == false ) { ... | Get a configured named cache . |
24,071 | public static String normalizeCacheName ( String cacheName , CacheConfig cacheConfig ) { String tempCacheName = cacheName ; if ( cacheName . equalsIgnoreCase ( DCacheBase . DEFAULT_BASE_JNDI_NAME ) ) { tempCacheName = DCacheBase . DEFAULT_CACHE_NAME ; } else if ( cacheName . equalsIgnoreCase ( DCacheBase . DEFAULT_DMAP... | Since the cache instances are stored with key as cacheName it has to change default cache JNDI name to internal cache name . |
24,072 | public static int getLocalTID ( TransactionImpl tran ) { if ( tc . isEntryEnabled ( ) ) Tr . entry ( tc , "getLocalTID" , tran ) ; int id ; while ( true ) { final int currSeed = _baseSeed ++ ; id = ( ++ _baseSeed << ( _baseSeed - currSeed ) ) & 0x7FFFFFFF ; if ( id > 0 && localTIDMap . putIfAbsent ( id , tran ) == null... | Return the next available local tid and associate it with the given transaction . This method should be used during the creation of a new transaction . |
24,073 | public static void removeLocalTID ( int localTID ) { if ( tc . isEntryEnabled ( ) ) Tr . entry ( tc , "removeLocalTID" , localTID ) ; localTIDMap . remove ( localTID ) ; if ( tc . isEntryEnabled ( ) ) Tr . exit ( tc , "removeLocalTID" ) ; } | Remove the given local tid from the map . This method should be called once a transaction has completed . |
24,074 | public static TransactionImpl [ ] getAllTransactions ( ) { if ( tc . isEntryEnabled ( ) ) Tr . entry ( tc , "getAllTransactions" ) ; final Collection < TransactionImpl > txns = localTIDMap . values ( ) ; if ( txns != null ) { if ( tc . isEntryEnabled ( ) ) Tr . exit ( tc , "getAllTransactions" , txns ) ; return txns . ... | Return an array of all the transactions currently running on the server . |
24,075 | protected WSJdbcResultSet createWrapper ( ResultSet rsetImpl ) { WSJdbcResultSet rsetWrapper ; if ( childWrapper == null && ( childWrappers == null || childWrappers . isEmpty ( ) ) ) { childWrapper = rsetWrapper = mcf . jdbcRuntime . newResultSet ( rsetImpl , this ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc... | Construct and track a new result set wrapper . |
24,076 | private Object getCursor ( Object implObject , Method method , Object [ ] args ) throws IllegalAccessException , IllegalArgumentException , InvocationTargetException , SQLException { final boolean trace = TraceComponent . isAnyTracingEnabled ( ) ; if ( trace && tc . isEntryEnabled ( ) ) Tr . entry ( tc , "getCursor" , ... | Invokes getCursor and wraps the result set . |
24,077 | public Object getObject ( String parameterName , java . util . Map < String , Class < ? > > map ) throws SQLException { try { return cstmtImpl . getObject ( parameterName , map ) ; } catch ( SQLException ex ) { FFDCFilter . processException ( ex , "com.ibm.ws.rsadapter.jdbc.WSJdbcCallableStatement.getObject(String, Map... | enhanced method signature . |
24,078 | public void processTAIUserFeatureProps ( ConcurrentServiceReferenceMap < String , TrustAssociationInterceptor > interceptorServiceRef , String interceptorId ) { invokeBeforeSSO = false ; invokeAfterSSO = false ; addLtpaCookieToResponse = true ; ServiceReference < TrustAssociationInterceptor > taiServiceRef = intercepto... | This method will process the TAI user feature properties and determine whether this TAI will be invoked before or after the SSO authentication . Because we do not have a direct access to the TAI user feature configuration if any . |
24,079 | public void consolidate ( List targets ) { if ( tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "consolidate" , targets ) ; Iterator itr = targets . iterator ( ) ; levelUsersAllowedToSubscribe . clear ( ) ; levelUsersAllowedToPublish . clear ( ) ; levelGroupAllowedToSubscribe . clear ( ) ; levelGroupAllowedToPublish . c... | Method consolidate Used to add a set of acls to the accumulated permission vectors |
24,080 | public boolean checkPermission ( Principal user , int operation ) { if ( tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "checkPermission" , new Object [ ] { user , new Integer ( operation ) } ) ; boolean allowed = false ; if ( operation == 1 ) { if ( accumGroupAllowedToPublish . size ( ) > 0 && accumGroupAllowedToPubli... | Method checkPermission Used to determine whether a user is allowed to perform a particular operation . |
24,081 | protected void captureSystemStreams ( ) { PrintStream sysOut = System . out ; PrintStream sysErr = System . err ; PrintStream trSysOut = systemOut . getOriginalStream ( ) ; PrintStream trSysErr = systemErr . getOriginalStream ( ) ; if ( sysOut != trSysOut ) { throw new ConcurrentModificationException ( "Someone else ha... | This is not to be used by the SharedOutputManager! This is an override of the BaseTraceService method that captures system streams . |
24,082 | public void echo ( SystemLogHolder holder , LogRecord logRecord ) { TraceWriter detailLog = traceLog ; String message = formatter . messageLogFormat ( logRecord , logRecord . getMessage ( ) ) ; messagesLog . writeRecord ( message ) ; invokeMessageRouters ( new RoutedMessageImpl ( logRecord . getMessage ( ) , logRecord ... | Overwritten for old BaseTraceService behaviour for echo |
24,083 | protected void publishTraceLogRecord ( TraceWriter detailLog , LogRecord logRecord , Object id , String formattedMsg , String formattedVerboseMsg ) { if ( formattedVerboseMsg == null ) { formattedVerboseMsg = formatter . formatVerboseMessage ( logRecord , formattedMsg , false ) ; } Level level = logRecord . getLevel ( ... | Overwritten for old BaseTraceService behaviour for publishTraceLogRecord |
24,084 | public void setXSDTypeName ( String name ) { this . xsdTypeName = name ; Integer code = ( Integer ) JSBaseTypes . xsdTypeNames . get ( name ) ; if ( code == null ) throw new IllegalArgumentException ( "XSDTypeName=" + name ) ; setTypeCode ( code . intValue ( ) ) ; } | Set the XSD type name and as a side - effect set the type code most appropriate for use with that type |
24,085 | public void setTypeCode ( int typeCode ) { if ( typeCode <= 0 || typeCode >= JSBaseTypes . baseTypes . length ) throw new IllegalArgumentException ( "TypeCode=" + typeCode ) ; this . typeCode = typeCode ; baseType = JSBaseTypes . baseTypes [ typeCode ] ; } | Set the typeCode for the type . Doing this automatically sets all the other type information implied by the type . |
24,086 | @ FFDCIgnore ( { IOException . class , InterruptedException . class } ) public static List < String > executeProgramWithInput ( String input , String ... commandLine ) throws OperatingSystemException { try { ProcessBuilder builder = new ProcessBuilder ( ) ; builder . command ( commandLine ) ; Process process = builder ... | On recent JDKs this should do a fork that doesn t duplicate the whole virtual address space . |
24,087 | protected Connection getConnection ( ConnectionRequestInfo connInfo ) throws SQLException { final boolean isTraceOn = TraceComponent . isAnyTracingEnabled ( ) ; if ( isTraceOn && tc . isEntryEnabled ( ) ) Tr . entry ( this , tc , "getConnection" , AdapterUtil . toString ( connInfo ) ) ; WSJdbcConnection connWrapper ; t... | This is the common getConnection implementation used by the other getConnection methods . This method handles the connection request to the CM and related exceptions including the ConnectionWaitTimeoutException . Exceptions thrown by the CM are converted to SQLExceptions . |
24,088 | private final int getDefaultIsolationLevel ( ) { int defaultIsolationLevel = resRefInfo == null ? Connection . TRANSACTION_NONE : resRefInfo . getIsolationLevel ( ) ; if ( defaultIsolationLevel == Connection . TRANSACTION_NONE ) defaultIsolationLevel = dsConfig . get ( ) . isolationLevel ; if ( defaultIsolationLevel ==... | Determine the default isolation level for this data source . |
24,089 | Object replaceObject ( ResourceRefConfigFactory resRefConfigFactory ) { DSConfig config = dsConfig . get ( ) ; String filter = config . jndiName == null || config . jndiName . startsWith ( "java:" ) ? FilterUtils . createPropertyFilter ( "config.displayId" , config . id ) : FilterUtils . createPropertyFilter ( Resource... | Returns a replacement object that can be serialized instead of WSJdbcDataSource . |
24,090 | private static PersistenceUnit newPersistenceUnit ( final String fJndiName , final String fUnitName ) { return new PersistenceUnit ( ) { public String name ( ) { return fJndiName ; } public Class < ? extends Annotation > annotationType ( ) { return javax . persistence . PersistenceUnit . class ; } public String unitNam... | This transient PersistencUnit annotation class has no default value . i . e . null is a valid value for some fields . |
24,091 | public void processConfig ( Dictionary < ? , ? > props ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEventEnabled ( ) ) { Tr . event ( tc , "Session manager configuration updated" ) ; } this . myConfig . updated ( props ) ; String value = ( String ) props . get ( "purge.interval" ) ; if ( null != value ) ... | Method called when the properties for the session manager have been found or udpated . |
24,092 | private void startPurgeTimer ( ) { if ( null != this . future || null == this . scheduler ) { return ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) { Tr . debug ( tc , "Creating repeating purge event" ) ; } this . future = this . scheduler . schedule ( SessionEventHandler . PURGE_EVENT ,... | Once sessions are actively being used this is used to start the background invalidation timer that periodically scans for expired sessions that should be purged from storage . |
24,093 | protected void startPurge ( ) { final boolean bTrace = TraceComponent . isAnyTracingEnabled ( ) ; if ( bTrace && tc . isEventEnabled ( ) ) { Tr . event ( tc , "Running purge of expired sessions" ) ; } try { List < SessionImpl > toPurge = new ArrayList < SessionImpl > ( ) ; for ( Map < String , SessionImpl > sessions : ... | Method used by the recurring session purge event to scan for and discard expired sessions . This prevents memory build up when sessions are no longer queried by clients . |
24,094 | public SessionImpl getSession ( SessionInfo info , boolean create ) { ServletContext key = info . getContext ( ) ; Map < String , SessionImpl > sessions = this . groupings . get ( key ) ; if ( null == sessions ) { synchronized ( this . groupings ) { sessions = this . groupings . get ( key ) ; if ( null == sessions ) { ... | Access and possibly create if not found a session for the given client information . |
24,095 | public List matchAll ( String uri ) { ClauseNode currentNode = root ; ArrayList < Object > returnList = new ArrayList < Object > ( ) ; int dot = uri . lastIndexOf ( "." ) ; if ( dot != - 1 ) { Object tar = extensions . get ( uri . substring ( dot + 1 ) ) ; if ( tar != null ) { returnList . add ( tar ) ; } } if ( defaul... | Returns a list of all targets that match the specified uri in the increasing order of specificity |
24,096 | public void close ( ) throws SIConnectionLostException , SIResourceException , SIErrorException , SIConnectionDroppedException { final String methodName = "close" ; if ( TRACE . isEntryEnabled ( ) ) { SibTr . entry ( this , TRACE , methodName ) ; } _delegateSession . close ( ) ; if ( TRACE . isEntryEnabled ( ) ) { SibT... | Closes this session . Delegates . |
24,097 | public SIDestinationAddress getDestinationAddress ( ) { final String methodName = "getDestinationAddress" ; if ( TRACE . isEntryEnabled ( ) ) { SibTr . entry ( this , TRACE , methodName ) ; } final SIDestinationAddress address = _delegateSession . getDestinationAddress ( ) ; if ( TRACE . isEntryEnabled ( ) ) { SibTr . ... | Returns the destination address associated with this session . Delegates . |
24,098 | protected void checkValid ( ) throws SISessionUnavailableException { if ( ! _parentConnection . isValid ( ) ) { final SISessionUnavailableException exception = new SISessionUnavailableException ( NLS . getString ( "INVALID_SESSION_CWSIV0200" ) ) ; if ( TRACE . isEventEnabled ( ) ) { SibTr . exception ( this , TRACE , e... | Checks that the parent connection has not been invalidated by the connection manager . |
24,099 | void close ( ) { final String methodName = "close" ; if ( TraceComponent . isAnyTracingEnabled ( ) && TRACE . isEntryEnabled ( ) ) { SibTr . entry ( this , TRACE , methodName ) ; } _cancelled = true ; if ( TraceComponent . isAnyTracingEnabled ( ) && TRACE . isEntryEnabled ( ) ) { SibTr . exit ( this , TRACE , methodNam... | Closes the session associated with this dispatcher and releases the message endpoint . |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.