buggy_function stringlengths 1 391k | fixed_function stringlengths 0 392k |
|---|---|
public static void main(String[] args) {
String port = "9990";
String host = "localhost";
String protocol = "http-remoting";
try {
CommandLine line = parser.parse(options, args, false);
if (line.hasOption("help")) {
formatter.printHelp(usage,... | public static void main(String[] args) {
String port = "9999";
String host = "localhost";
String protocol = "http-remoting";
try {
CommandLine line = parser.parse(options, args, false);
if (line.hasOption("help")) {
formatter.printHelp(usage,... |
public JdrReport standaloneCollect(String protocol, String host, String port) throws OperationFailedException {
String username = null;
String password = null;
if (host == null) {
host = "localhost";
}
if (port == null) {
port = "9990";
}
... | public JdrReport standaloneCollect(String protocol, String host, String port) throws OperationFailedException {
String username = null;
String password = null;
if (host == null) {
host = "localhost";
}
if (port == null) {
port = "9999";
}
... |
public InetSocketAddress getBindAddress() {
return InetSocketAddress.class.cast(getLocalAddress());
}
| public InetSocketAddress getBindAddress() {
return new InetSocketAddress(getLocalAddress(), getPort());
}
|
package org.jboss.as.test.spec.ejb3;
/*
* 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 software; you can re... | package org.jboss.as.test.spec.ejb3;
/*
* 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 software; you can re... |
public void printComment(String comment) throws IOException {
if (format.isCommentingDisabled()) {
return;
}
if (!newLine) {
println();
}
out.append(format.getCommentStart());
out.append(' ');
for (int i = 0; i < comment.length(); i++) ... | public void printComment(String comment) throws IOException {
if (!format.isCommentingEnabled()) {
return;
}
if (!newLine) {
println();
}
out.append(format.getCommentStart());
out.append(' ');
for (int i = 0; i < comment.length(); i++) ... |
@Message(id = 14356, value = "Not a business method %s. Do not call non-public methods on EJB's")
EJBException failToCallBusinessOnNonePublicMethod(Method method);
/**
* Creates an exception indicating component instance isn't available for invocation
*
* @return a {@link Exception} for the ... | @Message(id = 14356, value = "Not a business method %s. Do not call non-public methods on EJB's")
EJBException failToCallBusinessOnNonePublicMethod(Method method);
/**
* Creates an exception indicating component instance isn't available for invocation
*
* @return a {@link Exception} for the ... |
public String toString() {
return "StrictMaxPoolConfig{" +
"name=" + this.poolName +
"maxPoolSize=" + maxPoolSize +
", timeoutUnit=" + timeoutUnit +
", timeout=" + timeout +
'}';
}
| public String toString() {
return "StrictMaxPoolConfig{" +
"name=" + this.poolName +
", maxPoolSize=" + maxPoolSize +
", timeoutUnit=" + timeoutUnit +
", timeout=" + timeout +
'}';
}
|
* public static void main(String[] args) {
* CommandLinePropertySource clps = ...;
* clps.setNonOptionArgsPropertyName("file.locations");
*
* AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext();
* ctx.getEnvironment().getPropertySources().addFirst(clps);
* ctx.re... | * public static void main(String[] args) {
* CommandLinePropertySource clps = ...;
* clps.setNonOptionArgsPropertyName("file.locations");
*
* AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext();
* ctx.getEnvironment().getPropertySources().addFirst(clps);
* ctx.re... |
public String getResourceDescription(Locale locale, ResourceBundle bundle) {
return bundle.getString(specificType);
}
},
new TransportConfigOperationHandlers.BasicTransportConfigAdd(isAcceptor, attrs),
new Ho... | public String getResourceDescription(Locale locale, ResourceBundle bundle) {
return bundle.getString(specificType);
}
},
new TransportConfigOperationHandlers.BasicTransportConfigAdd(attrs),
new HornetQReloadR... |
private static void registerTransformers_1_1_0(final SubsystemRegistration subsystem) {
final ResourceTransformationDescriptionBuilder subsystemRoot = TransformationDescriptionBuilder.Factory.createSubsystemInstance();
// discard JMS bridge resources added in 1.2.0
subsystemRoot.rejectChil... | private static void registerTransformers_1_1_0(final SubsystemRegistration subsystem) {
final ResourceTransformationDescriptionBuilder subsystemRoot = TransformationDescriptionBuilder.Factory.createSubsystemInstance();
// discard JMS bridge resources added in 1.2.0
subsystemRoot.rejectChil... |
public void registerOperations(ManagementResourceRegistration registry) {
super.registerOperations(registry);
if (registerRuntimeOnly) {
QueueControlHandler.INSTANCE.registerOperations(registry);
}
}
| public void registerOperations(ManagementResourceRegistration registry) {
super.registerOperations(registry);
if (registerRuntimeOnly) {
QueueControlHandler.INSTANCE.registerOperations(registry, getResourceDescriptionResolver());
}
}
|
public final void handleRequest(ServerHttpRequest request, ServerHttpResponse response,
WebSocketHandler wsHandler, WebSocketSession wsSession) throws SockJsException {
AbstractHttpSockJsSession sockJsSession = (AbstractHttpSockJsSession) wsSession;
String protocol = null; // TODO: https://github.com/sockjs/s... | public final void handleRequest(ServerHttpRequest request, ServerHttpResponse response,
WebSocketHandler wsHandler, WebSocketSession wsSession) throws SockJsException {
AbstractHttpSockJsSession sockJsSession = (AbstractHttpSockJsSession) wsSession;
String protocol = null; // https://github.com/sockjs/sockjs-... |
public void deploy(final DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException {
final DeploymentUnit depUnit = phaseContext.getDeploymentUnit();
final String contextName = depUnit.getName();
// Check if {@link BundleInstallIntegration} provided the {@link Deploymen... | public void deploy(final DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException {
final DeploymentUnit depUnit = phaseContext.getDeploymentUnit();
final String contextName = depUnit.getName();
// Check if {@link BundleInstallIntegration} provided the {@link Deploymen... |
public void deploy(final DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException {
DeploymentUnit depUnit = phaseContext.getDeploymentUnit();
Deployment deployment = depUnit.getAttachment(OSGiConstants.DEPLOYMENT_KEY);
XBundle bundle = depUnit.getAttachment(Attachments... | public void deploy(final DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException {
DeploymentUnit depUnit = phaseContext.getDeploymentUnit();
Deployment deployment = depUnit.getAttachment(OSGiConstants.DEPLOYMENT_KEY);
XBundle bundle = depUnit.getAttachment(OSGiConstan... |
String echo(String msg);
/*
* JBoss, Home of Professional Open Source.
* Copyright (c) 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 redistribu... | String echo(String msg);
/*
* JBoss, Home of Professional Open Source.
* Copyright (c) 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 redistribu... |
protected BaseOptimizer(ConvergenceChecker<PAIR> checker) {
this.checker = checker;
evaluations = new Incrementor(0, new MaxEvalCallback());
iterations = new Incrementor(0, new MaxIterCallback());
}
| protected BaseOptimizer(ConvergenceChecker<PAIR> checker) {
this.checker = checker;
evaluations = new Incrementor(0, new MaxEvalCallback());
iterations = new Incrementor(Integer.MAX_VALUE, new MaxIterCallback());
}
|
public Cancellable execute(NewOperationContext context, ModelNode operation, ResultHandler resultHandler) {
final ModelNode address = operation.require(ADDRESS);
final String name = address.get(address.asInt() - 1).asString();
final ModelNode compensatingOperation = new ModelNode();
... | public Cancellable execute(NewOperationContext context, ModelNode operation, ResultHandler resultHandler) {
final ModelNode address = operation.require(ADDRESS);
final String name = address.get(address.asInt() - 1).asString();
final ModelNode compensatingOperation = new ModelNode();
... |
public Cancellable execute(NewOperationContext context, ModelNode operation, ResultHandler resultHandler) {
final ModelNode address = operation.require(ADDRESS);
final String name = address.get(address.asInt() - 1).asString();
final ModelNode compensatingOperation = new ModelNode();
... | public Cancellable execute(NewOperationContext context, ModelNode operation, ResultHandler resultHandler) {
final ModelNode address = operation.require(ADDRESS);
final String name = address.get(address.asInt() - 1).asString();
final ModelNode compensatingOperation = new ModelNode();
... |
public int getMajorVersion() {
return 1;
}
| public int getMajorVersion() {
return 2;
}
|
public OperationResult execute(OperationContext context, ModelNode operation, ResultHandler resultHandler) throws OperationFailedException {
validator.validate(operation);
String name = operation.require(NAME).asString();
String runtimeName = operation.hasDefined(RUNTIME_NAME) ? operation.... | public OperationResult execute(OperationContext context, ModelNode operation, ResultHandler resultHandler) throws OperationFailedException {
validator.validate(operation);
String name = operation.require(NAME).asString();
String runtimeName = operation.hasDefined(RUNTIME_NAME) ? operation.... |
public RealMatrix solve(final RealMatrix b)
throws IllegalArgumentException, InvalidMatrixException {
final int[] pivot = decomposition.getPivot();
final int m = pivot.length;
if (b.getRowDimension() != m) {
throw new IllegalArgumentException("Incorrect row dimension");
... | public RealMatrix solve(final RealMatrix b)
throws IllegalArgumentException, InvalidMatrixException {
final int[] pivot = decomposition.getPivot();
final int m = pivot.length;
if (b.getRowDimension() != m) {
throw new IllegalArgumentException("Incorrect row dimension");
... |
public RealMatrix solve(final RealMatrix b)
throws IllegalArgumentException, InvalidMatrixException {
if (decomposition.getR().getRowDimension() != b.getRowDimension()) {
throw new IllegalArgumentException("Incorrect row dimension");
}
if (!isNonSingular()) {... | public RealMatrix solve(final RealMatrix b)
throws IllegalArgumentException, InvalidMatrixException {
if (decomposition.getR().getRowDimension() != b.getRowDimension()) {
throw new IllegalArgumentException("Incorrect row dimension");
}
if (!isNonSingular()) {... |
public void testBasicFunctions() {
RealVectorImpl v1 = new RealVectorImpl(vec1);
RealVectorImpl v2 = new RealVectorImpl(vec2);
RealVectorImpl v_null = new RealVectorImpl(vec_null);
RealVectorTestImpl v2_t = new RealVectorTestImpl(vec2);
//octave = sqrt(sumsq(v1))
... | public void testBasicFunctions() {
RealVectorImpl v1 = new RealVectorImpl(vec1);
RealVectorImpl v2 = new RealVectorImpl(vec2);
RealVectorImpl v_null = new RealVectorImpl(vec_null);
RealVectorTestImpl v2_t = new RealVectorTestImpl(vec2);
//octave = sqrt(sumsq(v1))
... |
protected void writeResponse(final FlushableDataOutput output) throws IOException {
ModelNode node;
try {
getController().addClient(new RemoteDomainControllerSlaveClient(hostId, getChannel()));
node = getController().getDomainModel();
} catch (... | protected void writeResponse(final FlushableDataOutput output) throws IOException {
ModelNode node;
try {
getController().addClient(new RemoteDomainControllerSlaveClient(hostId, getContext().getChannel()));
node = getController().getDomainModel();
... |
public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
final String parameterName = operation.require(NAME).asString();
final ModelNode submodel = context.readModel(PathAddress.EMPTY_ADDRESS);
final ModelNode currentValue = submo... | public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
final String parameterName = operation.require(NAME).asString();
final ModelNode submodel = context.readResource(PathAddress.EMPTY_ADDRESS, false).getModel();
final ModelNode... |
public void resolveUrlPath() throws Exception {
this.request.setRequestURI("/context/servlet/resources/main.css");
this.request.setAttribute(HandlerMapping.PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE, "/resources/main.css");
String resourcePath = "/context/servlet/resources/bar.css";
Resource css = new ClassPathRes... | public void resolveUrlPath() throws Exception {
this.request.setRequestURI("/context/servlet/resources/main.css");
this.request.setAttribute(HandlerMapping.PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE, "resources/main.css");
String resourcePath = "/context/servlet/resources/bar.css";
Resource css = new ClassPathReso... |
public void apply(final Rule.PhonemeExpr phonemeExpr, final int maxPhonemes) {
final List<Rule.Phoneme> newPhonemes = new ArrayList<Rule.Phoneme>(maxPhonemes);
EXPR: for (final Rule.Phoneme left : this.phonemes) {
for (final Rule.Phoneme right : phonemeExpr.getPhonemes()... | public void apply(final Rule.PhonemeExpr phonemeExpr, final int maxPhonemes) {
final Set<Rule.Phoneme> newPhonemes = new LinkedHashSet<Rule.Phoneme>(maxPhonemes);
EXPR: for (final Rule.Phoneme left : this.phonemes) {
for (final Rule.Phoneme right : phonemeExpr.getPhoneme... |
extends BaseUnivariateSolver<PolynomialFunction> {}
/*
* 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 Apa... | extends BaseUnivariateSolver<PolynomialFunction> {}
/*
* 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 Apa... |
private final TransformersLogger logger;
static ResourceTransformationContext create(final OperationContext context, final TransformationTarget target) {
return create(context, target, PathAddress.EMPTY_ADDRESS, PathAddress.EMPTY_ADDRESS);
}
static ResourceTransformationContext create(final Op... | private final TransformersLogger logger;
static ResourceTransformationContext create(final OperationContext context, final TransformationTarget target) {
return create(context, target, PathAddress.EMPTY_ADDRESS, PathAddress.EMPTY_ADDRESS);
}
static ResourceTransformationContext create(final Op... |
public TransformersLogger getLogger() {
return new TransformersLogger(getTarget());
}
};
| public TransformersLogger getLogger() {
return TransformersLogger.getLogger(getTarget());
}
};
|
public void pushDescriptor(String descriptor) {
Assert.notNull(descriptor);
this.compilationScopes.peek().add(descriptor);
}
| public void pushDescriptor(String descriptor) {
Assert.notNull(descriptor, "Descriptor must not be null");
this.compilationScopes.peek().add(descriptor);
}
|
private EvaluationContext createEvaluationContext() {
StandardEvaluationContext context = new StandardEvaluationContext();
context.addPropertyAccessor(new JspPropertyAccessor(this.pageContext));
ConversionService conversionService = getConversionService();
if (conversionService != null) {
context.setTypeCon... | private EvaluationContext createEvaluationContext() {
StandardEvaluationContext context = new StandardEvaluationContext();
context.addPropertyAccessor(new JspPropertyAccessor(this.pageContext));
ConversionService conversionService = getConversionService();
if (conversionService != null) {
context.setTypeCon... |
public E get(final int index) {
final int sz = size();
if (index < 0 || index >= sz) {
throw new NoSuchElementException(
String.format("The specified index (%1$d) is outside the available range [0, %2$d)",
index, sz));
}
... | public E get(final int index) {
final int sz = size();
if (index < 0 || index >= sz) {
throw new NoSuchElementException(
String.format("The specified index (%1$d) is outside the available range [0, %2$d)",
Integer.valueOf(index), Inte... |
public void testLexx() {
// tests each constant
assertArrayEquals(
new DurationFormatUtils.Token[] {
new DurationFormatUtils.Token( DurationFormatUtils.y, 1),
new DurationFormatUtils.Token( DurationFormatUtils.M, 1),
new DurationFormatUtils.Token( Dura... | public void testLexx() {
// tests each constant
assertArrayEquals(
new DurationFormatUtils.Token[] {
new DurationFormatUtils.Token( DurationFormatUtils.y, 1),
new DurationFormatUtils.Token( DurationFormatUtils.M, 1),
new DurationFormatUtils.Token( Dura... |
public interface SmartApplicationListener extends ApplicationListener<ApplicationEvent>, Ordered {
/*
* Copyright 2002-2009 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... | public interface SmartApplicationListener extends ApplicationListener<ApplicationEvent>, Ordered {
/*
* Copyright 2002-2009 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... |
public void getType() {
OptionMap options = OptionMap.builder().getMap();
assertSame(Connector.Type.AJP, new UndertowConnector(new AjpListenerService("", "", options)).getType());
assertSame(Connector.Type.HTTP, new UndertowConnector(new HttpListenerService("", "", options, false, false)).ge... | public void getType() {
OptionMap options = OptionMap.builder().getMap();
assertSame(Connector.Type.AJP, new UndertowConnector(new AjpListenerService("", "", options)).getType());
assertSame(Connector.Type.HTTP, new UndertowConnector(new HttpListenerService("", "", options, false)).getType()... |
public HttpsListenerService(final String name, String serverName, OptionMap listenerOptions) {
super(name, serverName, listenerOptions, false, false);
}
| public HttpsListenerService(final String name, String serverName, OptionMap listenerOptions) {
super(name, serverName, listenerOptions, false);
}
|
protected AdditionalInitialization createAdditionalInitialization() {
return LoggingTestEnvironment.getManagementInstance();
}
| protected AdditionalInitialization createAdditionalInitialization() {
return LoggingTestEnvironment.get();
}
|
public void handle(CommandContext ctx) {
int port = 9999;
String host = "localhost";
String args = ctx.getCommandArguments();
if(args != null) {
String portStr = null;
int colonIndex = args.indexOf(':');
if(colonIndex < 0) {
// def... | public void handle(CommandContext ctx) {
int port = 9999;
String host = "localhost";
String args = ctx.getCommandArguments();
if(args != null) {
String portStr = null;
int colonIndex = args.indexOf(':');
if(colonIndex < 0) {
// def... |
public static ModelControllerClient create(final String protocol, final String hostName, final int port, final CallbackHandler handler, final SSLContext sslContext, final int connectionTimeout, final Map<String, String> saslOptions) throws UnknownHostException {
return create(ClientConfigurationImpl... | public static ModelControllerClient create(final String protocol, final String hostName, final int port, final CallbackHandler handler, final SSLContext sslContext, final int connectionTimeout, final Map<String, String> saslOptions) throws UnknownHostException {
return create(ClientConfigurationImpl... |
public int compare(String pattern1, String pattern2) {
if (pattern1 == null && pattern2 == null) {
return 0;
}
else if (pattern1 == null) {
return 1;
}
else if (pattern2 == null) {
return -1;
}
boolean pattern1EqualsPath = pattern1.equals(path);
boolean pattern2EqualsPath = pattern... | public int compare(String pattern1, String pattern2) {
if (pattern1 == null && pattern2 == null) {
return 0;
}
else if (pattern1 == null) {
return 1;
}
else if (pattern2 == null) {
return -1;
}
boolean pattern1EqualsPath = pattern1.equals(path);
boolean pattern2EqualsPath = pattern... |
public void testObjectFactoryOSGiService() throws Exception {
InitialContext ictx = new InitialContext();
try {
ictx.lookup("testscheme:testing/123");
} catch (NameNotFoundException nnfe) {
// good
}
ObjectFactory of = new TestObjectFactory();
... | public void testObjectFactoryOSGiService() throws Exception {
InitialContext ictx = new InitialContext();
try {
ictx.lookup("testscheme:testing/123");
} catch (NameNotFoundException nnfe) {
// good
}
ObjectFactory of = new TestObjectFactory();
... |
public void generateCode(MethodVisitor mv, CodeFlow cf) {
ReflectiveConstructorExecutor executor = ((ReflectiveConstructorExecutor) this.cachedExecutor);
Constructor<?> constructor = executor.getConstructor();
String classSlashedDescriptor = constructor.getDeclaringClass().getName().replace('.', '/');
mv.vis... | public void generateCode(MethodVisitor mv, CodeFlow cf) {
ReflectiveConstructorExecutor executor = ((ReflectiveConstructorExecutor) this.cachedExecutor);
Constructor<?> constructor = executor.getConstructor();
String classSlashedDescriptor = constructor.getDeclaringClass().getName().replace('.', '/');
mv.vis... |
public void generateCode(MethodVisitor mv,CodeFlow cf) {
String methodDeclaringClassSlashedDescriptor = this.method.getDeclaringClass().getName().replace('.', '/');
CodeFlow.generateCodeForArguments(mv, cf, method, this.children);
mv.visitMethodInsn(INVOKESTATIC, methodDeclaringClassSlashedDescriptor, this.metho... | public void generateCode(MethodVisitor mv,CodeFlow cf) {
String methodDeclaringClassSlashedDescriptor = this.method.getDeclaringClass().getName().replace('.', '/');
generateCodeForArguments(mv, cf, method, this.children);
mv.visitMethodInsn(INVOKESTATIC, methodDeclaringClassSlashedDescriptor, this.method.getName... |
public void generateCode(MethodVisitor mv, CodeFlow cf) {
CachedMethodExecutor executorToCheck = this.cachedExecutor;
if (executorToCheck == null || !(executorToCheck.get() instanceof ReflectiveMethodExecutor)) {
throw new IllegalStateException("No applicable cached executor found: " + executorToCheck);
}
... | public void generateCode(MethodVisitor mv, CodeFlow cf) {
CachedMethodExecutor executorToCheck = this.cachedExecutor;
if (executorToCheck == null || !(executorToCheck.get() instanceof ReflectiveMethodExecutor)) {
throw new IllegalStateException("No applicable cached executor found: " + executorToCheck);
}
... |
protected boolean useWeakValue(Class key, Map<Comparable, LabeledEnum> value) {
if (!ClassUtils.isCacheSafe(key, AbstractCachingLabeledEnumResolver.this.getClass().getClassLoader())) {
if (logger.isDebugEnabled()) {
logger.debug("Not strongly caching class [" + key.getName() + "] because it is not cache-s... | protected boolean useWeakValue(Class key, Map<Comparable, LabeledEnum> value) {
if (!ClassUtils.isCacheSafe(key, AbstractCachingLabeledEnumResolver.this.getClass().getClassLoader())) {
if (logger != null && logger.isDebugEnabled()) {
logger.debug("Not strongly caching class [" + key.getName() + "] because... |
private void parseBinding1_1(XMLExtendedStreamReader reader, ModelNode addOp) throws XMLStreamException {
// Handle attributes
String jndiName = null;
int count = reader.getAttributeCount();
for (int i = 0; i < count; i++) {
requireNoNamespaceAttribute(reader, i);
... | private void parseBinding1_1(XMLExtendedStreamReader reader, ModelNode addOp) throws XMLStreamException {
// Handle attributes
String jndiName = null;
int count = reader.getAttributeCount();
for (int i = 0; i < count; i++) {
requireNoNamespaceAttribute(reader, i);
... |
public void checkSession() throws Exception {
TestWebSocketSession session1 = new TestWebSocketSession("id1");
TestWebSocketSession session2 = new TestWebSocketSession("id2");
session1.setAcceptedProtocol("v12.stomp");
session2.setAcceptedProtocol("v12.stomp");
this.webSocketHandler.setProtocolHandlers(Arra... | public void checkSession() throws Exception {
TestWebSocketSession session1 = new TestWebSocketSession("id1");
TestWebSocketSession session2 = new TestWebSocketSession("id2");
session1.setAcceptedProtocol("v12.stomp");
session2.setAcceptedProtocol("v12.stomp");
this.webSocketHandler.setProtocolHandlers(Arra... |
private static ExtensionContext initializeDomainRegistry(final ModelNodeRegistration root, final ExtensibleConfigurationPersister configurationPersister,
final ContentRepository contentRepo, final FileRepository fileRepository, final boolean isMaster,
... | private static ExtensionContext initializeDomainRegistry(final ModelNodeRegistration root, final ExtensibleConfigurationPersister configurationPersister,
final ContentRepository contentRepo, final FileRepository fileRepository, final boolean isMaster,
... |
private ModelNode getEndpointMetricsFragment(final ModelNode operation, final ServiceController<?> controller) throws OperationFailedException {
final PathAddress address = PathAddress.pathAddress(operation.require(OP_ADDR));
String endpointId = null;
try {
endpointId = URLDecode... | private ModelNode getEndpointMetricsFragment(final ModelNode operation, final ServiceController<?> controller) throws OperationFailedException {
final PathAddress address = PathAddress.pathAddress(operation.require(OP_ADDR));
String endpointId = null;
try {
endpointId = URLDecode... |
public static HttpHandler createErrorContext(final String slot) throws ModuleLoadException {
final ClassPathResourceManager cpresource = new ClassPathResourceManager(getClassLoader(Module.getCallerModuleLoader(), ERROR_MODULE, slot), "");
final io.undertow.server.handlers.resource.ResourceHandler ha... | public static HttpHandler createErrorContext(final String slot) throws ModuleLoadException {
final ClassPathResourceManager cpresource = new ClassPathResourceManager(getClassLoader(Module.getCallerModuleLoader(), ERROR_MODULE, slot), "");
final io.undertow.server.handlers.resource.ResourceHandler ha... |
public EJBComponentDescription(final String componentName, final String componentClassName, final EjbJarDescription ejbJarDescription, final ServiceName deploymentUnitServiceName) {
super(componentName, componentClassName, ejbJarDescription.getEEModuleDescription(), ejbJarDescription.getEEModuleDescription(... | public EJBComponentDescription(final String componentName, final String componentClassName, final EjbJarDescription ejbJarDescription, final ServiceName deploymentUnitServiceName) {
super(componentName, componentClassName, ejbJarDescription.getEEModuleDescription(), ejbJarDescription.getApplicationClassesDe... |
public void handleMessage(Message<?> message) throws MessagingException {
if (!shouldHandle(message)) {
return;
}
SimpMessageHeaderAccessor headers = SimpMessageHeaderAccessor.wrap(message);
String destination = headers.getDestination();
if (logger.isTraceEnabled()) {
logger.trace("Processing messag... | public void handleMessage(Message<?> message) throws MessagingException {
if (!shouldHandle(message)) {
return;
}
SimpMessageHeaderAccessor headers = SimpMessageHeaderAccessor.wrap(message);
String destination = headers.getDestination();
if (logger.isTraceEnabled()) {
logger.trace("Processing messag... |
public void transition(final ServiceController<? extends Object> controller,
final ServiceController.Transition transition) {
switch (transition) {
case STARTING_to_UP: {
CommonDeployment depl... | public void transition(final ServiceController<? extends Object> controller,
final ServiceController.Transition transition) {
switch (transition) {
case STARTING_to_UP: {
CommonDeployment depl... |
private void startDriverServices(final ServiceTarget target, final ModuleIdentifier moduleId, Driver driver, final String driverName, final Integer majorVersion, final Integer minorVersion, final String dataSourceClassName, final String xaDataSourceClassName)
throws IllegalStateException {
final... | public static void startDriverServices(final ServiceTarget target, final ModuleIdentifier moduleId, Driver driver, final String driverName, final Integer majorVersion, final Integer minorVersion, final String dataSourceClassName, final String xaDataSourceClassName)
throws IllegalStateException {
... |
List<Object> find(String queryString) throws DataAccessException;
/*
* Copyright 2002-2014 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
*
* htt... | List<Object> find(String queryString) throws DataAccessException;
/*
* Copyright 2002-2014 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
*
* htt... |
ServiceName SERVICE_NAME_BASE = ServiceName.JBOSS.append("deployment", "processor");
/*
* 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 contr... | ServiceName SERVICE_NAME_BASE = ServiceName.JBOSS.append("deployment", "processor");
/*
* 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 contr... |
public Context getInitialContext(Hashtable<?, ?> environment) throws NamingException {
return new InitialContext((Hashtable<String, Object>) environment);
}
| public Context getInitialContext(Hashtable<?, ?> environment) throws NamingException {
return new InitialContext(environment);
}
|
public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment) throws Exception {
return new NamingContext(name != null ? name : new CompositeName(""), (Hashtable<String, Object>) environment);
}
| public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment) throws Exception {
return new NamingContext(name != null ? name : new CompositeName(""), environment);
}
|
public Object processInvocation(final InterceptorContext context) throws Exception {
SessionBeanComponentInstance instance = (SessionBeanComponentInstance) context.getPrivateData(ComponentInstance.class);
final InvocationType invocationType = context.getPrivateData(InvocationType.class);
try... | public Object processInvocation(final InterceptorContext context) throws Exception {
SessionBeanComponentInstance instance = (SessionBeanComponentInstance) context.getPrivateData(ComponentInstance.class);
final InvocationType invocationType = context.getPrivateData(InvocationType.class);
try... |
public Employee getEmployeeNoTX(int id) {
return em.find(Employee.class, id, LockModeType.NONE);
}
| public Employee getEmployeeNoTX(int id) {
return em.find(Employee.class, id);
}
|
private void handleResponse(ManagementResponseHeader header, DataInput input) throws IOException {
ManagementResponseHandler<?> responseHandler = responseHandlers.get(header.getResponseId());
if (responseHandler == null) {
throw new IOException("No response handler for re... | private void handleResponse(ManagementResponseHeader header, DataInput input) throws IOException {
ManagementResponseHandler<?> responseHandler = responseHandlers.get(header.getResponseId());
if (responseHandler == null) {
throw new IOException("No response handler for re... |
import org.wildfly.clustering.group.Node;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2013, 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 c... | import org.wildfly.clustering.group.Node;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2013, 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 c... |
package org.wildfly.clustering.group;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2013, 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 r... | package org.wildfly.clustering.group;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2013, 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 r... |
package org.wildfly.clustering.server.singleton;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2013, 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... | package org.wildfly.clustering.server.singleton;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2013, 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... |
package org.wildfly.clustering.server.singleton;
/*
* 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... | package org.wildfly.clustering.server.singleton;
/*
* 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... |
package org.wildfly.clustering.server.singleton;
/*
* 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... | package org.wildfly.clustering.server.singleton;
/*
* 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... |
import org.wildfly.clustering.group.Node;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2013, 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 c... | import org.wildfly.clustering.group.Node;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2013, 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 c... |
package org.jboss.as.test.clustering.cluster.provider.bean;
package org.jboss.as.test.clustering.cluster.service.bean;
import java.util.Collection;
public interface ServiceProviderRetriever {
Collection<String> getProviders();
} | package org.jboss.as.test.clustering.cluster.provider.bean;
package org.jboss.as.test.clustering.cluster.provider.bean;
import java.util.Collection;
public interface ServiceProviderRetriever {
Collection<String> getProviders();
} |
public void testSessionReplication(
@ArquillianResource(SimpleServlet.class) @OperateOnDeployment(DEPLOYMENT_1) URL baseURL1,
@ArquillianResource(SimpleServlet.class) @OperateOnDeployment(DEPLOYMENT_2) URL baseURL2)
throws IllegalStateException, IOException, InterruptedException ... | public void testSessionReplication(
@ArquillianResource(SimpleServlet.class) @OperateOnDeployment(DEPLOYMENT_1) URL baseURL1,
@ArquillianResource(SimpleServlet.class) @OperateOnDeployment(DEPLOYMENT_2) URL baseURL2)
throws IOException {
DefaultHttpClient client = HttpClie... |
public void start() throws Exception {
this.me = this.rpcDispatcher.getClusterNode();
this.localHandler.setLocalNode(this.me);
this.rpcTarget = new RpcTarget(this);
this.rpcDispatcher.registerRPCHandler(this.serviceHAName, this.rpcTarget);
this.membershipNotifier.registerGro... | public void start() throws Exception {
this.me = this.rpcDispatcher.getClusterNode();
this.localHandler.setLocalNode(this.me);
this.rpcTarget = new RpcTarget(this);
this.rpcDispatcher.registerRPCHandler(this.serviceHAName, this.rpcTarget, rpcDispatcher.getClass().getClassLoader());
... |
public void testLocaleIndependence() {
Locale orig = Locale.getDefault();
Locale[] locales = { Locale.ENGLISH, new Locale("tr", "", ""), Locale.getDefault() };
String[][] data = {
{ "i", "I" },
{ "\u03C2", "\u03C3" },
{ "\u03A3", "\u03C2" },
... | public void testLocaleIndependence() {
Locale orig = Locale.getDefault();
Locale[] locales = { Locale.ENGLISH, new Locale("tr", "", ""), Locale.getDefault() };
String[][] data = {
{ "i", "I" },
{ "\u03C2", "\u03C3" },
{ "\u03A3", "\u03C2" },
... |
public void testTransformedMap() {
Object[] els = new Object[] { "1", "3", "5", "7", "2", "4", "6" };
Map<K, V> map = TransformedMap
.decorate(
new HashMap<K, V>(),
(Transformer<? super K, ? extends K>) TestTransformedCollection.STRING... | public void testTransformedMap() {
Object[] els = new Object[] { "1", "3", "5", "7", "2", "4", "6" };
Map<K, V> map = TransformedMap
.decorate(
new HashMap<K, V>(),
(Transformer<? super K, ? extends K>) TestTransformedCollection.STRING... |
public CompositeSet<E> makeObject() {
final HashSet<E> contained = new HashSet<E>();
CompositeSet<E> set = new CompositeSet<E>(contained);
set.setMutator( new EmptySetMutator(contained) );
return set;
}
| public CompositeSet<E> makeObject() {
final HashSet<E> contained = new HashSet<E>();
CompositeSet<E> set = new CompositeSet<E>(contained);
set.setMutator( new EmptySetMutator<E>(contained) );
return set;
}
|
public void testClone() throws Exception {
HashMap<?, ?> test = SerializationUtils.clone(iMap);
assertNotNull(test);
assertTrue(test instanceof HashMap<?,?>);
assertTrue(test != iMap);
HashMap<?, ?> testMap = (HashMap<?, ?>) test;
assertEquals(iString, testMap.get("FO... | public void testClone() throws Exception {
Object test = SerializationUtils.clone(iMap);
assertNotNull(test);
assertTrue(test instanceof HashMap<?,?>);
assertTrue(test != iMap);
HashMap<?, ?> testMap = (HashMap<?, ?>) test;
assertEquals(iString, testMap.get("FOO"));
... |
private static final String SUBSYSTEM_NAME = "infinispan";
| private void writeRequired(XMLExtendedStreamWriter writer, Attribute attribute, ModelNode model, String key) throws XMLStreamException {
writer.writeAttribute(attribute.getLocalName(), model.require(key).asString());
}
} |
Channel createChannel(String id) throws Exception;
/*
* 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 softwa... | Channel createChannel(String id) throws Exception;
/*
* 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 softwa... |
public TransformedOperation transformOperation(final TransformationContext ctx, final PathAddress address, final ModelNode operation) throws OperationFailedException {
if(discardPolicy.discard(operation, address, ctx)) {
return OperationTransformer.DISCARD.transformOperat... | public TransformedOperation transformOperation(final TransformationContext ctx, final PathAddress address, final ModelNode operation) throws OperationFailedException {
if(discardPolicy.discard(operation, address, ctx)) {
return OperationTransformer.DISCARD.transformOperat... |
public double end() {
for (int i = expectedStart; i <= expectedEnd; i++) {
Assert.assertTrue("entry " + i + "has not been visited",
visited[i]);
}
return 0;
}
};
v.walkInDefa... | public double end() {
for (int i = expectedStart; i <= expectedEnd; i++) {
Assert.assertTrue("entry " + i + "has not been visited",
visited[i]);
}
return 0;
}
};
v.walkInOpti... |
public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException {
DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit();
if (deploymentUnit.getParent() != null) {
return;
}
final List<DeploymentUnit> deploymentUnits = new Array... | public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException {
DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit();
if (deploymentUnit.getParent() != null) {
return;
}
final List<DeploymentUnit> deploymentUnits = new Array... |
public RegressionResults(
final double[] parameters, final double[][] varcov,
final boolean isSymmetricCompressed,
final long nobs, final int rank,
final double sumy, final double sumysq, final double sse,
final boolean containsConstant,
final ... | public RegressionResults(
final double[] parameters, final double[][] varcov,
final boolean isSymmetricCompressed,
final long nobs, final int rank,
final double sumy, final double sumysq, final double sse,
final boolean containsConstant,
final ... |
void addObservations(double[][] x, double[] y) throws ModelSpecificationException;
/*
* 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... | void addObservations(double[][] x, double[] y) throws ModelSpecificationException;
/*
* 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... |
public ZipShort getCentralDirectoryLength() {
if (data == null) {
assembleData();
}
return new ZipShort(data.length);
}
| public ZipShort getCentralDirectoryLength() {
if (data == null) {
assembleData();
}
return new ZipShort(data != null ? data.length : 0);
}
|
public ZipShort getLocalFileDataLength() {
return new ZipShort(localData.length);
}
| public ZipShort getLocalFileDataLength() {
return new ZipShort(localData != null ? localData.length : 0);
}
|
protected void handleMissingValue(String name, MethodParameter parameter) throws ServletRequestBindingException {
throw new ServletRequestBindingException("Missing matrix variable '" + name +
"' for method parameter type " + parameter.getParameterType().getSimpleName());
}
| protected void handleMissingValue(String name, MethodParameter parameter) throws ServletRequestBindingException {
throw new ServletRequestBindingException("Missing matrix variable '" + name +
"' for method parameter of type " + parameter.getParameterType().getSimpleName());
}
|
public void testRequestDataValueProcessorHooks() throws Exception {
String action = "/my/form?foo=bar";
RequestDataValueProcessor processor = getMockRequestDataValueProcessor();
given(processor.processAction(this.request, action)).willReturn(action);
given(processor.getExtraHiddenFields(this.request)).willRetu... | public void testRequestDataValueProcessorHooks() throws Exception {
String action = "/my/form?foo=bar";
RequestDataValueProcessor processor = getMockRequestDataValueProcessor();
given(processor.processAction(this.request, action, "post")).willReturn(action);
given(processor.getExtraHiddenFields(this.request)).... |
private final SecurityMetaDataAccessorEJB ejb3SecurityAccessor = new SecurityMetaDataAccessorEJB3();
/** Logger. */
private final Logger log = Logger.getLogger(WebMetaDataCreator.class);
/**
* Constructor.
*/
WebMetaDataCreator() {
super();
}
/**
* Creates web meta ... | private final SecurityMetaDataAccessorEJB ejb3SecurityAccessor = new SecurityMetaDataAccessorEJB3();
/** Logger. */
private final Logger log = Logger.getLogger(WebMetaDataCreator.class);
/**
* Constructor.
*/
WebMetaDataCreator() {
super();
}
/**
* Creates web meta ... |
protected Session openSession(SessionFactory sessionFactory) throws DataAccessResourceFailureException {
try {
Session session = SessionFactoryUtils.openSession(sessionFactory);
session.setFlushMode(FlushMode.MANUAL);
return session;
}
catch (HibernateException ex) {
throw new DataAccessResourceFailu... | protected Session openSession(SessionFactory sessionFactory) throws DataAccessResourceFailureException {
try {
Session session = sessionFactory.openSession();
session.setFlushMode(FlushMode.MANUAL);
return session;
}
catch (HibernateException ex) {
throw new DataAccessResourceFailureException("Could ... |
protected Session openSession() throws DataAccessResourceFailureException {
try {
Session session = SessionFactoryUtils.openSession(getSessionFactory());
session.setFlushMode(FlushMode.MANUAL);
return session;
}
catch (HibernateException ex) {
throw new DataAccessResourceFailureException("Could not o... | protected Session openSession() throws DataAccessResourceFailureException {
try {
Session session = getSessionFactory().openSession();
session.setFlushMode(FlushMode.MANUAL);
return session;
}
catch (HibernateException ex) {
throw new DataAccessResourceFailureException("Could not open Hibernate Sessi... |
protected void addDefaultAliases() {
addAlias("string", String.class);
addAlias("byte", Byte.class);
addAlias("boolean", Boolean.class);
addAlias("char", Character.class);
addAlias("short", Short.class);
addAlias("int", Integer.class);
addAlias("long", Long.class);
addAlias("float", Float.class);
add... | protected void addDefaultAliases() {
addAlias("string", String.class);
addAlias("byte", Byte.class);
addAlias("boolean", Boolean.class);
addAlias("char", Character.class);
addAlias("short", Short.class);
addAlias("int", Integer.class);
addAlias("long", Long.class);
addAlias("float", Float.class);
add... |
public <S, T> T convert(S source, TypeDescriptor<T> targetType) {
if (source == null) {
return null;
}
ConversionExecutor executor = getConversionExecutor(source.getClass(), targetType);
if (executor != null) {
return (T) executor.execute(source);
} else {
if (parent != null) {
return parent.con... | public <S, T> T convert(S source, TypeDescriptor<T> targetType) {
if (source == null) {
return null;
}
ConversionExecutor executor = getConversionExecutor(source.getClass(), targetType);
if (executor != null) {
return (T) executor.execute(source);
} else {
if (parent != null) {
return parent.con... |
protected static final SimpleAttributeDefinition DEPLOYMENT_TIMEOUT =
new SimpleAttributeDefinitionBuilder(CommonAttributes.DEPLOYMENT_TIMEOUT, ModelType.LONG, true)
.setXmlName(Attribute.DEPLOYMENT_TIMEOUT.getLocalName())
.setAllowExpression(true)
... | protected static final SimpleAttributeDefinition DEPLOYMENT_TIMEOUT =
new SimpleAttributeDefinitionBuilder(CommonAttributes.DEPLOYMENT_TIMEOUT, ModelType.LONG, true)
.setXmlName(Attribute.DEPLOYMENT_TIMEOUT.getLocalName())
.setAllowExpression(true)
... |
boolean beforeInvocation() default false;
/*
* Copyright 2002-2011 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://www.apache.org/licen... | boolean beforeInvocation() default false;
/*
* Copyright 2002-2011 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://www.apache.org/licen... |
public Connection connect() throws IOException {
if (closed) {
throw new IllegalStateException("Closed this client");
}
if (connection != null) {
throw new IllegalStateException("Already connected");
}
//TODO Don't hardcode this login stuff
//T... | public Connection connect() throws IOException {
if (closed) {
throw new IllegalStateException("Closed this client");
}
if (connection != null) {
throw new IllegalStateException("Already connected");
}
//TODO Don't hardcode this login stuff
//T... |
public void execute(NewOperationContext context, ModelNode operation) throws OperationFailedException {
validator.validate(operation);
String name = operation.require(NAME).asString();
ModelNode rootModel = context.readModelForUpdate(PathAddress.EMPTY_ADDRESS);
ModelNode deploymen... | public void execute(NewOperationContext context, ModelNode operation) throws OperationFailedException {
validator.validate(operation);
String name = operation.require(NAME).asString();
ModelNode rootModel = context.readModelForUpdate(PathAddress.EMPTY_ADDRESS);
ModelNode deploymen... |
public void execute(NewOperationContext context, ModelNode operation) throws OperationFailedException {
validator.validate(operation);
ModelNode deployments = context.readModelForUpdate(PathAddress.EMPTY_ADDRESS).get(DEPLOYMENT);
String name = operation.require(NAME).asString();
Str... | public void execute(NewOperationContext context, ModelNode operation) throws OperationFailedException {
validator.validate(operation);
ModelNode deployments = context.readModelForUpdate(PathAddress.EMPTY_ADDRESS).get(DEPLOYMENT);
String name = operation.require(NAME).asString();
Str... |
import org.wildfly.security.manager.action.AddShutdownHookAction;
/*
* 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... | import org.wildfly.security.manager.action.AddShutdownHookAction;
/*
* 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... |
import org.wildfly.security.manager.action.CreateThreadAction;
/*
* 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... | import org.wildfly.security.manager.action.CreateThreadAction;
/*
* 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... |
import org.wildfly.security.manager.action.GetClassLoaderAction;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, 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.
*
* Th... | import org.wildfly.security.manager.action.GetClassLoaderAction;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, 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.
*
* Th... |
import org.wildfly.security.manager.action.GetClassLoaderAction;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, 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.
*
* Th... | import org.wildfly.security.manager.action.GetClassLoaderAction;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, 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.
*
* Th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.