buggy_function
stringlengths
1
391k
fixed_function
stringlengths
0
392k
package org.jboss.as.testsuite.integration.deployment.classloading.war; /* * 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 ...
package org.jboss.as.testsuite.integration.deployment.classloading.war; /* * 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 ...
package org.jboss.as.domain.controller.legacy; package org.jboss.as.domain.controller; import java.io.IOException; import java.io.InputStream; import org.jboss.as.model.DomainModel; /** * Handles persistence of the {@link DomainModel}. * * @author Brian Stansberry */ public interface DomainConfigurationPersiste...
package org.jboss.as.domain.controller.legacy; package org.jboss.as.domain.controller.legacy; import java.io.IOException; import java.io.InputStream; import org.jboss.as.model.DomainModel; /** * Handles persistence of the {@link DomainModel}. * * @author Brian Stansberry */ public interface DomainConfigurationP...
package org.jboss.as.domain.controller.legacy; /* * 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; ...
package org.jboss.as.domain.controller.legacy; /* * 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; ...
public static Archive createContainer2Deployment() { final JavaArchive ejbJar = ShrinkWrap.create(JavaArchive.class, MODULE_NAME + ".jar"); ejbJar.addClasses(ClusteredStatefulNodeNameEcho.class, NonClusteredStatefulNodeNameEcho.class, NodeNameEcho.class); ejbJar.addAsManifestResource(NonClus...
public static Archive createContainer2Deployment() { final JavaArchive ejbJar = ShrinkWrap.create(JavaArchive.class, MODULE_NAME + ".jar"); ejbJar.addClasses(ClusteredStatefulNodeNameEcho.class, NonClusteredStatefulNodeNameEcho.class, NodeNameEcho.class, ApplicationSpecificClusterNodeSelector.class)...
private Set<RealmGroup> loadGroups(final RealmUser user) throws IOException { Set<RealmGroup> response; String[] groups = ap.loadRoles(user.getName(), getRealmName()); response = new HashSet<RealmGroup>(groups.length); for (String current : gro...
private Set<RealmGroup> loadGroups(final RealmUser user) throws IOException { Set<RealmGroup> response; String[] groups = ap.loadRoles(user.getName(), getRealmName()); response = new HashSet<RealmGroup>(groups.length); for (String current : gro...
private int decompressNextSymbol() throws IOException { // // table entry table entry // _____________ _____ // table entry / \ / \ // ____________/ \ \ // / / \ ...
private int decompressNextSymbol() throws IOException { // // table entry table entry // _____________ _____ // table entry / \ / \ // ____________/ \ \ // / / \ ...
public void start(StartContext context) throws StartException { try { Connector cmd = mdr.getValue().getResourceAdapter(deployment); File root = mdr.getValue().getRoot(deployment); ResourceAdapter localRaXml = getRaxml(); cmd = (new Merger()).mergeConnectorWi...
public void start(StartContext context) throws StartException { try { Connector cmd = mdr.getValue().getResourceAdapter(deployment); File root = mdr.getValue().getRoot(deployment); ResourceAdapter localRaXml = getRaxml(); cmd = (new Merger()).mergeConnectorWi...
protected void resolvePluggableExpression(ModelNode node) { String expression = node.asString(); if (expression.length() > 3) { expression = expression.substring(2, expression.length() -2); if (vaultReader != null && vaultReader.isVaultFormat(expression)) { no...
protected void resolvePluggableExpression(ModelNode node) { String expression = node.asString(); if (expression.length() > 3) { expression = expression.substring(2, expression.length() -1); if (vaultReader != null && vaultReader.isVaultFormat(expression)) { no...
public static DistributionFactory newInstance() { DistributionFactory factory = null; try { DiscoverClass dc = new DiscoverClass(); factory = (DistributionFactory) dc.newInstance( DistributionFactory.class, "org.apache.commons.math.distribution...
public static DistributionFactory newInstance() { DistributionFactory factory = null; try { DiscoverClass dc = new DiscoverClass(); factory = (DistributionFactory) dc.newInstance( DistributionFactory.class, "org.apache.commons.math.distribution...
public AdminObjectResourceDefinition(boolean readOnly) { super(PathElement.pathElement(ADMIN_OBJECTS_NAME), ResourceAdaptersExtension.getResourceDescriptionResolver(ADMIN_OBJECTS_NAME), AdminObjectAdd.INSTANCE, ReloadRequiredRemoveStepHandler.INSTANCE); this.readOnly = readOnly; }
public AdminObjectResourceDefinition(boolean readOnly) { super(PathElement.pathElement(ADMIN_OBJECTS_NAME), ResourceAdaptersExtension.getResourceDescriptionResolver(ADMIN_OBJECTS_NAME), readOnly ? null : AdminObjectAdd.INSTANCE, readOnly ? null : ReloadRequiredRemoveStepHandler.INSTANCE); this.readO...
private LDAPStoreConfigurationBuilder configureLDAPIdentityStore(OperationContext context, ModelNode ldapIdentityStore, NamedIdentityConfigurationBuilder builder) throws OperationFailedException { LDAPStoreConfigurationBuilder storeConfig = builder.stores().ldap(); ModelNode url = LDAPStoreResourceD...
private LDAPStoreConfigurationBuilder configureLDAPIdentityStore(OperationContext context, ModelNode ldapIdentityStore, NamedIdentityConfigurationBuilder builder) throws OperationFailedException { LDAPStoreConfigurationBuilder storeConfig = builder.stores().ldap(); ModelNode url = LDAPStoreResourceD...
public void configure(final DeploymentPhaseContext context, final ComponentConfiguration componentConfiguration, final ViewDescription description, final ViewConfiguration configuration) throws DeploymentUnitProcessingException { for (final Method method : configuration.getProxyFactory().get...
public void configure(final DeploymentPhaseContext context, final ComponentConfiguration componentConfiguration, final ViewDescription description, final ViewConfiguration configuration) throws DeploymentUnitProcessingException { for (final Method method : configuration.getProxyFactory().get...
private static ServerConfigImpl createServerConfig(ModelNode configuration, boolean appclient) { final ServerConfigImpl config = ServerConfigImpl.getInstance(); try { ModelNode wsdlHost = configuration.require(WSDL_HOST).resolve(); config.setWebServiceHost(wsdlHost.asString()...
private static ServerConfigImpl createServerConfig(ModelNode configuration, boolean appclient) { final ServerConfigImpl config = ServerConfigImpl.newInstance(); try { ModelNode wsdlHost = configuration.require(WSDL_HOST).resolve(); config.setWebServiceHost(wsdlHost.asString()...
private RemoteOutboundConnectionWriteHandler() { super(RemoteOutboundConnnectionResourceDefinition.OUTBOUND_SOCKET_BINDING_REF); }
private RemoteOutboundConnectionWriteHandler() { super(RemoteOutboundConnnectionResourceDefinition.ATTRIBUTE_DEFINITIONS); }
public void validateResolvedParameter(String parameterName, ModelNode value) throws OperationFailedException { validateParameter(parameterName, value.resolve()); } }) .build(); static SimpleAttributeDefinition DATASOURCE_DRIVER = new Simp...
public void validateResolvedParameter(String parameterName, ModelNode value) throws OperationFailedException { validateParameter(parameterName, value.resolve()); } }) .build(); static SimpleAttributeDefinition DATASOURCE_DRIVER = new Simp...
long contentLength() throws IOException; /* * Copyright 2002-2010 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/licens...
long contentLength() throws IOException; /* * Copyright 2002-2010 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/licens...
public void handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) throws Exception { Assert.notNull(returnValue, "A Callable or a DeferredValue is required"); mavContainer.setRequestHandled(true); Class<?> paramType = returnTyp...
public void handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) throws Exception { Assert.notNull(returnValue, "A Callable or a DeferredValue is required"); mavContainer.setRequestHandled(true); Class<?> paramType = returnTyp...
public void testWrongControler() throws Exception { int exitCode = execute(TestSuiteEnvironment.getServerAddress(), TestSuiteEnvironment.getServerPort() - 1, true, "quit", false); assertTrue(exitCode != 0); }
public void testWrongControler() throws Exception { int exitCode = execute(TestSuiteEnvironment.getServerAddress(), TestSuiteEnvironment.getServerPort() - 1, true, "quit", true); assertTrue(exitCode != 0); }
protected void performRuntime(OperationContext context, ModelNode operation, ModelNode model, ServiceVerificationHandler verificationHandler, List<ServiceController<?>> newControllers) { final PathAddress address = PathAddress.pathAddress(operation.get(OP_ADDR)); final String name = address.getLastE...
protected void performRuntime(OperationContext context, ModelNode operation, ModelNode model, ServiceVerificationHandler verificationHandler, List<ServiceController<?>> newControllers) { final PathAddress address = PathAddress.pathAddress(operation.get(OP_ADDR)); final String name = address.getLastE...
public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException { final DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit(); final ManagementResourceRegistration baseRegistration = deploymentUnit.getAttachment(DeploymentModelUtils.MUTABLE_REGISTRATION_AT...
public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException { final DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit(); final ManagementResourceRegistration baseRegistration = deploymentUnit.getAttachment(DeploymentModelUtils.MUTABLE_REGISTRATION_AT...
public static int subAndCheck(int x, int y) { long s = (long)x - (long)y; if (s < Integer.MIN_VALUE || s > Integer.MAX_VALUE) { throw new ArithmeticException("overflow: add"); } return (int)s; }
public static int subAndCheck(int x, int y) { long s = (long)x - (long)y; if (s < Integer.MIN_VALUE || s > Integer.MAX_VALUE) { throw new ArithmeticException("overflow: subtract"); } return (int)s; }
public void start() throws Exception { InitialContext ctx = new InitialContext(); QueueConnectionFactory qcf = (QueueConnectionFactory)ctx.lookup("ConnectionFactory"); conn = qcf.createQueueConnection(); conn.start(); queue = (Queue)ctx.lookup("queue/test"); session...
public void start() throws Exception { InitialContext ctx = new InitialContext(); QueueConnectionFactory qcf = (QueueConnectionFactory)ctx.lookup("java:/ConnectionFactory"); conn = qcf.createQueueConnection(); conn.start(); queue = (Queue)ctx.lookup("queue/test"); s...
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....
public void configureDependency(final ServiceBuilder<?> serviceBuilder, ComponentStartService service) { serviceBuilder.addDependency(appContextServiceName, NamingStore.class, appInjector); serviceBuilder.addDependency(moduleContextServiceName, NamingStore.class, moduleInject...
public void configureDependency(final ServiceBuilder<?> serviceBuilder, ComponentStartService service) { serviceBuilder.addDependency(appContextServiceName, NamingStore.class, appInjector); serviceBuilder.addDependency(moduleContextServiceName, NamingStore.class, moduleInject...
public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException { final DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit(); if (DeploymentTypeMarker.isType(DeploymentType.EAR, deploymentUnit)) { return; } EEModuleDescription ...
public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException { final DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit(); if (DeploymentTypeMarker.isType(DeploymentType.EAR, deploymentUnit)) { return; } EEModuleDescription ...
public synchronized void start(final StartContext context) throws StartException { if(store == null) { store = new WritableServiceBasedNamingStore(context.getController().getServiceContainer(), context.getController().getName()); } }
public synchronized void start(final StartContext context) throws StartException { if(store == null) { store = new WritableServiceBasedNamingStore(context.getController().getServiceContainer(), context.getController().getName(),context.getChildTarget()); } }
private void processDeployment(final String hostName, final WarMetaData warMetaData, final DeploymentUnit deploymentUnit, final ServiceTarget serviceTarget) throws DeploymentUnitProcessingException { final VirtualFile deploymentRoot = deploymentUnit.getAttachment(Attachments.DEPLOYMENT_ROOT).get...
private void processDeployment(final String hostName, final WarMetaData warMetaData, final DeploymentUnit deploymentUnit, final ServiceTarget serviceTarget) throws DeploymentUnitProcessingException { final VirtualFile deploymentRoot = deploymentUnit.getAttachment(Attachments.DEPLOYMENT_ROOT).get...
public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException { final DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit(); final DeploymentUnit parent = deploymentUnit.getParent() == null ? deploymentUnit : deploymentUnit.getParent(); final Ser...
public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException { final DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit(); final DeploymentUnit parent = deploymentUnit.getParent() == null ? deploymentUnit : deploymentUnit.getParent(); final Ser...
protected int writeTagContent(TagWriter tagWriter) throws JspException { this.tagWriter = tagWriter; tagWriter.startTag(FORM_TAG); writeDefaultAttributes(tagWriter); tagWriter.writeAttribute(ACTION_ATTRIBUTE, resolveAction()); writeOptionalAttribute(tagWriter, METHOD_ATTRIBUTE, isMethodBrowserSupported(...
protected int writeTagContent(TagWriter tagWriter) throws JspException { this.tagWriter = tagWriter; tagWriter.startTag(FORM_TAG); writeDefaultAttributes(tagWriter); tagWriter.writeAttribute(ACTION_ATTRIBUTE, resolveAction()); writeOptionalAttribute(tagWriter, METHOD_ATTRIBUTE, isMethodBrowserSupported(...
protected Interceptor create(Component component, InterceptorFactoryContext context) { if (component instanceof StatefulSessionComponent == false) { throw new IllegalArgumentException("Component " + component + " with component class: "...
protected Interceptor create(Component component, InterceptorFactoryContext context) { if (!(component instanceof StatefulSessionComponent)) { throw new IllegalArgumentException("Component " + component + " with component class: " + com...
public CompositeMap<K, V> makeObject() { CompositeMap<K, V> map = new CompositeMap<K, V>(); map.addComposited(new HashMap<K, V>()); map.setMutator( new EmptyMapMutator() ); return map; }
public CompositeMap<K, V> makeObject() { CompositeMap<K, V> map = new CompositeMap<K, V>(); map.addComposited(new HashMap<K, V>()); map.setMutator( new EmptyMapMutator<K, V>() ); return map; }
public void setAsText(String text) throws IllegalArgumentException { setValue(this.conversionService.convert(text, TypeDescriptor.valueOf(String.class), this.targetDescriptor)); }
public void setAsText(String text) throws IllegalArgumentException { setValue(this.conversionService.convert(text, this.targetDescriptor)); }
public BeanEntry<G> findValue(I id) { return this.invoker.invoke(this.cache, new LockingFindOperation<BeanKey<I>, BeanEntry<G>>(this.createKey(id))); }
public BeanEntry<G> findValue(I id) { return this.invoker.invoke(this.cache, new FindOperation<BeanKey<I>, BeanEntry<G>>(this.createKey(id))); }
public CoarseSessionEntry<L> findValue(String id) { CoarseSessionCacheEntry<L> entry = this.invoker.invoke(this.sessionCache, new LockingFindOperation<String, CoarseSessionCacheEntry<L>>(id)); if (entry == null) return null; MarshalledValue<Map<String, Object>, MarshallingContext> value = th...
public CoarseSessionEntry<L> findValue(String id) { CoarseSessionCacheEntry<L> entry = this.invoker.invoke(this.sessionCache, new FindOperation<String, CoarseSessionCacheEntry<L>>(id)); if (entry == null) return null; MarshalledValue<Map<String, Object>, MarshallingContext> value = this.invo...
public FineSessionCacheEntry<L> findValue(String id) { return this.invoker.invoke(this.sessionCache, new LockingFindOperation<String, FineSessionCacheEntry<L>>(id)); }
public FineSessionCacheEntry<L> findValue(String id) { return this.invoker.invoke(this.sessionCache, new FindOperation<String, FineSessionCacheEntry<L>>(id)); }
public static String execute(File cliConfigFile, String operation, String controller, boolean logFailure) { String cliOutput; String jbossDist = System.getProperty("jboss.dist"); if (jbossDist == null) { fail("jboss.dist system property is not set"); } final Stri...
public static String execute(File cliConfigFile, String operation, String controller, boolean logFailure) { String cliOutput; String jbossDist = System.getProperty("jboss.dist"); if (jbossDist == null) { fail("jboss.dist system property is not set"); } final Stri...
public Void invoke(Cache<SessionAttributeCacheKey, MarshalledValue<Object, MarshallingContext>> cache) { for (String attribute: entry.getAttributes()) { cache.remove(new SessionAttributeCacheKey(id, attribute)); } return null; }...
public Void invoke(Cache<SessionAttributeCacheKey, MarshalledValue<Object, MarshallingContext>> cache) { for (String attribute: entry.getAttributes()) { cache.remove(new SessionAttributeCacheKey(id, attribute)); } return null; }...
package org.jboss.as.domain.client.api.deployment; /* * 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 softwa...
package org.jboss.as.domain.client.api.deployment; /* * 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 softwa...
package org.jboss.as.domain.client.api.deployment; /* * 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 softwa...
package org.jboss.as.domain.client.api.deployment; /* * 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 softwa...
package org.jboss.as.domain.client.api.deployment; /* * 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 softwa...
package org.jboss.as.domain.client.api.deployment; /* * 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 softwa...
package org.jboss.as.domain.client.api.deployment; /* * 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 softwa...
package org.jboss.as.domain.client.api.deployment; /* * 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 softwa...
package org.jboss.as.domain.client.api.deployment; /* * 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 softwa...
package org.jboss.as.domain.client.api.deployment; /* * 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 softwa...
package org.jboss.as.domain.client.api.deployment; /* * 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 softwa...
package org.jboss.as.domain.client.api.deployment; /* * 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 softwa...
package org.jboss.as.domain.client.api.deployment; /* * 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 softwa...
package org.jboss.as.domain.client.api.deployment; /* * 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 softwa...
package org.jboss.as.domain.client.api.deployment; /* * 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 softwa...
package org.jboss.as.domain.client.api.deployment; /* * 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 softwa...
package org.jboss.as.domain.client.impl.deployment; /* * 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 softw...
package org.jboss.as.domain.client.impl.deployment; /* * 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 softw...
public boolean isExpired() { if (this.timeout == null) return false; Date lastAccessedTime = this.entry.getLastAccessedTime(); long timeout = this.timeout.convert(TimeUnit.MILLISECONDS); return (lastAccessedTime != null) && (timeout > 0) ? ((System.currentTimeMillis() - lastAccessedT...
public boolean isExpired() { if (this.timeout == null) return false; Date lastAccessedTime = this.entry.getLastAccessedTime(); long timeout = this.timeout.convert(TimeUnit.MILLISECONDS); return (lastAccessedTime != null) && (timeout > 0) ? ((System.currentTimeMillis() - lastAccessedT...
public boolean isExpired() { long maxInactiveInterval = this.getMaxInactiveInterval(TimeUnit.MILLISECONDS); return (maxInactiveInterval > 0) ? (System.currentTimeMillis() - this.lastAccessedTime.getTime()) >= maxInactiveInterval : false; }
public boolean isExpired() { long maxInactiveInterval = this.getMaxInactiveInterval(TimeUnit.MILLISECONDS); return (maxInactiveInterval > 0) ? (System.currentTimeMillis() - this.lastAccessedTime.getTime()) > maxInactiveInterval : false; }
public void writeContent(XMLExtendedStreamWriter writer, SubsystemMarshallingContext context) throws XMLStreamException { context.startSubsystemElement(InfinispanSchema.CURRENT.getNamespaceUri(), false); ModelNode model = context.getModelNode(); if (model.isDefined()) { if (model...
public void writeContent(XMLExtendedStreamWriter writer, SubsystemMarshallingContext context) throws XMLStreamException { context.startSubsystemElement(Namespace.CURRENT.getUri(), false); ModelNode model = context.getModelNode(); if (model.isDefined()) { if (model.hasDefined(Cach...
public void writeContent(XMLExtendedStreamWriter writer, SubsystemMarshallingContext context) throws XMLStreamException { context.startSubsystemElement(JGroupsSchema.CURRENT.getNamespaceUri(), false); ModelNode model = context.getModelNode(); if (model.isDefined()) { JGroupsSubs...
public void writeContent(XMLExtendedStreamWriter writer, SubsystemMarshallingContext context) throws XMLStreamException { context.startSubsystemElement(Namespace.CURRENT.getUri(), false); ModelNode model = context.getModelNode(); if (model.isDefined()) { JGroupsSubsystemResource...
public void writeContent(XMLExtendedStreamWriter writer, SubsystemMarshallingContext context) throws XMLStreamException { context.startSubsystemElement(Namespace.EE_3_0.getUriString(), false); ModelNode eeSubSystem = context.getModelNode(); GlobalModulesDefinition.INSTANCE.marshallAsElement...
public void writeContent(XMLExtendedStreamWriter writer, SubsystemMarshallingContext context) throws XMLStreamException { context.startSubsystemElement(Namespace.EE_2_0.getUriString(), false); ModelNode eeSubSystem = context.getModelNode(); GlobalModulesDefinition.INSTANCE.marshallAsElement...
protected boolean isPersistent() { return true; }
protected boolean isPersistent() { return false; }
public void start(StartContext context) throws StartException { GlobalConfigurationBuilder builder = new GlobalConfigurationBuilder(); ModuleLoader moduleLoader = this.dependencies.getModuleLoader(); builder.serialization().classResolver(ModularClassResolver.getInstance(moduleLoader)); ...
public void start(StartContext context) throws StartException { GlobalConfigurationBuilder builder = new GlobalConfigurationBuilder(); ModuleLoader moduleLoader = this.dependencies.getModuleLoader(); builder.serialization().classResolver(ModularClassResolver.getInstance(moduleLoader)); ...
InfinispanNodeFactory getNodeFactory(); /* * 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...
InfinispanNodeFactory getNodeFactory(); /* * 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...
public interface CacheServiceNameFactory extends GroupServiceNameFactory { /* * JBoss, Home of Professional Open Source. * Copyright 2014, 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. ...
public interface CacheServiceNameFactory extends GroupServiceNameFactory { /* * JBoss, Home of Professional Open Source. * Copyright 2014, 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. ...
public void establishTopology(String containerName, String cacheName, String... nodes) throws InterruptedException { Set<String> expectedMembers = new TreeSet<>(); if (nodes != null) { for (String name: nodes) { expectedMembers.add(name + "/" + containerName); ...
public void establishTopology(String containerName, String cacheName, String... nodes) throws InterruptedException { Set<String> expectedMembers = new TreeSet<>(); if (nodes != null) { for (String name: nodes) { expectedMembers.add(name + "/ee"); } } ...
public void test() throws Exception { String cluster = "server"; String nodeNameFormat = "%s/%s"; String nodeName1 = String.format(nodeNameFormat, NODE_1, cluster); String nodeName2 = String.format(nodeNameFormat, NODE_2, cluster); ContextSelector<EJBClientContext> selector ...
public void test() throws Exception { String cluster = "ee"; String nodeNameFormat = "%s/%s"; String nodeName1 = String.format(nodeNameFormat, NODE_1, cluster); String nodeName2 = String.format(nodeNameFormat, NODE_2, cluster); ContextSelector<EJBClientContext> selector = EJ...
public void test() throws Exception { String cluster = "server"; String nodeNameFormat = "%s/%s"; String nodeName1 = String.format(nodeNameFormat, NODE_1, cluster); String nodeName2 = String.format(nodeNameFormat, NODE_2, cluster); ContextSelector<EJBClientContext> selector...
public void test() throws Exception { String cluster = "ee"; String nodeNameFormat = "%s/%s"; String nodeName1 = String.format(nodeNameFormat, NODE_1, cluster); String nodeName2 = String.format(nodeNameFormat, NODE_2, cluster); ContextSelector<EJBClientContext> selector = E...
private static void install(ServiceName name, int quorum, ServiceActivatorContext context) { InjectedValue<ServerEnvironment> env = new InjectedValue<>(); MyService service = new MyService(env); ServiceController<?> factoryService = context.getServiceRegistry().getRequiredService(SingletonSe...
private static void install(ServiceName name, int quorum, ServiceActivatorContext context) { InjectedValue<ServerEnvironment> env = new InjectedValue<>(); MyService service = new MyService(env); ServiceController<?> factoryService = context.getServiceRegistry().getRequiredService(SingletonSe...
public static ServiceBuilder<io.undertow.security.impl.SingleSignOnManager> build(ServiceTarget target, ServiceName name, ServiceName hostName) { ServiceName factoryName = name.append("factory"); DistributableSingleSignOnManagerFactoryBuilder builder = new DistributableSingleSignOnManagerFactoryBuil...
public static ServiceBuilder<io.undertow.security.impl.SingleSignOnManager> build(ServiceTarget target, ServiceName name, ServiceName hostName) { ServiceName factoryName = name.append("factory"); DistributableSingleSignOnManagerFactoryBuilder builder = new DistributableSingleSignOnManagerFactoryBuil...
@Target({ElementType.METHOD, ElementType.TYPE}) /* * Copyright 2002-2012 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...
@Target({ElementType.METHOD, ElementType.TYPE}) /* * Copyright 2002-2012 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...
public void unregisterInstalledDriver(InstalledDriver driver) { if (driver == null) throw new IllegalArgumentException(MESSAGES.nullVar("driver")); DEPLOYMENT_CONNECTOR_REGISTRY_LOGGER.tracef("Removing deployment: %s", driver); synchronized (drivers) { drivers.put(d...
public void unregisterInstalledDriver(InstalledDriver driver) { if (driver == null) throw new IllegalArgumentException(MESSAGES.nullVar("driver")); DEPLOYMENT_CONNECTOR_REGISTRY_LOGGER.tracef("Removing deployment: %s", driver); synchronized (drivers) { drivers.remov...
public void handleClose(final Channel closed, final IOException exception) { // Cancel all active operations channelHandler.handleChannelClosed(closed, exception); synchronized (this) { if(channel == closed) { ...
public void handleClose(final Channel closed, final IOException exception) { // Cancel all active operations channelHandler.handleChannelClosed(closed, exception); synchronized (this) { if(channel == closed) { ...
public void postRegister(Boolean registrationDone) { if (!registrationDone.booleanValue()) { if (log.isDebugEnabled()) { log.debug("Registration is not done -> stop"); } stop(); } else { state = REGISTERED; if (createIgnored...
public void postRegister(Boolean registrationDone) { if (!registrationDone.booleanValue()) { if (log.isDebugEnabled()) { log.debug("Registration is not done -> stop"); } stop(); } else { state = REGISTERED; if (createIgnored...
public void readElement(XMLExtendedStreamReader reader, PatchXml.Result<PatchMetadataResolver> factory) throws XMLStreamException { final PatchBuilder builder = new PatchBuilder(); doReadElement(reader, builder); factory.setResult(builder); }
public void readElement(XMLExtendedStreamReader reader, PatchXml.Result<PatchMetadataResolver> factory) throws XMLStreamException { final PatchBuilder builder = new PatchBuilder(); doReadElement(reader, builder, factory.getOriginalIdentity()); factory.setResult(builder); }
public boolean process(PatchingArtifacts.PatchID parent, PatchingArtifactProcessor processor) { final InstalledIdentity identity = processor.getInstalledIdentity(); final File history = identity.getInstalledImage().getPatchHistoryDir(parent.getPatchID()); final PatchingFileArtifact.Directory...
public boolean process(PatchingArtifacts.PatchID parent, PatchingArtifactProcessor processor) { final InstalledIdentity identity = processor.getValidationContext().getOriginalIdentity(); final File history = identity.getInstalledImage().getPatchHistoryDir(parent.getPatchID()); final Patching...
public boolean isInAlphabet(byte octet) { return (octet >= 0 && octet < decodeTable.length && decodeTable[octet] != -1); }
public boolean isInAlphabet(byte octet) { return octet >= 0 && octet < decodeTable.length && decodeTable[octet] != -1; }
protected boolean isInAlphabet(byte octet) { return (octet >= 0 && octet < decodeTable.length && decodeTable[octet] != -1); }
protected boolean isInAlphabet(byte octet) { return octet >= 0 && octet < decodeTable.length && decodeTable[octet] != -1; }
public synchronized void writeModel(ModelNode newModel) { if (parent == null) { throw ManagedDMRContentMessages.MESSAGES.nullParent(); } ModelNode content = newModel.get(ModelDescriptionConstants.CONTENT); try { byte[] hash = parent.storeManagedContent(pathE...
public synchronized void writeModel(ModelNode newModel) { if (parent == null) { throw ManagedDMRContentLogger.ROOT_LOGGER.nullParent(); } ModelNode content = newModel.get(ModelDescriptionConstants.CONTENT); try { byte[] hash = parent.storeManagedContent(path...
public void start(StartContext context) throws StartException { this.notifier = this.notifierRef.getValue(); this.notifier.registerGroupMembershipListener(this); @SuppressWarnings("unchecked") Cache<String, Map<ClusterNode, Void>> cache = this.cacheRef.getValue(); this.cache ...
public void start(StartContext context) throws StartException { this.notifier = this.notifierRef.getValue(); this.notifier.registerGroupMembershipListener(this); @SuppressWarnings("unchecked") Cache<String, Map<ClusterNode, Void>> cache = this.cacheRef.getValue(); this.cache ...
public <T extends OutgoingDistributableSessionData> org.jboss.as.clustering.web.DistributedCacheManager<T> getDistributedCacheManager(LocalDistributableSessionManager manager) throws ClusteringNotSupportedException { this.registryEntryProvider.setManager(manager); EmbeddedCacheManager container = th...
public <T extends OutgoingDistributableSessionData> org.jboss.as.clustering.web.DistributedCacheManager<T> getDistributedCacheManager(LocalDistributableSessionManager manager) throws ClusteringNotSupportedException { this.registryEntryProvider.setManager(manager); EmbeddedCacheManager container = th...
public void start() throws Exception { @SuppressWarnings("rawtypes") AdvancedCache cache = this.cacheRef.getValue().getAdvancedCache().with(this.getClass().getClassLoader()); this.cache = cache; this.credentialCache = cache; this.sessionCache = new AtomicMapCache<SessionKey, ...
public void start() throws Exception { @SuppressWarnings("rawtypes") AdvancedCache cache = this.cacheRef.getValue().getAdvancedCache(); this.cache = cache; this.credentialCache = cache; this.sessionCache = new AtomicMapCache<SessionKey, FullyQualifiedSessionId, Void>(cache); ...
public void transition(final ServiceController<? extends Object> controller, final ServiceController.Transition transition) { switch (transition) { case STARTING_to_UP: { CommonDeployment deploymentMD = ((AbstractDataSourceService) controller.getServi...
public void transition(final ServiceController<? extends Object> controller, final ServiceController.Transition transition) { switch (transition) { case STARTING_to_UP: { CommonDeployment deploymentMD = ((AbstractDataSourceService) controller.getServi...
public boolean isAllowsOverride() { return !isRemote() && parent != null && !PathElement.WILDCARD_VALUE.equals(valueString); }
public boolean isAllowsOverride() { return !isRemote() && parent != null && PathElement.WILDCARD_VALUE.equals(valueString); }
package test.beans; /* * Copyright 2002-2005 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/licenses/LICENSE-2.0 * ...
package test.beans; /* * Copyright 2002-2005 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/licenses/LICENSE-2.0 * ...
package test.beans; /* * Copyright 2002-2007 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/licenses/LICENSE-2.0 * * ...
package test.beans; /* * Copyright 2002-2007 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/licenses/LICENSE-2.0 * * ...
private static void addCommonClusteredCacheRequestProperties(String keyPrefix, ModelNode operation, ResourceBundle resources) { ModelNode requestProperties = operation.get(ModelDescriptionConstants.REQUEST_PROPERTIES); addNode(requestProperties, ModelKeys.MODE, resources.getString(keyPrefix+".mode"...
private static void addCommonClusteredCacheRequestProperties(String keyPrefix, ModelNode operation, ResourceBundle resources) { ModelNode requestProperties = operation.get(ModelDescriptionConstants.REQUEST_PROPERTIES); addNode(requestProperties, ModelKeys.MODE, resources.getString(keyPrefix+".mode"...
private ServiceName getCacheConfigServiceName(String container, String cache) { return ServiceName.JBOSS.append("infinispan", container, "config", cache); }
private ServiceName getCacheConfigServiceName(String container, String cache) { return ServiceName.JBOSS.append("infinispan", container, cache, "config"); }
public static final AttributeDefinition[] ATTRIBUTES_WITH_EXPRESSION_AFTER_1_1_0 = { QUEUE_NAME, USE_DUPLICATE_DETECTION, RECONNECT_ATTEMPTS, FORWARDING_ADDRESS, CommonAttributes.FILTER, CommonAttributes.TRANSFORMER_CLASS_NAME, HA, CommonAttributes.MIN_LARGE_MESSAGE_SIZE, CommonA...
public static final AttributeDefinition[] ATTRIBUTES_WITH_EXPRESSION_AFTER_1_1_0 = { QUEUE_NAME, USE_DUPLICATE_DETECTION, RECONNECT_ATTEMPTS, FORWARDING_ADDRESS, CommonAttributes.FILTER, HA, CommonAttributes.MIN_LARGE_MESSAGE_SIZE, CommonAttributes.CHECK_PERIOD, CommonAttributes....
public static final AttributeDefinition[] ATTRIBUTES_WITH_EXPRESSION_AFTER_1_1_0 = { ROUTING_NAME, ADDRESS, FORWARDING_ADDRESS, CommonAttributes.FILTER, CommonAttributes.TRANSFORMER_CLASS_NAME, EXCLUSIVE };
public static final AttributeDefinition[] ATTRIBUTES_WITH_EXPRESSION_AFTER_1_1_0 = { ROUTING_NAME, ADDRESS, FORWARDING_ADDRESS, CommonAttributes.FILTER, EXCLUSIVE };
public static final AttributeDefinition[] ATTRIBUTES_WITH_EXPRESSION_AFTER_1_1_0 = { ASYNC_CONNECTION_EXECUTION_ENABLED, PERSISTENCE_ENABLED, SECURITY_ENABLED, SECURITY_INVALIDATION_INTERVAL, WILD_CARD_ROUTING_ENABLED, MANAGEMENT_ADDRESS, MANAGEMENT_NOTIFICATION_ADDRESS, JMX_MANAGEMENT_ENABLED, JMX_DOMA...
public static final AttributeDefinition[] ATTRIBUTES_WITH_EXPRESSION_AFTER_1_1_0 = { ASYNC_CONNECTION_EXECUTION_ENABLED, PERSISTENCE_ENABLED, SECURITY_ENABLED, SECURITY_INVALIDATION_INTERVAL, WILD_CARD_ROUTING_ENABLED, MANAGEMENT_ADDRESS, MANAGEMENT_NOTIFICATION_ADDRESS, JMX_MANAGEMENT_ENABLED, JMX_DOMA...
public static final AttributeDefinition[] ATTRIBUTES_WITH_EXPRESSION_AFTER_1_1_0 = { ENTRIES, FACTORY_TYPE, HA, CALL_TIMEOUT, AUTO_GROUP, BLOCK_ON_ACKNOWLEDGE, BLOCK_ON_DURABLE_SEND, BLOCK_ON_NON_DURABLE_SEND, CACHE_LARGE_MESSAGE_CLIENT, CLIENT_FAILURE_CHECK_PERIOD, CLIENT_ID, CO...
public static final AttributeDefinition[] ATTRIBUTES_WITH_EXPRESSION_AFTER_1_1_0 = { ENTRIES, FACTORY_TYPE, HA, CALL_TIMEOUT, AUTO_GROUP, BLOCK_ON_ACKNOWLEDGE, BLOCK_ON_DURABLE_SEND, BLOCK_ON_NON_DURABLE_SEND, CACHE_LARGE_MESSAGE_CLIENT, CLIENT_FAILURE_CHECK_PERIOD, CLIENT_ID, CO...
public static final AttributeDefinition[] ATTRIBUTES_WITH_EXPRESSION_AFTER_1_1_0 = { ENTRIES, CALL_TIMEOUT, AUTO_GROUP, BLOCK_ON_ACKNOWLEDGE, BLOCK_ON_DURABLE_SEND, BLOCK_ON_NON_DURABLE_SEND, CACHE_LARGE_MESSAGE_CLIENT, CLIENT_FAILURE_CHECK_PERIOD, CLIENT_ID, CONFIRMATION_WINDOW_SIZE, CONNEC...
public static final AttributeDefinition[] ATTRIBUTES_WITH_EXPRESSION_AFTER_1_1_0 = { ENTRIES, CALL_TIMEOUT, AUTO_GROUP, BLOCK_ON_ACKNOWLEDGE, BLOCK_ON_DURABLE_SEND, BLOCK_ON_NON_DURABLE_SEND, CACHE_LARGE_MESSAGE_CLIENT, CLIENT_FAILURE_CHECK_PERIOD, CLIENT_ID, CONFIRMATION_WINDOW_SIZE, CONNEC...
private void parseDistributedCache(XMLExtendedStreamReader reader, ModelNode containerAddress, List<ModelNode> operations) throws XMLStreamException { // ModelNode for the cache add operation ModelNode cache = Util.getEmptyOperation(ModelDescriptionConstants.ADD, null); List<ModelNode> addi...
private void parseDistributedCache(XMLExtendedStreamReader reader, ModelNode containerAddress, List<ModelNode> operations) throws XMLStreamException { // ModelNode for the cache add operation ModelNode cache = Util.getEmptyOperation(ModelDescriptionConstants.ADD, null); List<ModelNode> addi...
public void writeContent(XMLExtendedStreamWriter writer, SubsystemMarshallingContext context) throws XMLStreamException { context.startSubsystemElement(Namespace.CURRENT.getUri(), false); ModelNode model = context.getModelNode(); if (model.isDefined()) { for (Property entry: mode...
public void writeContent(XMLExtendedStreamWriter writer, SubsystemMarshallingContext context) throws XMLStreamException { context.startSubsystemElement(Namespace.CURRENT.getUri(), false); ModelNode model = context.getModelNode(); if (model.isDefined()) { for (Property entry: mode...
public interface DistributedCacheManager<T extends OutgoingDistributableSessionData> extends SessionIdFactory { /* * 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 fo...
public interface DistributedCacheManager<T extends OutgoingDistributableSessionData> extends SessionIdFactory { /* * 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 fo...
public interface LocalDistributableSessionManager extends SessionIdFactory { /* * 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 cont...
public interface LocalDistributableSessionManager extends SessionIdFactory { /* * 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 cont...
public interface Cache<K extends Serializable, V extends Identifiable<K>> extends Removable<K>, AffinitySupport<K>, IdentifierFactory<K> { /* * JBoss, Home of Professional Open Source. * Copyright 2007, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt fil...
public interface Cache<K extends Serializable, V extends Identifiable<K>> extends Removable<K>, AffinitySupport<K>, IdentifierFactory<K> { /* * JBoss, Home of Professional Open Source. * Copyright 2007, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt fil...
Cache<K, T> createCache(String beanName, IdentifierFactory<K> identifierFactory, StatefulObjectFactory<T> factory, PassivationManager<K, T> passivationManager, StatefulTimeoutInfo timeout); /* * JBoss, Home of Professional Open Source. * Copyright 2007, Red Hat Middleware LLC, and individual contributors * as indic...
Cache<K, T> createCache(String beanName, IdentifierFactory<K> identifierFactory, StatefulObjectFactory<T> factory, PassivationManager<K, T> passivationManager, StatefulTimeoutInfo timeout); /* * JBoss, Home of Professional Open Source. * Copyright 2007, Red Hat Middleware LLC, and individual contributors * as indic...
public void testContinuedAfterOverlap() throws Exception { Assert.assertTrue("Schedule timeout method was not invoked within 3 seconds!", ScheduleRetryFailSingletonBean.startLatch().await(3, TimeUnit.SECONDS)); Assert.assertTrue("Schedule timer is not alive after overlapped invocation!",ScheduleRetr...
public void testContinuedAfterOverlap() throws Exception { Assert.assertTrue("Schedule timeout method was not invoked within 3 seconds!", ScheduleRetryFailSingletonBean.startLatch().await(3, TimeUnit.SECONDS)); Assert.assertTrue("Schedule timer is not alive after overlapped invocation!",ScheduleRetr...
protected void performRuntime(final OperationContext context, final ModelNode operation, final ModelNode model, final ServiceVerificationHandler verificationHandler, final List<ServiceController<?>> newControllers) throws OperationFailedException { final ServerConfig config = getServerConfig(context); ...
protected void performRuntime(final OperationContext context, final ModelNode operation, final ModelNode model, final ServiceVerificationHandler verificationHandler, final List<ServiceController<?>> newControllers) throws OperationFailedException { final ServerConfig config = getServerConfig(context); ...
protected void performRuntime(OperationContext context, ModelNode operation, ModelNode model) throws OperationFailedException { final ServerConfig config = getServerConfig(context); if (config != null) { final PathAddress address = PathAddress.pathAddress(operation.require(OP_ADDR)); ...
protected void performRuntime(OperationContext context, ModelNode operation, ModelNode model) throws OperationFailedException { final ServerConfig config = getServerConfig(context); if (config != null) { final PathAddress address = PathAddress.pathAddress(operation.require(OP_ADDR)); ...
protected void performRuntime(final OperationContext context, final ModelNode operation, final ModelNode model, final ServiceVerificationHandler verificationHandler, final List<ServiceController<?>> newControllers) throws OperationFailedException { final ServerConfig config = getServerConfig(context); ...
protected void performRuntime(final OperationContext context, final ModelNode operation, final ModelNode model, final ServiceVerificationHandler verificationHandler, final List<ServiceController<?>> newControllers) throws OperationFailedException { final ServerConfig config = getServerConfig(context); ...
protected void performRuntime(OperationContext context, ModelNode operation, ModelNode model) throws OperationFailedException { final ServerConfig config = getServerConfig(context); if (config != null) { final PathAddress address = PathAddress.pathAddress(operation.require(OP_ADDR)); ...
protected void performRuntime(OperationContext context, ModelNode operation, ModelNode model) throws OperationFailedException { final ServerConfig config = getServerConfig(context); if (config != null) { final PathAddress address = PathAddress.pathAddress(operation.require(OP_ADDR)); ...
protected void performRuntime(final OperationContext context, final ModelNode operation, final ModelNode model, final ServiceVerificationHandler verificationHandler, final List<ServiceController<?>> newControllers) throws OperationFailedException { final ServerConfig config = getServerConfig(context); ...
protected void performRuntime(final OperationContext context, final ModelNode operation, final ModelNode model, final ServiceVerificationHandler verificationHandler, final List<ServiceController<?>> newControllers) throws OperationFailedException { final ServerConfig config = getServerConfig(context); ...
protected void performRuntime(final OperationContext context, final ModelNode operation, final ModelNode model, final ServiceVerificationHandler verificationHandler, final List<ServiceController<?>> newControllers) throws OperationFailedException { final ServerConfig config = getServerConfig(context); ...
protected void performRuntime(final OperationContext context, final ModelNode operation, final ModelNode model, final ServiceVerificationHandler verificationHandler, final List<ServiceController<?>> newControllers) throws OperationFailedException { final ServerConfig config = getServerConfig(context); ...
protected void performRuntime(final OperationContext context, final ModelNode operation, final ModelNode model) throws OperationFailedException { final ServerConfig config = getServerConfig(context); if (config != null) { final PathAddress address = PathAddress.pathAddress(operation.requ...
protected void performRuntime(final OperationContext context, final ModelNode operation, final ModelNode model) throws OperationFailedException { final ServerConfig config = getServerConfig(context); if (config != null) { final PathAddress address = PathAddress.pathAddress(operation.requ...
protected void performRuntime(final OperationContext context, final ModelNode operation, final ModelNode model) throws OperationFailedException { final ServerConfig config = getServerConfig(context); if (config != null) { final PathAddress address = PathAddress.pathAddress(operation.requ...
protected void performRuntime(final OperationContext context, final ModelNode operation, final ModelNode model) throws OperationFailedException { final ServerConfig config = getServerConfig(context); if (config != null) { final PathAddress address = PathAddress.pathAddress(operation.requ...
protected void performRuntime(final OperationContext context, final ModelNode operation, final ModelNode model, final ServiceVerificationHandler verificationHandler, final List<ServiceController<?>> newControllers) throws OperationFailedException { final ServerConfig config = getServerConfig(context); ...
protected void performRuntime(final OperationContext context, final ModelNode operation, final ModelNode model, final ServiceVerificationHandler verificationHandler, final List<ServiceController<?>> newControllers) throws OperationFailedException { final ServerConfig config = getServerConfig(context); ...
protected void performRuntime(final OperationContext context, final ModelNode operation, final ModelNode model) throws OperationFailedException { final ServerConfig config = getServerConfig(context); if (config != null) { final PathAddress address = PathAddress.pathAddress(operation.requ...
protected void performRuntime(final OperationContext context, final ModelNode operation, final ModelNode model) throws OperationFailedException { final ServerConfig config = getServerConfig(context); if (config != null) { final PathAddress address = PathAddress.pathAddress(operation.requ...