buggy_function
stringlengths
1
391k
fixed_function
stringlengths
0
392k
public void doSetup(final ManagementClient managementClient) throws Exception { String xml = FileUtils.readFile(MultipleObjectActivationTestCase.class, "multiple.xml"); List<ModelNode> operations = xmlToModelOperations(xml, Namespace.CURRENT.getUriString(), new ResourceAdapterSubsystemPa...
public void doSetup(final ManagementClient managementClient) throws Exception { String xml = FileUtils.readFile(MultipleObjectActivationTestCase.class, "multiple.xml"); List<ModelNode> operations = xmlToModelOperations(xml, Namespace.RESOURCEADAPTERS_1_0.getUriString(), new ResourceAdapt...
public void doSetup(final ManagementClient managementClient) throws Exception{ String xml = FileUtils.readFile(MultipleObjectPartialActivationTestCase.class, "multiple_part.xml"); List<ModelNode> operations = xmlToModelOperations(xml, Namespace.CURRENT.getUriString(), new Resourc...
public void doSetup(final ManagementClient managementClient) throws Exception{ String xml = FileUtils.readFile(MultipleObjectPartialActivationTestCase.class, "multiple_part.xml"); List<ModelNode> operations = xmlToModelOperations(xml, Namespace.RESOURCEADAPTERS_1_0.getUriString()...
public void doSetup(final ManagementClient managementClient) throws Exception { String xml = FileUtils.readFile(PureTestCase.class, "pure.xml"); List<ModelNode> operations = xmlToModelOperations(xml, Namespace.CURRENT.getUriString(), new ResourceAdapterSubsystemParser()); exe...
public void doSetup(final ManagementClient managementClient) throws Exception { String xml = FileUtils.readFile(PureTestCase.class, "pure.xml"); List<ModelNode> operations = xmlToModelOperations(xml, Namespace.RESOURCEADAPTERS_1_0.getUriString(), new ResourceAdapterSubsystemParser()); ...
private void setup() throws Exception { String xml = FileUtils.readFile(ReDeploymentTestCase.class, "re-deployment.xml"); List<ModelNode> operations = xmlToModelOperations(xml, Namespace.CURRENT.getUriString(), new ResourceAdapterSubsystemParser()); executeOperation(operationListToCompositeO...
private void setup() throws Exception { String xml = FileUtils.readFile(ReDeploymentTestCase.class, "re-deployment.xml"); List<ModelNode> operations = xmlToModelOperations(xml, Namespace.RESOURCEADAPTERS_1_0.getUriString(), new ResourceAdapterSubsystemParser()); executeOperation(operationLis...
public TypedValue getValueInternal(ExpressionState state) throws EvaluationException { TypedValue op = state.getActiveContextObject(); Object operand = op.getValue(); // TypeDescriptor operandTypeDescriptor = op.getTypeDescriptor(); // When the input is a map, we push a special context object on the stack ...
public TypedValue getValueInternal(ExpressionState state) throws EvaluationException { TypedValue op = state.getActiveContextObject(); Object operand = op.getValue(); // TypeDescriptor operandTypeDescriptor = op.getTypeDescriptor(); // When the input is a map, we push a special context object on the stack ...
public DistributableSessionManager(DistributedCacheManagerFactory factory, Context context, JBossWebMetaData metaData, ClassResolver resolver) throws ClusteringNotSupportedException { super(metaData); PassivationConfig passivationConfig = metaData.getPassivationConfig(); Boolean useSessionP...
public DistributableSessionManager(DistributedCacheManagerFactory factory, Context context, JBossWebMetaData metaData, ClassResolver resolver) throws ClusteringNotSupportedException { super(metaData); PassivationConfig passivationConfig = metaData.getPassivationConfig(); Boolean useSessionP...
public void readElement(final XMLExtendedStreamReader reader, final List<ModelNode> list) throws XMLStreamException { final ModelNode operation = new ModelNode(); operation.get(OP).set(ADD); operation.get(OP_ADDR).add(SUBSYSTEM, NewMessagingExtension.SUBSYSTEM_NAME); list.add(operat...
public void readElement(final XMLExtendedStreamReader reader, final List<ModelNode> list) throws XMLStreamException { final ModelNode operation = new ModelNode(); operation.get(OP).set(ADD); operation.get(OP_ADDR).add(SUBSYSTEM, NewMessagingExtension.SUBSYSTEM_NAME); list.add(operat...
public void expectBrokerAvailabilityEvent(boolean isBrokerAvailable) throws InterruptedException { BrokerAvailabilityEvent event = this.eventQueue.poll(10000, TimeUnit.MILLISECONDS); assertNotNull("Times out waiting for BrokerAvailabilityEvent[" + isBrokerAvailable + "]", event); assertEquals(isBrokerAvailab...
public void expectBrokerAvailabilityEvent(boolean isBrokerAvailable) throws InterruptedException { BrokerAvailabilityEvent event = this.eventQueue.poll(20000, TimeUnit.MILLISECONDS); assertNotNull("Times out waiting for BrokerAvailabilityEvent[" + isBrokerAvailable + "]", event); assertEquals(isBrokerAvailab...
public static <T extends Serializable> T roundtrip(final T msg) { return SerializationUtils.deserialize(SerializationUtils.serialize(msg)); }
public static <T extends Serializable> T roundtrip(final T msg) { return (T) SerializationUtils.deserialize(SerializationUtils.serialize(msg)); }
public void testJavaSerialization() { exceptionContext.setContextValue("test Poorly written obj", "serializable replacement"); final T clone = SerializationUtils.deserialize(SerializationUtils.serialize(exceptionContext)); assertEquals(exceptionContext.getFormattedExceptionMessage(n...
public void testJavaSerialization() { exceptionContext.setContextValue("test Poorly written obj", "serializable replacement"); final T clone = (T) SerializationUtils.deserialize(SerializationUtils.serialize(exceptionContext)); assertEquals(exceptionContext.getFormattedExceptionMessa...
public void removeSecurityDomain(String name) throws Exception { final ModelControllerClient client = ModelControllerClient.Factory.create(address, PORT); final ModelNode op = new ModelNode(); op.get(OP).set(REMOVE); op.get(OP_ADDR).add(SUBSYSTEM, "security"); op.get(OP_ADDR)...
public void removeSecurityDomain(String name) throws Exception { final ModelControllerClient client = ModelControllerClient.Factory.create(address, PORT, callbackHandler); final ModelNode op = new ModelNode(); op.get(OP).set(REMOVE); op.get(OP_ADDR).add(SUBSYSTEM, "security"); ...
private static final String NO_RECOVERY_NAME = "no-recovery"; static final SimpleAttributeDefinition CLASS_NAME = new SimpleAttributeDefinition(CLASS_NAME_NAME, CommonConnDef.Attribute.CLASS_NAME.getLocalName(), new ModelNode(), ModelType.STRING, false, true, MeasurementUnit.NONE); static SimpleAttribut...
private static final String NO_RECOVERY_NAME = "no-recovery"; static final SimpleAttributeDefinition CLASS_NAME = new SimpleAttributeDefinition(CLASS_NAME_NAME, CommonConnDef.Attribute.CLASS_NAME.getLocalName(), new ModelNode(), ModelType.STRING, false, true, MeasurementUnit.NONE); static SimpleAttribut...
public static Properties raCommonProperties(){ Properties params=new Properties(); params.put("archive","some.rar"); params.put("transaction-support","XATransaction"); params.put("bootstrapcontext","someContext"); return params; }
public static Properties raCommonProperties(){ Properties params=new Properties(); params.put("archive","some.rar"); params.put("transaction-support","XATransaction"); params.put("bootstrap-context","someContext"); return params; }
public enum DeploymentType { EAR, WAR, EJB_JAR; }
public enum DeploymentType { EAR, WAR, EJB_JAR, APPLICATION_CLIENT; }
public ClientHttpResponse executeInternal() throws IOException { if (this.requestMatchers.isEmpty()) { throw new AssertionError("No request expectations to execute"); } if (this.responseCreator == null) { throw new AssertionError("No ResponseCreator was set up. Add it after request expectations, " +...
public ClientHttpResponse executeInternal() throws IOException { if (this.requestMatchers.isEmpty()) { throw new AssertionError("No request expectations to execute"); } if (this.responseCreator == null) { throw new AssertionError("No ResponseCreator was set up. Add it after request expectations, " +...
public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException { final DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit(); if (!DeploymentTypeMarker.isType(DeploymentType.WAR, deploymentUnit)) { return; // Skip non web deployments }...
public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException { final DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit(); if (!DeploymentTypeMarker.isType(DeploymentType.WAR, deploymentUnit)) { return; // Skip non web deployments }...
public void start(StartContext context) throws StartException { rootResourceDefinition.setDelegate(new ServerRootResourceDefinition(MockRepository.INSTANCE, persister, environment, processState, null, null, extensionRegistry, false, MOCK_PATH_MANAGER)); super.start(co...
public void start(StartContext context) throws StartException { rootResourceDefinition.setDelegate(new ServerRootResourceDefinition(MockRepository.INSTANCE, persister, environment, processState, null, null, extensionRegistry, false, MOCK_PATH_MANAGER, null)); super.st...
public void setup(Resource resource, ManagementResourceRegistration rootRegistration) { ServerRootResourceDefinition def = new ServerRootResourceDefinition(new MockContentRepository(), persister, null, null, null, null, extensionRegistry, false, MOCK_PATH_MANAGER); def.regist...
public void setup(Resource resource, ManagementResourceRegistration rootRegistration) { ServerRootResourceDefinition def = new ServerRootResourceDefinition(new MockContentRepository(), persister, null, null, null, null, extensionRegistry, false, MOCK_PATH_MANAGER, null); def....
public void execute(OperationContext context, ModelNode operation) throws OperationFailedException { final ModelNode mimetypes = context.readResourceForUpdate(PathAddress.EMPTY_ADDRESS).getModel().get(MIME_MAPPING); if (operation.hasDefined("name") && operation.hasDefined("value")) { ...
public void execute(OperationContext context, ModelNode operation) throws OperationFailedException { final ModelNode mimetypes = context.readResourceForUpdate(PathAddress.EMPTY_ADDRESS).getModel().get(MIME_MAPPING); if (operation.hasDefined("name") && operation.hasDefined("value")) { ...
protected void recoverServices(OperationContext context, ModelNode operation, ModelNode model) throws OperationFailedException { final PathAddress address = PathAddress.pathAddress(operation.require(OP_ADDR)); String hornetqServerName = address.getElement(address.size() - 2).getValue(); Stri...
protected void recoverServices(OperationContext context, ModelNode operation, ModelNode model) throws OperationFailedException { final PathAddress address = PathAddress.pathAddress(operation.require(OP_ADDR)); String hornetqServerName = address.getElement(address.size() - 2).getValue(); Stri...
private void startedPooledConnectionFactory(ResolutionContext context, String name, ServiceBuilder<?> serviceBuilder, ServiceTarget serviceTarget, DeploymentUnit deploymentUnit, Injector<ManagedReferenceFactory> injector) throws DeploymentUnitProcessingException, OperationFailedException { Map<String, Strin...
private void startedPooledConnectionFactory(ResolutionContext context, String name, ServiceBuilder<?> serviceBuilder, ServiceTarget serviceTarget, DeploymentUnit deploymentUnit, Injector<ManagedReferenceFactory> injector) throws DeploymentUnitProcessingException, OperationFailedException { Map<String, Strin...
private T getResourceConfig(final PathAddress operationAddress) throws OperationFailedException { final String name = operationAddress.getLastElement().getValue(); final String server = operationAddress.getElement(operationAddress.size() - 2).getValue(); T config = resources.get(new Resour...
private T getResourceConfig(final PathAddress operationAddress) throws OperationFailedException { final String name = operationAddress.getLastElement().getValue(); final String server = operationAddress.getElement(operationAddress.size() - 2).getValue(); T config = resources.get(new Resour...
public void validateParameter(String parameterName, ModelNode value) throws OperationFailedException { if (value.isDefined()) { String str = value.asString(); String[] results = str.split(","); for (String result : results) { int i = result.lastIndexOf(":"...
public void validateParameter(String parameterName, ModelNode value) throws OperationFailedException { if (value.isDefined()) { String str = value.asString(); String[] results = str.split(","); for (String result : results) { int i = result.lastIndexOf(":"...
public void addEntries(ModelNode current, Context context) throws NamingException{ JndiViewOperation.this.addEntries(current, context); } }); } } ...
public void addEntries(ModelNode current, Context context) throws NamingException{ JndiViewOperation.this.addEntries(current, context); } }); } } ...
public void execute(OperationContext context, ModelNode operation) throws OperationFailedException { final ServiceRegistry registry = context.getServiceRegistry(false); if (registry != null) { try { context.getRe...
public void execute(OperationContext context, ModelNode operation) throws OperationFailedException { final ServiceRegistry registry = context.getServiceRegistry(false); if (registry != null) { try { context.getRe...
public void deleteDeployment(byte[] deploymentHash) { //NOOP } }
public void deleteDeployment(byte[] deploymentHash) { localFileRepository.deleteDeployment(deploymentHash); } }
protected RealMatrix calculateBetaVariance() { RealMatrix XTX = X.transpose().multiply(X); return new LUSolver(new LUDecompositionImpl(XTX)).getInverse(); }
protected RealMatrix calculateBetaVariance() { RealMatrix XTX = X.transpose().multiply(X); return new LUDecompositionImpl(XTX).getSolver().getInverse(); }
public ManagedReference getReference() { PersistenceUnitServiceImpl service = (PersistenceUnitServiceImpl) deploymentUnit.getServiceRegistry().getRequiredService(puServiceName).getValue(); EntityManagerFactory emf = service.getEntityManagerFactory(); EntityManager entityManag...
public ManagedReference getReference() { PersistenceUnitServiceImpl service = (PersistenceUnitServiceImpl) deploymentUnit.getServiceRegistry().getRequiredService(puServiceName).getValue(); EntityManagerFactory emf = service.getEntityManagerFactory(); EntityManager entityManag...
public Object processInvocation(InterceptorContext interceptorContext) throws Exception { try { return interceptorContext.proceed(); } finally { StatefulSessionComponentInstance sfsb = (StatefulSessionComponentInstance) interceptorContext.getPrivateData(ComponentInstance.cla...
public Object processInvocation(InterceptorContext interceptorContext) throws Exception { try { return interceptorContext.proceed(); } finally { StatefulSessionComponentInstance sfsb = (StatefulSessionComponentInstance) interceptorContext.getPrivateData(ComponentInstance.cla...
public Object processInvocation(InterceptorContext context) throws Exception { ComponentInstance componentInstance = context.getPrivateData(ComponentInstance.class); if (componentInstance == null) { throw MESSAGES.notSetInInterceptorContext("componentInstance", context); } ...
public Object processInvocation(InterceptorContext context) throws Exception { ComponentInstance componentInstance = context.getPrivateData(ComponentInstance.class); if (componentInstance == null) { throw MESSAGES.notSetInInterceptorContext("componentInstance", context); } ...
public static <E> Closure<E> getInstance(Collection<Closure<E>> closures) { if (closures == null) { throw new IllegalArgumentException("Closure collection must not be null"); } if (closures.size() == 0) { return NOPClosure.<E>getInstance(); } // conver...
public static <E> Closure<E> getInstance(Collection<Closure<E>> closures) { if (closures == null) { throw new IllegalArgumentException("Closure collection must not be null"); } if (closures.size() == 0) { return NOPClosure.<E>getInstance(); } // conver...
public K next() { last = (Map.Entry<K, V>) iterator.next(); canRemove = true; return last.getKey(); }
public K next() { last = iterator.next(); canRemove = true; return last.getKey(); }
protected Set<E> createSetBasedOnList(Set<E> set, List<E> list) { Set<E> subSet; if (set.getClass().equals(HashSet.class)) { subSet = new HashSet<E>(list.size()); } else { try { subSet = (Set<E>) set.getClass().newInstance(); } catch (Insta...
protected Set<E> createSetBasedOnList(Set<E> set, List<E> list) { Set<E> subSet; if (set.getClass().equals(HashSet.class)) { subSet = new HashSet<E>(list.size()); } else { try { subSet = set.getClass().newInstance(); } catch (InstantiationE...
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { in.defaultReadObject(); map = (Map) in.readObject(); }
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { in.defaultReadObject(); map = (Map<K, V>) in.readObject(); }
public V setValue(V value) { return current().setValue(value); };
public V setValue(V value) { return current().setValue(value); }
public Flat3Map<K, V> clone() { try { Flat3Map<K, V> cloned = (Flat3Map<K, V>) super.clone(); if (cloned.delegateMap != null) { cloned.delegateMap = (HashedMap<K, V>) cloned.delegateMap.clone(); } return cloned; } catch (CloneNotSupport...
public Flat3Map<K, V> clone() { try { Flat3Map<K, V> cloned = (Flat3Map<K, V>) super.clone(); if (cloned.delegateMap != null) { cloned.delegateMap = cloned.delegateMap.clone(); } return cloned; } catch (CloneNotSupportedException ex) { ...
public void putAll(Map<? extends K, ?> map) { if (map instanceof MultiMap) { for (Map.Entry<? extends K, Object> entry : ((MultiMap<? extends K, V>) map).entrySet()) { putAll(entry.getKey(), (Collection<V>) entry.getValue()); } } else { for (Map.En...
public void putAll(Map<? extends K, ?> map) { if (map instanceof MultiMap) { for (Map.Entry<? extends K, Object> entry : ((MultiMap<? extends K, V>) map).entrySet()) { putAll(entry.getKey(), (Collection<V>) entry.getValue()); } } else { for (Map.En...
protected Map<K, V> transformMap(Map<? extends K, ? extends V> map) { if (map.isEmpty()) { return (Map<K, V>) map; } Map<K, V> result = new LinkedMap<K, V>(map.size()); for (Map.Entry<? extends K, ? extends V> entry : map.entrySet()) { result.put((K) transfor...
protected Map<K, V> transformMap(Map<? extends K, ? extends V> map) { if (map.isEmpty()) { return (Map<K, V>) map; } Map<K, V> result = new LinkedMap<K, V>(map.size()); for (Map.Entry<? extends K, ? extends V> entry : map.entrySet()) { result.put(transformKey...
protected Map<K, V> transformMap(Map<? extends J, ? extends U> map) { if (map.isEmpty()) { return (Map<K, V>) map; } Map<K, V> result = new LinkedMap<K, V>(map.size()); for (Map.Entry<? extends J, ? extends U> entry : map.entrySet()) { result.put((K) transfor...
protected Map<K, V> transformMap(Map<? extends J, ? extends U> map) { if (map.isEmpty()) { return (Map<K, V>) map; } Map<K, V> result = new LinkedMap<K, V>(map.size()); for (Map.Entry<? extends J, ? extends U> entry : map.entrySet()) { result.put(transformKey...
private SpringPersistenceUnitInfo buildDefaultPersistenceUnitInfo() { SpringPersistenceUnitInfo scannedUnit = new SpringPersistenceUnitInfo(); scannedUnit.setPersistenceUnitName(this.defaultPersistenceUnitName); scannedUnit.setExcludeUnlistedClasses(true); if (this.packagesToScan != null) { for (String pkg ...
private SpringPersistenceUnitInfo buildDefaultPersistenceUnitInfo() { SpringPersistenceUnitInfo scannedUnit = new SpringPersistenceUnitInfo(); scannedUnit.setPersistenceUnitName(this.defaultPersistenceUnitName); scannedUnit.excludeUnlistedClasses(); if (this.packagesToScan != null) { for (String pkg : this....
public static final SimpleAttributeDefinition MICRO_VERSION = new SimpleAttributeDefinitionBuilder(MANAGEMENT_MICRO_VERSION, ModelType.INT, true) .setValidator(new IntRangeValidator(0, Integer.MAX_VALUE, true, false)) .setFlags(AttributeAccess.Flag.STORAGE_RUNTIME).build(); ExtensionSub...
public static final SimpleAttributeDefinition MICRO_VERSION = new SimpleAttributeDefinitionBuilder(MANAGEMENT_MICRO_VERSION, ModelType.INT, true) .setValidator(new IntRangeValidator(0, Integer.MAX_VALUE, true, false)) .setFlags(AttributeAccess.Flag.STORAGE_RUNTIME).build(); ExtensionSub...
public SecretServerIdentityResourceDefinition() { super(PathElement.pathElement(ModelDescriptionConstants.SERVER_IDENTITY, ModelDescriptionConstants.SECRET), CommonDescriptions.getResourceDescriptionResolver("core.management.security-realm.server-identity.secret"), new Securi...
public SecretServerIdentityResourceDefinition() { super(PathElement.pathElement(ModelDescriptionConstants.SERVER_IDENTITY, ModelDescriptionConstants.SECRET), CommonDescriptions.getResourceDescriptionResolver("core", "management", "security-realm", "server-identity", "secret"), ...
public void registerOperations(ManagementResourceRegistration hostRegistration) { super.registerOperations(hostRegistration); hostRegistration.registerOperationHandler(NamespaceAddHandler.OPERATION_NAME, NamespaceAddHandler.INSTANCE, NamespaceAddHandler.INSTANCE, false); hostRegistration.reg...
public void registerOperations(ManagementResourceRegistration hostRegistration) { super.registerOperations(hostRegistration); hostRegistration.registerOperationHandler(NamespaceAddHandler.OPERATION_NAME, NamespaceAddHandler.INSTANCE, NamespaceAddHandler.INSTANCE, false); hostRegistration.reg...
public void registerOperations(ManagementResourceRegistration resourceRegistration) { resourceRegistration.registerOperationHandler(READ_RESOURCE_OPERATION, GlobalOperationHandlers.READ_RESOURCE, CommonProviders.READ_RESOURCE_PROVIDER, true, runtimeOnlyFlag); resourceRegistration.registerOperationHa...
public void registerOperations(ManagementResourceRegistration resourceRegistration) { resourceRegistration.registerOperationHandler(READ_RESOURCE_OPERATION, GlobalOperationHandlers.READ_RESOURCE, CommonProviders.READ_RESOURCE_PROVIDER, true, runtimeOnlyFlag); resourceRegistration.registerOperationHa...
public TransactionAttributeType getTransactionAttributeType(MethodIntf methodIntf, Method method) { ConcurrentMap<String, ConcurrentMap<ArrayKey, TransactionAttributeType>> perMethodIntf = txAttrs.get(methodIntf); if (perMethodIntf == null) throw new IllegalStateException("Can't find tx ...
public TransactionAttributeType getTransactionAttributeType(MethodIntf methodIntf, Method method) { ConcurrentMap<String, ConcurrentMap<ArrayKey, TransactionAttributeType>> perMethodIntf = txAttrs.get(methodIntf); if (perMethodIntf == null) throw new IllegalStateException("Can't find tx ...
Map<UUID, ServerUpdateResult> getDeploymentActionResults(); /* * JBoss, Home of Professional Open Source. * Copyright 2010, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is fr...
Map<UUID, ServerUpdateResult> getDeploymentActionResults(); /* * JBoss, Home of Professional Open Source. * Copyright 2010, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is fr...
Map<String, ServerUpdateResult> getResultByServer(); /* * JBoss, Home of Professional Open Source. * Copyright 2010, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free soft...
Map<String, ServerUpdateResult> getResultByServer(); /* * JBoss, Home of Professional Open Source. * Copyright 2010, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free soft...
public interface ZipEncoding { /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Vers...
public interface ZipEncoding { /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Vers...
public void test_getInstance_String_Locale() { Locale realDefaultLocale = Locale.getDefault(); try { Locale.setDefault(Locale.US); FastDateFormat format1 = FastDateFormat.getInstance("MM/DD/yyyy", Locale.GERMANY); FastDateFormat format2 = FastDateFormat.getInstanc...
public void test_getInstance_String_Locale() { Locale realDefaultLocale = Locale.getDefault(); try { Locale.setDefault(Locale.US); FastDateFormat format1 = FastDateFormat.getInstance("MM/DD/yyyy", Locale.GERMANY); FastDateFormat format2 = FastDateFormat.getInstanc...
private ComponentInstance instance; public ApplicationClientStartService(final Method mainMethod, final String[] parameters, final InjectedEENamespaceContextSelector namespaceContextSelectorInjectedValue, final ClassLoader classLoader, final List<SetupAction> setupActions, final String hostUrl, final Callback...
private ComponentInstance instance; public ApplicationClientStartService(final Method mainMethod, final String[] parameters, final InjectedEENamespaceContextSelector namespaceContextSelectorInjectedValue, final ClassLoader classLoader, final List<SetupAction> setupActions, final String hostUrl, final Callback...
private final long recordNumber; CSVRecord(final String[] values, final Map<String, Integer> mapping, final String comment, long recordNumber) { this.recordNumber = recordNumber; this.values = values != null ? values : EMPTY_STRING_ARRAY; this.mapping = mapping; this.comment = c...
private final long recordNumber; CSVRecord(final String[] values, final Map<String, Integer> mapping, final String comment, final long recordNumber) { this.recordNumber = recordNumber; this.values = values != null ? values : EMPTY_STRING_ARRAY; this.mapping = mapping; this.comme...
private final char mapNullToDisabled(Character c) { return c == null ? DISABLED : c.charValue(); } long getLineNumber() { return in.getLineNumber(); } // TODO escape handling needs more work int readEscape() throws IOException { // assume c is the escape char (normally ...
private final char mapNullToDisabled(final Character c) { return c == null ? DISABLED : c.charValue(); } long getLineNumber() { return in.getLineNumber(); } // TODO escape handling needs more work int readEscape() throws IOException { // assume c is the escape char (nor...
public void testCSVFile() throws Exception { String line = readTestData(); assertNotNull("file must contain config line", line); final String[] split = line.split(" "); assertTrue(testName+" require 1 param", split.length >= 1); // first line starts with csv data file name ...
public void testCSVFile() throws Exception { String line = readTestData(); assertNotNull("file must contain config line", line); final String[] split = line.split(" "); assertTrue(testName+" require 1 param", split.length >= 1); // first line starts with csv data file name ...
public void initialize(ExtensionContext context) { EnumSet<Flag> runtimeOnly = EnumSet.of(Flag.RUNTIME_ONLY); ROOT_LOGGER.debugf("Activating Mod_cluster Extension"); final SubsystemRegistration subsystem = context.registerSubsystem(SUBSYSTEM_NAME, Namespace.CURRENT.getMajorVersion(), Names...
public void initialize(ExtensionContext context) { EnumSet<Flag> runtimeOnly = EnumSet.of(Flag.RUNTIME_ONLY); ROOT_LOGGER.debugf("Activating Mod_cluster Extension"); final SubsystemRegistration subsystem = context.registerSubsystem(SUBSYSTEM_NAME, Namespace.CURRENT.getMajorVersion(), Names...
public void resetReplayFile() throws IOException { if (filePointer != null) { try { filePointer.close(); filePointer = null; } catch (IOException ex) { // ignore } } filePointer = new BufferedReader(new Input...
public void resetReplayFile() throws IOException { if (filePointer != null) { try { filePointer.close(); filePointer = null; } catch (IOException ex) { //NOPMD // ignore } } filePointer = new BufferedReader(n...
public Set<HttpMethod> getAllow() { String value = getFirst(ALLOW); if (value != null) { List<HttpMethod> allowedMethod = new ArrayList<HttpMethod>(5); String[] tokens = value.split(",\\s*"); for (String token : tokens) { allowedMethod.add(HttpMethod.valueOf(token)); } return EnumSet.copyOf(allo...
public Set<HttpMethod> getAllow() { String value = getFirst(ALLOW); if (!StringUtils.isEmpty(value)) { List<HttpMethod> allowedMethod = new ArrayList<HttpMethod>(5); String[] tokens = value.split(",\\s*"); for (String token : tokens) { allowedMethod.add(HttpMethod.valueOf(token)); } return EnumS...
public void execute(RuntimeTaskContext context) throws OperationFailedException { final ServiceController<?> service = context.getServiceRegistry() .getService(WebSubsystemServices.JBOSS_WEB_HOST.append(name)); if (service != null) { ...
public void execute(RuntimeTaskContext context) throws OperationFailedException { final ServiceController<?> service = context.getServiceRegistry() .getService(WebSubsystemServices.JBOSS_WEB_CONNECTOR.append(name)); if (service != null)...
protected RandomGenerator makeGenerator() { return new MersenneTwister(100); }
protected RandomGenerator makeGenerator() { return new MersenneTwister(111); }
public RandomGenerator makeGenerator() { return new Well512a(100); }
public RandomGenerator makeGenerator() { return new Well512a(101); }
public void testHandlerLazy() throws Exception { ModelNode targetNode = new ModelNode(); targetNode.get(ModelConstants.ACTIVATION).set("eager"); OperationContext context = Mockito.mock(OperationContext.class); Resource resource = Mockito.mock(Resource.class); Mockito.when(re...
public void testHandlerLazy() throws Exception { ModelNode targetNode = new ModelNode(); targetNode.get(ModelConstants.ACTIVATION).set("eager"); OperationContext context = Mockito.mock(OperationContext.class); Resource resource = Mockito.mock(Resource.class); Mockito.when(re...
public double integrate(final FirstOrderDifferentialEquations equations, final double t0, final double[] y0, final double t, final double[] y) throws MathUserException, IntegratorException { final int n = y0.length; sanityChecks(equati...
public double integrate(final FirstOrderDifferentialEquations equations, final double t0, final double[] y0, final double t, final double[] y) throws MathUserException, IntegratorException { final int n = y0.length; sanityChecks(equati...
public double integrate(final FirstOrderDifferentialEquations equations, final double t0, final double[] y0, final double t, final double[] y) throws MathUserException, IntegratorException { final int n = y0.length; sanityChecks(equati...
public double integrate(final FirstOrderDifferentialEquations equations, final double t0, final double[] y0, final double t, final double[] y) throws MathUserException, IntegratorException { final int n = y0.length; sanityChecks(equati...
S createSession(String sessionId, WebSocketHandler webSocketHandler); /* * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http...
S createSession(String sessionId, WebSocketHandler webSocketHandler); /* * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http...
String sockJsPath, WebSocketHandler webSocketHandler) throws IOException, TransportErrorException; /* * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy...
String sockJsPath, WebSocketHandler webSocketHandler) throws IOException, TransportErrorException; /* * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy...
WebSocketHandler handler, AbstractSockJsSession session) throws TransportErrorException; /* * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
WebSocketHandler handler, AbstractSockJsSession session) throws TransportErrorException; /* * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
public final void handleRequest(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler<?> webSocketHandler, AbstractSockJsSession session) throws TransportErrorException { if (session == null) { response.setStatusCode(HttpStatus.NOT_FOUND); return; } handleRequestInternal(reques...
public final void handleRequest(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler webSocketHandler, AbstractSockJsSession session) throws TransportErrorException { if (session == null) { response.setStatusCode(HttpStatus.NOT_FOUND); return; } handleRequestInternal(request, ...
public final void handleRequest(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler<?> webSocketHandler, AbstractSockJsSession session) throws TransportErrorException { // Set content type before writing response.getHeaders().setContentType(getContentType()); AbstractHttpServerSock...
public final void handleRequest(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler webSocketHandler, AbstractSockJsSession session) throws TransportErrorException { // Set content type before writing response.getHeaders().setContentType(getContentType()); AbstractHttpServerSockJsS...
public PollingServerSockJsSession createSession(String sessionId, WebSocketHandler<?> handler) { Assert.notNull(getSockJsConfig(), "This transport requires SockJsConfiguration"); return new PollingServerSockJsSession(sessionId, getSockJsConfig(), handler); } }
public PollingServerSockJsSession createSession(String sessionId, WebSocketHandler handler) { Assert.notNull(getSockJsConfig(), "This transport requires SockJsConfiguration"); return new PollingServerSockJsSession(sessionId, getSockJsConfig(), handler); } }
WebSocketSession doHandshake(WebSocketHandler webSocketHandler, HttpHeaders headers, URI uri) /* * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of t...
WebSocketSession doHandshake(WebSocketHandler webSocketHandler, HttpHeaders headers, URI uri) /* * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of t...
public final boolean doHandshake(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler<?> webSocketHandler) throws IOException { logger.debug("Starting handshake for " + request.getURI()); if (!HttpMethod.GET.equals(request.getMethod())) { response.setStatusCode(HttpStatus.METHOD_NOT_ALL...
public final boolean doHandshake(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler webSocketHandler) throws IOException { logger.debug("Starting handshake for " + request.getURI()); if (!HttpMethod.GET.equals(request.getMethod())) { response.setStatusCode(HttpStatus.METHOD_NOT_ALLOWE...
public void upgrade(ServerHttpRequest request, ServerHttpResponse response, String protocol, WebSocketHandler<?> webSocketHandler) throws IOException { upgradeInternal(request, response, protocol, new StandardEndpointAdapter(webSocketHandler)); }
public void upgrade(ServerHttpRequest request, ServerHttpResponse response, String protocol, WebSocketHandler webSocketHandler) throws IOException { upgradeInternal(request, response, protocol, new StandardEndpointAdapter(webSocketHandler)); }
private void spin(long now) { while (System.currentTimeMillis() <= now); }
private void spin(long now) { while (System.currentTimeMillis() <= now + 1000); }
private long writeEntryHeader( final ArArchiveEntry pEntry ) throws IOException { long offset = 0; final String n = pEntry.getName(); if (n.length() > 16) { throw new IOException("filename too long, > 16 chars: "+n); } offset += write(n); offset = fill(...
private long writeEntryHeader( final ArArchiveEntry pEntry ) throws IOException { long offset = 0; final String n = pEntry.getName(); if (n.length() > 16) { throw new IOException("filename too long, > 16 chars: "+n); } offset += write(n); offset = fill(...
protected void performRuntime(final OperationContext context, final ModelNode operation, final ModelNode model, final ServiceVerificationHandler verificationHandler, final List<ServiceController<?>> newControllers) throws OperationFailedException { final PathAddress address = PathAddress.pathAddress(operati...
protected void performRuntime(final OperationContext context, final ModelNode operation, final ModelNode model, final ServiceVerificationHandler verificationHandler, final List<ServiceController<?>> newControllers) throws OperationFailedException { final PathAddress address = PathAddress.pathAddress(operati...
public void configure(final DeploymentPhaseContext context, final ComponentConfiguration componentConfiguration, final ViewDescription description, final ViewConfiguration configuration) throws DeploymentUnitProcessingException { final DeploymentReflectionIndex index = context.getDeploymentU...
public void configure(final DeploymentPhaseContext context, final ComponentConfiguration componentConfiguration, final ViewDescription description, final ViewConfiguration configuration) throws DeploymentUnitProcessingException { final DeploymentReflectionIndex index = context.getDeploymentU...
package org.jboss.as.test.integration.ejb.home.remotehome; /* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat Inc., and individual contributors as indicated * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free softw...
package org.jboss.as.test.integration.ejb.home.remotehome; /* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat Inc., and individual contributors as indicated * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free softw...
package org.jboss.as.test.integration.ejb.home.remotehome; /* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat Inc., and individual contributors as indicated * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free softw...
package org.jboss.as.test.integration.ejb.home.remotehome; /* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat Inc., and individual contributors as indicated * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free softw...
package org.jboss.as.test.integration.ejb.home.remotehome.injection; /* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat Inc., and individual contributors as indicated * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is ...
package org.jboss.as.test.integration.ejb.home.remotehome.injection; /* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat Inc., and individual contributors as indicated * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is ...
package org.jboss.as.test.integration.ejb.home.remotehome.injection; /* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat Inc., and individual contributors as indicated * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is ...
package org.jboss.as.test.integration.ejb.home.remotehome.injection; /* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat Inc., and individual contributors as indicated * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is ...
package org.jboss.as.test.integration.ejb.remote.client.api; /* * JBoss, Home of Professional Open Source. * Copyright 2011, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is f...
package org.jboss.as.test.integration.ejb.remote.client.api; /* * JBoss, Home of Professional Open Source. * Copyright 2011, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is f...
package org.jboss.as.test.integration.ejb.remote.client.api; /* * JBoss, Home of Professional Open Source. * Copyright 2011, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is f...
package org.jboss.as.test.integration.ejb.remote.client.api; /* * JBoss, Home of Professional Open Source. * Copyright 2011, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is f...
package org.jboss.as.test.integration.ejb.remote.client.api; /* * JBoss, Home of Professional Open Source. * Copyright 2011, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is f...
package org.jboss.as.test.integration.ejb.remote.client.api; /* * JBoss, Home of Professional Open Source. * Copyright 2011, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is f...
package org.jboss.as.test.integration.ejb.remote.client.api; /* * JBoss, Home of Professional Open Source. * Copyright 2011, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is f...
package org.jboss.as.test.integration.ejb.remote.client.api; /* * JBoss, Home of Professional Open Source. * Copyright 2011, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is f...
package org.jboss.as.test.integration.ejb.remote.client.api; /* * JBoss, Home of Professional Open Source. * Copyright 2011, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is f...
package org.jboss.as.test.integration.ejb.remote.client.api; /* * JBoss, Home of Professional Open Source. * Copyright 2011, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is f...
public static <T> T deserialize(final byte[] objectData) { if (objectData == null) { throw new IllegalArgumentException("The byte[] must not be null"); } return org.apache.commons.lang3.SerializationUtils.<T>deserialize(new ByteArrayInputStream(objectData)); }
public static <T> T deserialize(final byte[] objectData) { if (objectData == null) { throw new IllegalArgumentException("The byte[] must not be null"); } return SerializationUtils.<T>deserialize(new ByteArrayInputStream(objectData)); }
public static void activate(OperationContext context, String raName, String rarName) throws OperationFailedException { ServiceRegistry registry = context.getServiceRegistry(true); if (rarName.contains(ConnectorServices.RA_SERVICE_NAME_SEPARATOR)) { rarName = rarName.substring(0, rarName...
public static void activate(OperationContext context, String raName, String rarName) throws OperationFailedException { ServiceRegistry registry = context.getServiceRegistry(true); if (rarName.contains(ConnectorServices.RA_SERVICE_NAME_SEPARATOR)) { rarName = rarName.substring(0, rarName...
private double getNextReplay() throws IOException, MathIllegalStateException { String str = null; if (filePointer == null) { resetReplayFile(); } if ((str = filePointer.readLine()) == null) { // we have probably reached end of file, wrap around from EOF to BOF...
private double getNextReplay() throws IOException, MathIllegalStateException { String str = null; if (filePointer == null) { resetReplayFile(); } if ((str = filePointer.readLine()) == null) { // we have probably reached end of file, wrap around from EOF to BOF...
public double transform(Object o) throws NullArgumentException, MathIllegalArgumentException { if (o == null) { throw new NullArgumentException(LocalizedFormats.OBJECT_TRANSFORMATION); } if (o instanceof Number) { return ((Number)o).doubleValue(); } ...
public double transform(Object o) throws NullArgumentException, MathIllegalArgumentException { if (o == null) { throw new NullArgumentException(LocalizedFormats.OBJECT_TRANSFORMATION); } if (o instanceof Number) { return ((Number)o).doubleValue(); } ...
public List<JdrCommand> getCommands() throws Exception { Sanitizer xmlSanitizer = Sanitizers.xml("//password"); Sanitizer passwordSanitizer = Sanitizers.pattern("password=.*", "password=*"); return Arrays.asList( new TreeCommand(), new JarCheck(), new Cal...
public List<JdrCommand> getCommands() throws Exception { Sanitizer xmlSanitizer = Sanitizers.xml("//password"); Sanitizer passwordSanitizer = Sanitizers.pattern("password=.*", "password=*"); return Arrays.asList( new TreeCommand(), new JarCheck(), new Cal...
protected Interceptor create(Component component, InterceptorFactoryContext context) { final EJBComponent ejb = (EJBComponent) component; TransactionAttributeType txAttr; if (methodIdentifier == null) { if(treatRequiredAsRequiresNew) { txAt...
protected Interceptor create(Component component, InterceptorFactoryContext context) { final EJBComponent ejb = (EJBComponent) component; TransactionAttributeType txAttr; if (methodIdentifier == null) { if(treatRequiredAsRequiresNew) { txAt...
package org.jboss.as.jdkorb.csiv2.idl; /* * JBoss, Home of Professional Open Source. * Copyright 2011, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can ...
package org.jboss.as.jdkorb.csiv2.idl; /* * JBoss, Home of Professional Open Source. * Copyright 2011, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can ...
package org.jboss.as.jdkorb.csiv2.idl; /* * JBoss, Home of Professional Open Source. * Copyright 2011, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can ...
package org.jboss.as.jdkorb.csiv2.idl; /* * JBoss, Home of Professional Open Source. * Copyright 2011, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can ...
package org.jboss.as.jdkorb.rmi.ir; /* * JBoss, Home of Professional Open Source. * Copyright 2008, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; yo...
package org.jboss.as.jdkorb.rmi.ir; /* * JBoss, Home of Professional Open Source. * Copyright 2008, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; yo...
package org.jboss.as.jdkorb.rmi.ir; /* * JBoss, Home of Professional Open Source. * Copyright 2008, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; yo...
package org.jboss.as.jdkorb.rmi.ir; /* * JBoss, Home of Professional Open Source. * Copyright 2008, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; yo...
package org.jboss.as.jdkorb.rmi.ir; /* * JBoss, Home of Professional Open Source. * Copyright 2008, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; yo...
package org.jboss.as.jdkorb.rmi.ir; /* * JBoss, Home of Professional Open Source. * Copyright 2008, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; yo...
package org.jboss.as.jdkorb.rmi.ir; /* * JBoss, Home of Professional Open Source. * Copyright 2008, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; yo...
package org.jboss.as.jdkorb.rmi.ir; /* * JBoss, Home of Professional Open Source. * Copyright 2008, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; yo...
package org.jboss.as.jdkorb.rmi.ir; /* * JBoss, Home of Professional Open Source. * Copyright 2008, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; yo...
package org.jboss.as.jdkorb.rmi.ir; /* * JBoss, Home of Professional Open Source. * Copyright 2008, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; yo...
package org.jboss.as.jdkorb.rmi.marshal; /* * JBoss, Home of Professional Open Source. * Copyright 2008, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free softwar...
package org.jboss.as.jdkorb.rmi.marshal; /* * JBoss, Home of Professional Open Source. * Copyright 2008, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free softwar...
package org.jboss.as.jdkorb.rmi.marshal; /* * JBoss, Home of Professional Open Source. * Copyright 2008, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free softwar...
package org.jboss.as.jdkorb.rmi.marshal; /* * JBoss, Home of Professional Open Source. * Copyright 2008, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free softwar...
public static void combine(DomainModel domainModel, HostModel hostModel, String serverName, List<AbstractServerModelUpdate<?>> list) { // Validate the model final ServerElement serverElement = hostModel.getServer(serverName); if (serverElement == null) { throw new IllegalArgument...
public static void combine(DomainModel domainModel, HostModel hostModel, String serverName, List<AbstractServerModelUpdate<?>> list) { // Validate the model final ServerElement serverElement = hostModel.getServer(serverName); if (serverElement == null) { throw new IllegalArgument...