当前位置: 首页>>代码示例>>Java>>正文


Java ReloadRequiredRemoveStepHandler类代码示例

本文整理汇总了Java中org.jboss.as.controller.ReloadRequiredRemoveStepHandler的典型用法代码示例。如果您正苦于以下问题:Java ReloadRequiredRemoveStepHandler类的具体用法?Java ReloadRequiredRemoveStepHandler怎么用?Java ReloadRequiredRemoveStepHandler使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


ReloadRequiredRemoveStepHandler类属于org.jboss.as.controller包,在下文中一共展示了ReloadRequiredRemoveStepHandler类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: RequestControllerRootDefinition

import org.jboss.as.controller.ReloadRequiredRemoveStepHandler; //导入依赖的package包/类
RequestControllerRootDefinition(boolean registerRuntimeOnly) {
    super(RequestControllerExtension.SUBSYSTEM_PATH,
            RequestControllerExtension.getResolver(),
            new RequestControllerSubsystemAdd(getAttributeDefinitions(registerRuntimeOnly)),
            ReloadRequiredRemoveStepHandler.INSTANCE);
    this.registerRuntimeOnly = registerRuntimeOnly;
}
 
开发者ID:wildfly,项目名称:wildfly-core,代码行数:8,代码来源:RequestControllerRootDefinition.java

示例2: ChildResourceDefinition

import org.jboss.as.controller.ReloadRequiredRemoveStepHandler; //导入依赖的package包/类
ChildResourceDefinition() {
    super(new Parameters(PathElement.pathElement("child"), new NonResolvingResourceDescriptionResolver())
            .setAddHandler(new AddChildHandler())
            .setRemoveHandler(ReloadRequiredRemoveStepHandler.INSTANCE)
            .setIncorporatingCapabilities(Collections.singleton(RootResourceDefinition.CAPABILITY))
    );
}
 
开发者ID:wildfly,项目名称:wildfly-core,代码行数:8,代码来源:ChildResourceDefinition.java

示例3: RootResourceDefinition

import org.jboss.as.controller.ReloadRequiredRemoveStepHandler; //导入依赖的package包/类
RootResourceDefinition() {
    super(new Parameters(PathElement.pathElement(SUBSYSTEM, TestExtension.SUBSYSTEM_NAME), new NonResolvingResourceDescriptionResolver())
            .setAddHandler(new AddSubsystemHandler())
            .setRemoveHandler(ReloadRequiredRemoveStepHandler.INSTANCE)
            .setCapabilities(CAPABILITY)
    );
}
 
开发者ID:wildfly,项目名称:wildfly-core,代码行数:8,代码来源:RootResourceDefinition.java

示例4: SensitiveResource

import org.jboss.as.controller.ReloadRequiredRemoveStepHandler; //导入依赖的package包/类
public SensitiveResource(PathElement pathElement) {
    super(new  Parameters(pathElement, new NonResolvingResourceDescriptionResolver())
            .setAddHandler(new AbstractAddStepHandler())
            .setRemoveHandler(ReloadRequiredRemoveStepHandler.INSTANCE)
            .setAccessConstraints(SensitiveTargetAccessConstraintDefinition.SECURITY_DOMAIN,
                    new ApplicationTypeAccessConstraintDefinition(new ApplicationTypeConfig("security", "security-domain"))));
}
 
开发者ID:wildfly,项目名称:wildfly-core,代码行数:8,代码来源:SensitiveResource.java

示例5: ModelControllerResourceDefinition

import org.jboss.as.controller.ReloadRequiredRemoveStepHandler; //导入依赖的package包/类
public ModelControllerResourceDefinition(boolean allowExpressions, boolean forStandalone) {
    super(PathElement.pathElement("subsystem", "test"), new NonResolvingResourceDescriptionResolver(),
            TestSubystemAdd.INSTANCE,
            ReloadRequiredRemoveStepHandler.INSTANCE
    );
    this.allowExpressions = allowExpressions;
    this.forStandalone = forStandalone;
    init();
}
 
开发者ID:wildfly,项目名称:wildfly-core,代码行数:10,代码来源:ModelControllerResourceDefinition.java

示例6: initialize

import org.jboss.as.controller.ReloadRequiredRemoveStepHandler; //导入依赖的package包/类
@Override
public void initialize(ExtensionContext context) {

    final SubsystemRegistration subsystem = context.registerSubsystem("test", ModelVersion.create(1));

    ResourceBuilder builder = ResourceBuilder.Factory.create(SUBSYSTEM_PATH, new NonResolvingResourceDescriptionResolver())
            .setAddOperation(TestSubystemAdd.INSTANCE)
            .pushChild(getChildElement())
            .setAddOperation(TestChildAdd.INSTANCE)
            .setRemoveOperation(ReloadRequiredRemoveStepHandler.INSTANCE)
            .addReadOnlyAttribute(ATTR)
            .pop();

    subsystem.registerSubsystemModel(builder.build());
}
 
开发者ID:wildfly,项目名称:wildfly-core,代码行数:16,代码来源:SubsystemWithChildrenExtension.java

示例7: AccessIdentityResourceDefinition

import org.jboss.as.controller.ReloadRequiredRemoveStepHandler; //导入依赖的package包/类
private AccessIdentityResourceDefinition(AbstractAddStepHandler add) {
    super(new Parameters(PATH_ELEMENT, DomainManagementResolver.getResolver("core.identity"))
            .setAddHandler(add)
            .setRemoveHandler(new ReloadRequiredRemoveStepHandler(MANAGEMENT_IDENTITY_RUNTIME_CAPABILITY))
            .setAddRestartLevel(OperationEntry.Flag.RESTART_NONE)
            .setRemoveRestartLevel(OperationEntry.Flag.RESTART_RESOURCE_SERVICES)
            .setAccessConstraints(SensitiveTargetAccessConstraintDefinition.ACCESS_CONTROL));
}
 
开发者ID:wildfly,项目名称:wildfly-core,代码行数:9,代码来源:AccessIdentityResourceDefinition.java

示例8: LoggingResourceDefinition

import org.jboss.as.controller.ReloadRequiredRemoveStepHandler; //导入依赖的package包/类
protected LoggingResourceDefinition(final PathManager pathManager, final WildFlyLogContextSelector contextSelector) {
    super(SUBSYSTEM_PATH,
            LoggingExtension.getResourceDescriptionResolver(),
            new LoggingSubsystemAdd(pathManager, contextSelector),
            ReloadRequiredRemoveStepHandler.INSTANCE);
    this.pathManager = pathManager;
}
 
开发者ID:wildfly,项目名称:wildfly-core,代码行数:8,代码来源:LoggingResourceDefinition.java

示例9: RemotingSubsystemRootResource

import org.jboss.as.controller.ReloadRequiredRemoveStepHandler; //导入依赖的package包/类
private RemotingSubsystemRootResource(Attributes attributes) {
    super(new Parameters(PATH, RemotingExtension.getResourceDescriptionResolver(RemotingExtension.SUBSYSTEM_NAME))
            .setAddHandler(new RemotingSubsystemAdd(attributes))
            .setAddRestartLevel(OperationEntry.Flag.RESTART_NONE)
            .setRemoveHandler(new ReloadRequiredRemoveStepHandler())
            .setRemoveRestartLevel(OperationEntry.Flag.RESTART_ALL_SERVICES)
            .setCapabilities(REMOTING_ENDPOINT_CAPABILITY)
    );
    this.attributes = attributes;
}
 
开发者ID:wildfly,项目名称:wildfly-core,代码行数:11,代码来源:RemotingSubsystemRootResource.java

示例10: SocketBindingGroupResourceDefinition

import org.jboss.as.controller.ReloadRequiredRemoveStepHandler; //导入依赖的package包/类
private SocketBindingGroupResourceDefinition() {
    super(BindingGroupAddHandler.INSTANCE,
            new ReloadRequiredRemoveStepHandler() {
                @Override
                protected boolean requiresRuntime(OperationContext context) {
                    return true;
                }
            },
            DEFAULT_INTERFACE, SOCKET_BINDING_MANAGER_CAPABILITY);
}
 
开发者ID:wildfly,项目名称:wildfly-core,代码行数:11,代码来源:SocketBindingGroupResourceDefinition.java

示例11: ThreadSubsystemResourceDefinition

import org.jboss.as.controller.ReloadRequiredRemoveStepHandler; //导入依赖的package包/类
ThreadSubsystemResourceDefinition(boolean runtimeOnly) {
    //noinspection deprecation
    super(ThreadsExtension.SUBSYSTEM_PATH,
            new DeprecatedResourceDescriptionResolver(ThreadsExtension.SUBSYSTEM_NAME, ThreadsExtension.SUBSYSTEM_NAME, ThreadsExtension.RESOURCE_NAME,
                    ThreadsExtension.class.getClassLoader(), true, false), ThreadsSubsystemAdd.INSTANCE, ReloadRequiredRemoveStepHandler.INSTANCE,
            OperationEntry.Flag.RESTART_NONE, OperationEntry.Flag.RESTART_ALL_SERVICES);
    setDeprecated(ThreadsExtension.DEPRECATED_SINCE);
    this.registerRuntimeOnly = runtimeOnly;
}
 
开发者ID:wildfly,项目名称:wildfly-core,代码行数:10,代码来源:ThreadSubsystemResourceDefinition.java

示例12: initialize

import org.jboss.as.controller.ReloadRequiredRemoveStepHandler; //导入依赖的package包/类
@Override
public void initialize(ExtensionContext context) {
    final SubsystemRegistration subsystem = context.registerSubsystem(SUBSYSTEM_NAME, ModelVersion.create(1));
    final ManagementResourceRegistration registration = subsystem.registerSubsystemModel(new SimpleResourceDefinition(
            PathElement.pathElement(SUBSYSTEM, SUBSYSTEM_NAME),
            new NonResolvingResourceDescriptionResolver(),
            MainSubsystemAdd.INSTANCE,
            ReloadRequiredRemoveStepHandler.INSTANCE
    ));
    //We always need to add a 'describe' operation
    registration.registerOperationHandler(GenericSubsystemDescribeHandler.DEFINITION, GenericSubsystemDescribeHandler.INSTANCE);

    subsystem.registerXMLElementWriter(parser);
}
 
开发者ID:wildfly,项目名称:wildfly-core,代码行数:15,代码来源:MainSubsystemExtension.java

示例13: initialize

import org.jboss.as.controller.ReloadRequiredRemoveStepHandler; //导入依赖的package包/类
@Override
public void initialize(ExtensionContext context) {
    final SubsystemRegistration subsystem = context.registerSubsystem(SUBSYSTEM_NAME, ModelVersion.create(1));
    final ManagementResourceRegistration registration = subsystem.registerSubsystemModel(new SimpleResourceDefinition(
            PathElement.pathElement(SUBSYSTEM, SUBSYSTEM_NAME),
            new NonResolvingResourceDescriptionResolver(),
            DependencySubsystemAdd.INSTANCE,
            ReloadRequiredRemoveStepHandler.INSTANCE
    ));
    //We always need to add a 'describe' operation
    registration.registerOperationHandler(GenericSubsystemDescribeHandler.DEFINITION, GenericSubsystemDescribeHandler.INSTANCE);

    subsystem.registerXMLElementWriter(parser);
}
 
开发者ID:wildfly,项目名称:wildfly-core,代码行数:15,代码来源:DependencySubsystemExtension.java

示例14: initialize

import org.jboss.as.controller.ReloadRequiredRemoveStepHandler; //导入依赖的package包/类
@Override
public void initialize(ExtensionContext context) {
    final SubsystemRegistration subsystem = context.registerSubsystem(SUBSYSTEM_NAME, ModelVersion.create(1));
    final ManagementResourceRegistration registration = subsystem.registerSubsystemModel(new SimpleResourceDefinition(
            PathElement.pathElement(SUBSYSTEM, SUBSYSTEM_NAME),
            new NonResolvingResourceDescriptionResolver(),
            addHandler,
            ReloadRequiredRemoveStepHandler.INSTANCE
    ));
    //We always need to add a 'describe' operation
    registration.registerOperationHandler(GenericSubsystemDescribeHandler.DEFINITION, GenericSubsystemDescribeHandler.INSTANCE);

    subsystem.registerXMLElementWriter(parser);
}
 
开发者ID:wildfly,项目名称:wildfly-core,代码行数:15,代码来源:OtherServicesSubsystemExtension.java

示例15: WorkerResourceDefinition

import org.jboss.as.controller.ReloadRequiredRemoveStepHandler; //导入依赖的package包/类
private WorkerResourceDefinition() {
    super(IOExtension.WORKER_PATH,
            IOExtension.getResolver(Constants.WORKER),
            WorkerAdd.INSTANCE,
            new ReloadRequiredRemoveStepHandler()
    );
}
 
开发者ID:wildfly,项目名称:wildfly-core,代码行数:8,代码来源:WorkerResourceDefinition.java


注:本文中的org.jboss.as.controller.ReloadRequiredRemoveStepHandler类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。