code
stringlengths
73
34.1k
label
stringclasses
1 value
public static void initialiseAcceptListenerFactory(AcceptListenerFactory _acceptListenerFactory) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "initialiseAcceptListenerFactory", _acceptListenerFactory); Class clientImpl = instance.getClass(); ...
java
private void setCredential(Subject subject, WSPrincipal principal) throws CredentialException { String securityName = principal.getName(); Hashtable<String, ?> customProperties = getUniqueIdHashtableFromSubject(subject); if (customProperties == null || customProperties.isEmpty()) { U...
java
private List<String> getUniqueGroupAccessIds(UserRegistry userRegistry, String realm, String uniqueName) throws EntryNotFoundException, RegistryException { List<String> uniqueGroupAccessIds = new ArrayList<String>(); List<String> uniqueGroupIds = userRegi...
java
private String getPrimaryGroupId(List<String> uniqueGroupIds) { return uniqueGroupIds.isEmpty() ? null : uniqueGroupIds.get(0); }
java
@Override @FFDCIgnore({ CredentialDestroyedException.class, CredentialExpiredException.class }) public boolean isSubjectValid(Subject subject) { boolean valid = false; try { WSCredential wsCredential = getWSCredential(subject); if (wsCredential != null) { ...
java
private SibRaConnection createConnection( ConnectionRequestInfo requestInfo) throws SIResourceException, SINotPossibleInCurrentConfigurationException, SIIncorrectCallException, SIAuthenticationException { if (TRACE.isEntryEnabled()) { SibTr.entry(this...
java
public void storeRecord(RepositoryLogRecord record) { if (isClosed) { throw new IllegalStateException("This instance of the exporter is already closed"); } if (!isInitialized) { throw new IllegalStateException("This instance of the exporter does not have header information yet"); } String formatRecord =...
java
protected boolean acceptAnnotationsFrom(String className, boolean acceptPartial, boolean acceptExcluded) { String methodName = "acceptAnnotationsFrom"; // Don't unnecessarily obtain the annotation targets table: // No seed annotations will be obtained when the module is metadata-complete. ...
java
protected void createSessionContext(DeployedModule moduleConfig) throws Throwable { try { // added sessionIdListeners for Servlet 3.1 ArrayList sessionRelatedListeners[] = new ArrayList[] { sessionListeners, sessionAttrListeners, sessionIdListeners }; // cmd // PQ81253 ...
java
protected void initializeTargetMappings() throws Exception { // NOTE: namespace preinvoke/postinvoke not necessary as the only // external // code being run is the servlet's init() and that is handled in the // ServletWrapper // check if an extensionFactory is present for *.jsp:...
java
private void initializeNonDDRepresentableAnnotation(IServletConfig servletConfig) { if (com.ibm.ws.webcontainer.osgi.WebContainer.isServerStopping()) return; String methodName = "initializeNonDDRepresentableAnnotation"; String configClassName = servletConfig.getClas...
java
@FFDCIgnore(Exception.class) protected void addStaticFilePatternMappings(RequestProcessor proxyReqProcessor) { String nextPattern; ExtensionProcessor fileExtensionProcessor = getDefaultExtensionProcessor(this, getConfiguration().getFileServingAttributes()); List patternList = fileExtensionP...
java
public IServletWrapper getServletWrapper(String servletName, boolean addMapping) throws Exception // PK61140 { IServletWrapper targetWrapper = null; IServletConfig sconfig = config.getServletInfo(servletName); if (sconfig != null) { IServletWrapper existingServletWrapper = sconf...
java
private ServletConfig loadInternalConfig(String servletName, int internalIndex) throws ServletException { ServletConfig sconfig = createConfig("InternalServlet_" + servletName, internalIndex); sconfig.setServletName(servletName); sconfig.setDisplayName(servletName); sconfig.setServletCon...
java
protected Object loadListener(String lClassName) throws InjectionException, Throwable //596191 :: PK97815 { Object listener = null; try { if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && logger.isLoggable(Level.FINE)) logger.logp(Level.FINE, CLASS_NAME, "loadL...
java
public void addToStartWeightList(IServletConfig sc) { // we haven't started sorting the startup weights yet so just ignore. It // will be added later. if (this.sortedServletConfigs == null) return; int size = this.sortedServletConfigs.size(); int pos = 0; bool...
java
public void notifyStart() { try { eventSource.onApplicationAvailableForService(new ApplicationEvent(this, this, new com.ibm.ws.webcontainer.util.IteratorEnumerator(config.getServletNames()))); // LIBERTY: next line added by V8 sync //this.setInitialized(true); } catch...
java
public void addMappingFilter(IServletConfig sConfig, IFilterConfig config) { IFilterMapping fmapping = new FilterMapping(null, config, sConfig); _addMapingFilter(config, fmapping); }
java
public void initialize() throws ServletException, Throwable { if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && logger.isLoggable(Level.FINE)) logger.entering(CLASS_NAME, "Initialize : app = " + config.getApplicationName() + ", initialized = " + initialized + ", destroyed = " + destroyed);...
java
public void setModuleContainer(com.ibm.wsspi.adaptable.module.Container c){ container = c; metaInfResourceFinder = new MetaInfResourceFinder(container); }
java
private void addAllEntries(Set s, com.ibm.wsspi.adaptable.module.Container dir) throws UnableToAdaptException { for(Entry entry : dir){ String path = entry.getPath(); com.ibm.wsspi.adaptable.module.Container possibleContainer = entry.adapt(com.ibm.wsspi.adaptable.module.Container.class);...
java
private void populateCache() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "populateCache", this); } try { HashMap<String, BaseDestination> destList = _bus.getLWMMEConfig().getMessagingEngine().getDestinationList(); Itera...
java
@Activate protected void activate(BundleContext ctx, Map<String, Object> properties) { SibTr.entry(tc, CLASS_NAME + "activate", properties); this.properties = properties; this.bundleLocation = ctx.getBundle().getLocation(); populateDestinationPermissions(); runtimeSecurityS...
java
@Modified protected void modify(ComponentContext cc, Map<String, Object> properties) { SibTr.entry(tc, CLASS_NAME + "modify", properties); this.properties = properties; populateDestinationPermissions(); runtimeSecurityService.modifyMessagingServices(this); if (TraceComponent...
java
@Deactivate protected void deactivate(ComponentContext context) { SibTr.entry(tc, CLASS_NAME + "deactivate", context); runtimeSecurityService.modifyMessagingServices(null); queuePermissions = null; topicPermissions = null; temporaryDestinationPermissions = null; sibA...
java
@Reference protected void setSecurityService(SecurityService securityService) { SibTr.entry(tc, CLASS_NAME + "setSecurityService", securityService); this.securityService = securityService; SibTr.exit(tc, CLASS_NAME + "setSecurityService"); }
java
protected void unsetSecurityService(SecurityService securityService) { SibTr.entry(tc, CLASS_NAME + "unsetSecurityService", securityService); SibTr.exit(tc, CLASS_NAME + "unsetSecurityService"); }
java
@Reference protected void setConfigAdmin(ConfigurationAdmin configAdmin) { SibTr.entry(tc, CLASS_NAME + "setConfigAdmin", configAdmin); this.configAdmin = configAdmin; SibTr.exit(tc, CLASS_NAME + "setConfigAdmin"); }
java
protected void unsetConfigAdmin(ConfigurationAdmin configAdmin) { SibTr.entry(tc, CLASS_NAME + "unsetConfigAdmin", configAdmin); SibTr.exit(tc, CLASS_NAME + "unsetConfigAdmin"); }
java
@Override public MessagingAuthenticationService getMessagingAuthenticationService() { SibTr.entry(tc, CLASS_NAME + "getMessagingAuthenticationService"); if (sibAuthenticationService == null) { sibAuthenticationService = new MessagingAuthenticationServiceImpl(this); } Si...
java
@Override public MessagingAuthorizationService getMessagingAuthorizationService() { SibTr.entry(tc, CLASS_NAME + "getMessagingAuthorizationService"); if (sibAuthorizationService == null) { sibAuthorizationService = new MessagingAuthorizationServiceImpl(this); } SibTr.ex...
java
public UserRegistry getUserRegistry() { SibTr.entry(tc, CLASS_NAME + "getUserRegistry"); UserRegistry userRegistry = null; if (getSecurityService() != null) { UserRegistryService userRegistryService = securityService .getUserRegistryService(); ...
java
private void populateDestinationPermissions() { SibTr.entry(tc, CLASS_NAME + "populateDestinationPermissions", properties); pids.clear(); String[] roles = (String[]) properties .get(MessagingSecurityConstants.ROLE); initializeMaps(); if (roles != null) { ...
java
private Dictionary<String, Object> getDictionaryObject(String input) { SibTr.entry(tc, CLASS_NAME + "getDictionaryObject", input); Dictionary<String, Object> dictionary = null; Configuration config = null; try { pids.add(input); config = configAdmin.getConfigurat...
java
private void printDestinationPermissions(Map<String, ?> destinationPermissions) { Set<String> destinations = destinationPermissions.keySet(); for (String destination : destinations) { SibTr.debug(tc, CLASS_NAME + " Destination: " + destination); Permission permission = (Permissio...
java
public static final RecoveryProcessor getInstance() { if (tc.isEntryEnabled()) { SibTr.entry(tc, "getInstance"); } if (_processor == null) { try { Class c = Class.forName("com.ibm.ws.sib.processor.impl.RecoveryProcessorImpl"); _processor = (RecoveryProcessor) c.newInstance(); ...
java
protected void init(int code, String phrase, boolean isError) { this.myPhrase = phrase; this.myPhraseBytes = HttpChannelUtils.getEnglishBytes(phrase); this.myIntCode = code; if (isError) { this.myError = new HttpError(code, this.myPhrase); } initSpecialArrays(...
java
public static StatusCodes makeUndefinedValue(int value) { StatusCodes code = new StatusCodes(StatusCodes.UNDEF); code.name = Integer.toString(value); code.byteArray = HttpChannelUtils.getEnglishBytes(code.getName()); code.myIntCode = value; code.initSpecialArrays(); code....
java
protected void initSpecialArrays() { int len = getByteArray().length; // set up the "status code + SPACE + default reason phrase" this.bytesWithPhrase = new byte[len + 1 + this.myPhraseBytes.length]; System.arraycopy(getByteArray(), 0, this.bytesWithPhrase, 0, len); this.bytesWit...
java
public static StatusCodes getByOrdinal(int i) { if (0 > i || i >= MAX_CODE) { throw new IndexOutOfBoundsException("Index " + i + " is out of bounds"); } return statusCodes[i]; }
java
public synchronized static void addBundleRepository(String installDir, String featureType) { BundleRepositoryHolder bundleRepositoryHolder = new BundleRepositoryHolder(installDir, cacheServerName, featureType); if (!repositoryHolders.containsKey(featureType)) repositoryHolders.put(featureTy...
java
public Object put(Object key, Object value) { if (null == key) throw new IllegalArgumentException("key must not be null"); if (!(key instanceof String)) throw new IllegalArgumentException("key must be a String"); if (!isValidObject(value)) { if (value != null) ...
java
public Object remove(Object key) { Object retVal = null; if (null == key) throw new IllegalArgumentException("key must not be null"); if (this.containsKey(key)) { retVal = super.remove(key); for (int i = 0; i < this.order.size(); i++) { ...
java
private static int getAvailableProcessorsFromFilesystem() { boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); Double availableProcessorsDouble = null; int availableProcessorsInt = -1; //Check for docker files String periodFileLocation = File.separator + "sys" + File.sep...
java
public static void processAllEntryProbeExtensions(Event event, RequestContext requestContext) { if (event == requestContext.getRootEvent()) { // Add the request to Active Request list requestContext.setRequestContextIndex(activeRequests.add(requestContext)); } List<ProbeExtension> probeExtnList = RequestP...
java
public static void processAllExitProbeExtensions(Event event, RequestContext requestContext) { List<ProbeExtension> probeExtnList = RequestProbeService.getProbeExtensions(); for (int i = 0; i < probeExtnList.size(); i ++) { ProbeExtension probeExtension = probeExtnList.get(i); try{ // Exit enabled?? ...
java
public static void processAllCounterProbeExtensions(Event event){ List<ProbeExtension> probeExtnList = RequestProbeService.getProbeExtensions(); for (int i = 0; i < probeExtnList.size(); i ++) { ProbeExtension probeExtension = probeExtnList.get(i); try{ //Check if this probe extension is interested in ...
java
@Reference(name = KEY_SECURITY_SERVICE, policy = ReferencePolicy.DYNAMIC) protected void setSecurityService(SecurityService securitysvc) { securityService = securitysvc; }
java
public static String getUserName() throws Exception { Subject subject = getRunAsSubjectInternal(); if (subject == null) { return null; } Set<Principal> principals = subject.getPrincipals(); Iterator<Principal> principalsIterator = principals.iterator(); if (pr...
java
public static synchronized boolean pushSubject(String username) { if (securityService == null || username == null) { if (tc.isDebugEnabled()) { Tr.debug(tc, "returning false because user or securityService is null," + " user= " + username + " secsvc= " + secur...
java
public static synchronized boolean setRunAsSubject(Subject subj) { Subject before = null; try { before = getRunAsSubject(); final Subject fsubj = subj; AccessController.doPrivileged( new PrivilegedExceptionAction<Object>() { ...
java
public static TopicWildcardTranslation getInstance() throws Exception { if (tcInt.isEntryEnabled()) Tr.entry(tcInt, "getInstance"); if (twt == null) { try { Class cls = Class.forName(UtConstants.TWT_FACTORY_CLASS); twt = (TopicWildcardTranslation) cls.newInstance(); ...
java
public static VersionRange getFilterRange(FilterVersion minVersion, FilterVersion maxVersion) { VersionRange vr = null; Version vmin = minVersion == null ? Version.emptyVersion : new Version(minVersion.getValue()); Version vmax = maxVersion == null ? null : new Version(maxVersion.getValue()); ...
java
public boolean update(File directory, String fileName, String fileExtension, int maxFiles) { this.maxFiles = maxFiles; boolean updateLocation = !directory.equals(this.directory) || !fileName.equals(this.fileName) || !fileExtension.equals(this.fileExtension); if (updateLocation) { th...
java
private void addFile(int index, String file) { if (maxFiles > 0) { int numFiles = files.size(); int maxDateFiles = getMaxDateFiles(); // If there is no max or we have fewer than max, then we're done. if (maxDateFiles <= 0 || numFiles < maxDateFiles) { ...
java
protected JsJmsMessage instantiateMessage() throws Exception { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "instantiateMessage"); // Create a new message object. JsJmsMessage newMsg = jmfact.createJmsMessage(); messageClass = CLASS_...
java
protected JsJmsMessage getMsgReference() throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getMsgReference"); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "getMsgReference", msg);...
java
protected void setDestReference(Destination d) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setDestReference", d); dest = d; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "setDestReference"); ...
java
protected void checkBodyWriteable(String callingMethodName) throws JMSException { if (bodyReadOnly) { throw (javax.jms.MessageNotWriteableException) JmsErrorUtils.newThrowable(javax.jms.MessageNotWriteableException.class, ...
java
protected void checkBodyReadable(String callingMethodName) throws MessageNotReadableException { if (!bodyReadOnly) { throw (javax.jms.MessageNotReadableException) JmsErrorUtils.newThrowable(javax.jms.MessageNotReadableException.class, ...
java
protected void checkPropertiesWriteable(String callingMethodName) throws JMSException { if (propertiesReadOnly) { throw (javax.jms.MessageNotWriteableException) JmsErrorUtils.newThrowable(javax.jms.MessageNotWriteableException.class, ...
java
public Reliability getReliability() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getReliability"); Reliability r = msg.getReliability(); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "get...
java
protected void setBodyReadOnly() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setBodyReadOnly"); bodyReadOnly = true; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "setBodyReadOnly"); ...
java
void clearLocalProperties() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "clearLocalProperties"); if (locallyStoredPropertyValues != null) locallyStoredPropertyValues.clear(); // d255144 Also clear the local version of the mess...
java
void invalidateToStringCache() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "invalidateToStringCache"); // Invalidate the toString cache. cachedToString = null; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) ...
java
static void checkPropName(String name, String callingMethodName) throws IllegalArgumentException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "checkPropName", new Object[] { name, callingMethodName }); if ((name == null) || ("".equals(name))) { ...
java
public String getDatabasePlatformClassName(PUInfoImpl pui) { SessionLog traceLogger = new TraceLog(); Properties properties = pui.getProperties(); String productName = properties.getProperty(PersistenceUnitProperties.SCHEMA_DATABASE_PRODUCT_NAME); String vendorNameAndVersion = null; ...
java
@FFDCIgnore(SQLException.class) private Boolean supportsUnicodeStaticCheck(DataSource ds) { Boolean res = null; try { Connection conn = ds.getConnection(); String product = null; try { DatabaseMetaData dmd = conn.getMetaData(); prod...
java
public void setMessagingAuthorizationService( MessagingAuthorizationService messagingAuthorizationService) { SibTr.entry(tc, CLASS_NAME + "setMessagingAuthorizationService", messagingAuthorizationService); this.messagingAuthorizationService = messagingAu...
java
@Override public void destroy() throws Exception { final boolean trace = TraceComponent.isAnyTracingEnabled(); if (trace && tc.isEntryEnabled()) Tr.entry(this, tc, "destroy", id); tracker.close(); StringBuilder filter = new StringBuilder(FilterUtils.createPropertyFilter...
java
public void addMPDestinationChangeListener(MPDestinationChangeListener destinationChangeListener) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "addMPDestinationChangeListener", new Object[]{destinationChangeListener}); _destinationChangeListeners.add(destin...
java
public void removeMPDestinationChangeListener(MPDestinationChangeListener destinationChangeListener) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "removeMPDestinationChangeListener", new Object[]{destinationChangeListener}); _destinationChangeListeners.remo...
java
private Set getDestinationLocalitySet (BaseDestinationHandler destinationHandler, Capability capability) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getDestinationLocalitySet", new Object[]{destinationHandler, capability}); // Check if the localisat...
java
private void cleanupDestination(PtoPMessageItemStream ptoPMessageItemStream, BaseDestinationHandler destinationHandler, SIBUuid8 meUuid, Capability capability) { if (TraceComponent.isAnyTracingEnabled() && tc.is...
java
private void compareToAparList(ExecutionContext context, CommandConsole console, Map<String, Set<String>> installedIFixes, File wlpInstallationDirectory) { // console.printlnInfoMessage("WLP Directory [ " + wlpInstallationDirectory.getPath() + " ]"); // console.printlnInfoMessage("Installed IFixes [ " +...
java
private void compareToInstallLocation(ExecutionContext context, CommandConsole console, Map<String, Set<String>> aparToIFixMap, File wlpInstallationDirectory) { String installToCompareToLocation = context.getOptionValue(INSTALL_LOCATION_TO_COMPARE_TO_OPTION); File installToCompareToFile = new File(insta...
java
private void printAparIFixInfo(CommandConsole console, Map<String, Set<String>> aparToIFixMap) { for (Map.Entry<String, Set<String>> aparIFixInfo : aparToIFixMap.entrySet()) { console.printlnInfoMessage(getMessage("compare.ifix.apar.info", aparIFixInfo.getKey(), aparIFixInfo.getValue())); } ...
java
private Version getProductVersion(File wlpInstallationDirectory) throws VersionParsingException { // First get the properties Map<String, ProductInfo> productProperties = VersionUtils.getAllProductInfo(wlpInstallationDirectory); // Get the properties for WAS ProductInfo wasProperties = ...
java
private String readLine(InputStream stream) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(stream)); return reader.readLine(); }
java
public void service(ServletRequest req, ServletResponse resp) throws ServletException, IOException { try { TimedServletPoolElement e = _pool.getNextElement(); e.getServlet().service(req, resp); _pool.returnElement(e); _pool.removeExpiredElements();...
java
public ModuleItem find(String name) { if (children == null) return null; else return (ModuleItem) children.get(name); /* * for(int i=0; i<children.size(); i++) * { * ModuleItem item = (ModuleItem)children.get(i); * if(item.instance != ...
java
public ModuleItem find(String[] path, int index) { if (path == null) return null; if (path.length == 0) return this; ModuleItem item = find(path[index]); if (item == null) return null; if (index == path.length - 1) return item; ...
java
public synchronized ModuleItem add(String[] path, int index) { if (path == null) return null; if (path.length == 0) return this; ModuleItem item = find(path[index]); // custom module shouldn't go inside if{} if (item == null) { // Create Aggr...
java
public ModuleItem[] children() { if (children == null) return null; ModuleItem[] members = new ModuleItem[children.size()]; children.values().toArray(members); return members; }
java
public synchronized void remove(ModuleItem item) { if (item == null || children == null) return; // remove from all the parents which have links to it due to aggregate data PmiModule removeInstance = item.getInstance(); if (!(removeInstance instanceof PmiModuleAggregate)) { ...
java
public DataDescriptor[] listMembers(DataDescriptor dd, boolean jmxBased) { // take care of data members SpdData[] dataList = null; int dataLength = 0; if (!jmxBased) { dataList = instance.listData(); if (dataList != null) dataLength = dataList.len...
java
public StatsImpl getStats(boolean recursive) { // DO THIS METHOD NEED SYNCHRONIZED ACCESS? // When multiple threads get inside the method and stats tree is updated if (recursive) { /* * // if leaf then do not create myStatsWithChildren. Instead return myStats ...
java
private void setInstanceLevel_FG(int[] enabled, int[] enabledSync, boolean recursive) { if (instance != null) { // Fine grained instrumentation overrides the old level // First call setFineGrainedInstrumentation. // If fine grained level is undefined called old setInstrumenta...
java
private void _cleanChildren() { //bStatsTreeNeedsUpdate = true; if (children != null) { Iterator values = children.values().iterator(); while (values.hasNext()) { ModuleItem remMI = (ModuleItem) values.next(); remMI.getInstance().cleanup(); ...
java
protected void configureCustomizeBinding(Client client, QName portName) { //put all properties defined in ibm-ws-bnd.xml into the client request context Map<String, Object> requestContext = client.getRequestContext(); if (null != requestContext && null != wsrInfo) { PortComponentRefI...
java
private WebServiceFeature[] getWebServiceFeaturesOnPortComponentRef(Class serviceEndpointInterface) { WebServiceFeature[] returnArray = {}; if (serviceEndpointInterface != null && wsrInfo != null) { String seiName = serviceEndpointInterface.getName(); PortComponentRefInfo pcr =...
java
private void configureClientProperties() throws IOException { Map<String, String> serviceRefProps = wsrInfo.getProperties(); Iterator<QName> iterator = this.getPorts();//wsrInfo.getBindingPortComponentRefInfoList(); while (null != iterator && iterator.hasNext()) { QName portQName = ...
java
private void prepareProperties(QName portQName, Map<String, String> serviceRefProps, Map<String, String> portProps) throws IOException { // Merge the properties form port and service. Map<String, String> allProperties = new HashMap<String, String>(); if (null != serviceRefProps) { a...
java
protected Map<String, String> extract(String propertyPrefix, Map<String, String> properties, boolean removeProps) { if (null == properties || properties.isEmpty()) { return Collections.<String, String> emptyMap(); } Map<String, String> extractProps = new HashMap<String, String>(); ...
java
protected Map<String, String> extract(String propertyPrefix, Map<String, String> properties) { return extract(propertyPrefix, properties, true); }
java
private boolean isKnownArgument(String arg) { final String argName = getArgName(arg); for (String key : knownArgs) { if (key.equalsIgnoreCase(argName)) { return true; } } return false; }
java
protected String getTaskHelp(String desc, String usage, String optionKeyPrefix, String optionDescPrefix, String addonKey, String footer, Object... args) { StringBuilder scriptHelp = new StringBuilder(); s...
java
public String getDestination() { if (tc.isEntryEnabled()) { SibTr.entry(tc, "getDestination"); SibTr.exit(tc, "getDestination", destination); } return destination; }
java
public String getSelector() { if (tc.isEntryEnabled()) { SibTr.entry(tc, "getSelector"); SibTr.exit(tc, "getSelector", selector); } return selector; }
java
public int getSelectorDomain() { if (tc.isEntryEnabled()) { SibTr.entry(tc, "getSelectorDomain"); SibTr.exit(tc, "getSelectorDomain", new Integer(selectorDomain)); } return selectorDomain; }
java