Package org.jboss.as.connector.dynamicresource.descriptionproviders

Examples of org.jboss.as.connector.dynamicresource.descriptionproviders.StatisticsElementDescriptionProvider


                                deploymentResource.registerChild(pe, subsystemResource);

                                ManagementResourceRegistration statsRegistration = subRegistration.getSubModel(PathAddress.pathAddress(peStats));
                                if (statsRegistration == null) {
                                    statsRegistration = subRegistration.registerSubModel(peStats, new StatisticsElementDescriptionProvider(ResourceAdaptersSubsystemProviders.RESOURCE_NAME, "statistics"));
                                }
                                final Resource statisticsResource = new IronJacamarResource.IronJacamarRuntimeResource();

                                subsystemResource.registerChild(peStats, statisticsResource);
View Full Code Here


                                    subsystemResource = deploymentResource.getChild(pe);
                                }

                                ManagementResourceRegistration statsRegistration;
                                    try {
                                        statsRegistration = subRegistration.registerSubModel(new SimpleResourceDefinition(peStats, new StatisticsElementDescriptionProvider(CommonAttributes.RESOURCE_NAME, "statistics")));
                                    } catch (IllegalArgumentException iae) {
                                        statsRegistration = subRegistration.getSubModel(PathAddress.pathAddress(peStats));
                                    }
                                Resource statisticsResource;
View Full Code Here

                                    subsystemResource = deploymentResource.getChild(pe);
                                }

                                ManagementResourceRegistration statsRegistration;
                                    try {
                                        statsRegistration = subRegistration.registerSubModel(new SimpleResourceDefinition(peStats, new StatisticsElementDescriptionProvider(ResourceAdaptersSubsystemProviders.RESOURCE_NAME, "statistics")));
                                    } catch (IllegalArgumentException iae) {
                                        statsRegistration = subRegistration.getSubModel(PathAddress.pathAddress(peStats));
                                    }
                                Resource statisticsResource;
View Full Code Here

TOP

Related Classes of org.jboss.as.connector.dynamicresource.descriptionproviders.StatisticsElementDescriptionProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.