use of org.jboss.as.controller.PersistentResourceDefinition in project wildfly by wildfly.
the class ServerDefinition method getChildren.
@Override
protected List<? extends PersistentResourceDefinition> getChildren() {
List<PersistentResourceDefinition> children = new ArrayList();
// Static resources
children.addAll(Arrays.asList(// HA policy
LiveOnlyDefinition.INSTANCE, ReplicationMasterDefinition.INSTANCE, ReplicationSlaveDefinition.INSTANCE, ReplicationColocatedDefinition.INSTANCE, SharedStoreMasterDefinition.INSTANCE, SharedStoreSlaveDefinition.INSTANCE, SharedStoreColocatedDefinition.INSTANCE, AddressSettingDefinition.INSTANCE, SecuritySettingDefinition.INSTANCE, // Connectors
HTTPConnectorDefinition.INSTANCE, RemoteTransportDefinition.CONNECTOR_INSTANCE, InVMTransportDefinition.CONNECTOR_INSTANCE, GenericTransportDefinition.CONNECTOR_INSTANCE, // Acceptors
HTTPAcceptorDefinition.INSTANCE, RemoteTransportDefinition.ACCEPTOR_INSTANCE, InVMTransportDefinition.ACCEPTOR_INSTANCE, GenericTransportDefinition.ACCEPTOR_INSTANCE, BroadcastGroupDefinition.INSTANCE, DiscoveryGroupDefinition.INSTANCE, BridgeDefinition.INSTANCE, ClusterConnectionDefinition.INSTANCE, DivertDefinition.INSTANCE, ConnectorServiceDefinition.INSTANCE, GroupingHandlerDefinition.INSTANCE, // JMS resources
LegacyConnectionFactoryDefinition.INSTANCE, PooledConnectionFactoryDefinition.INSTANCE));
// Dynamic resources (depending on registerRuntimeOnly)
children.add(new QueueDefinition(registerRuntimeOnly, MessagingExtension.QUEUE_PATH));
children.add(new JMSQueueDefinition(false, registerRuntimeOnly));
children.add(new JMSTopicDefinition(false, registerRuntimeOnly));
children.add(new ConnectionFactoryDefinition(registerRuntimeOnly));
return children;
}
Aggregations