org.jboss.messaging.core.config.impl
Class FileConfiguration

java.lang.Object
  extended by org.jboss.messaging.core.config.impl.ConfigurationImpl
      extended by org.jboss.messaging.core.config.impl.FileConfiguration
All Implemented Interfaces:
java.io.Serializable, Configuration, MessagingComponent

public class FileConfiguration
extends ConfigurationImpl

ConfigurationImpl This class allows the Configuration class to be configured via a config file.

Author:
Andy Taylor, Tim Fox
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.messaging.core.config.impl.ConfigurationImpl
acceptorConfigs, backup, backupConnectorName, bindingsDirectory, bridgeConfigurations, broadcastGroupConfigurations, clusterConfigurations, clustered, connectionTTLOverride, connectorConfigs, createBindingsDir, createJournalDir, DEFAULT_BACKUP, DEFAULT_BINDINGS_DIRECTORY, DEFAULT_BRIDGE_DUPLICATE_DETECTION, DEFAULT_BRIDGE_RECONNECT_ATTEMPTS, DEFAULT_BROADCAST_PERIOD, DEFAULT_BROADCAST_REFRESH_TIMEOUT, DEFAULT_CLUSTER_DUPLICATE_DETECTION, DEFAULT_CLUSTER_FORWARD_WHEN_NO_CONSUMERS, DEFAULT_CLUSTER_MAX_HOPS, DEFAULT_CLUSTER_RETRY_INTERVAL, DEFAULT_CLUSTERED, DEFAULT_CONNECTION_TTL_OVERRIDE, DEFAULT_CREATE_BINDINGS_DIR, DEFAULT_CREATE_JOURNAL_DIR, DEFAULT_DIVERT_EXCLUSIVE, DEFAULT_FILE_DEPLOYER_SCAN_PERIOD, DEFAULT_FILE_DEPLOYMENT_ENABLED, DEFAULT_GLOBAL_PAGE_SIZE, DEFAULT_ID_CACHE_SIZE, DEFAULT_JMX_MANAGEMENT_ENABLED, DEFAULT_JOURNAL_AIO_BUFFER_SIZE, DEFAULT_JOURNAL_AIO_BUFFER_TIMEOUT, DEFAULT_JOURNAL_AIO_FLUSH_SYNC, DEFAULT_JOURNAL_DIR, DEFAULT_JOURNAL_FILE_SIZE, DEFAULT_JOURNAL_LOG_WRITE_RATE, DEFAULT_JOURNAL_MAX_AIO, DEFAULT_JOURNAL_MIN_FILES, DEFAULT_JOURNAL_PERF_BLAST_PAGES, DEFAULT_JOURNAL_SYNC_NON_TRANSACTIONAL, DEFAULT_JOURNAL_SYNC_TRANSACTIONAL, DEFAULT_JOURNAL_TYPE, DEFAULT_LARGE_MESSAGES_DIR, DEFAULT_MANAGEMENT_ADDRESS, DEFAULT_MANAGEMENT_CLUSTER_PASSWORD, DEFAULT_MANAGEMENT_CLUSTER_USER, DEFAULT_MANAGEMENT_NOTIFICATION_ADDRESS, DEFAULT_MANAGEMENT_REQUEST_TIMEOUT, DEFAULT_MESSAGE_COUNTER_ENABLED, DEFAULT_MESSAGE_COUNTER_MAX_DAY_HISTORY, DEFAULT_MESSAGE_COUNTER_SAMPLE_PERIOD, DEFAULT_MESSAGE_EXPIRY_SCAN_PERIOD, DEFAULT_MESSAGE_EXPIRY_THREAD_PRIORITY, DEFAULT_PAGE_MAX_GLOBAL_SIZE, DEFAULT_PAGING_DIR, DEFAULT_PERSIST_DELIVERY_COUNT_BEFORE_DELIVERY, DEFAULT_PERSIST_ID_CACHE, DEFAULT_PERSISTENCE_ENABLED, DEFAULT_QUEUE_ACTIVATION_TIMEOUT, DEFAULT_SCHEDULED_THREAD_POOL_MAX_SIZE, DEFAULT_SECURITY_ENABLED, DEFAULT_SECURITY_INVALIDATION_INTERVAL, DEFAULT_THREAD_POOL_MAX_SIZE, DEFAULT_TRANSACTION_TIMEOUT, DEFAULT_TRANSACTION_TIMEOUT_SCAN_PERIOD, DEFAULT_WILDCARD_ROUTING_ENABLED, discoveryGroupConfigurations, divertConfigurations, fileDeploymentEnabled, fileDeploymentScanPeriod, globalPageSize, idCacheSize, interceptorClassNames, jmxManagementEnabled, journalAIOBufferSize, journalAIOBufferTimeout, journalAIOFlushSync, journalDirectory, journalFileSize, journalMaxAIO, journalMinFiles, journalPerfBlastPages, journalSyncNonTransactional, journalSyncTransactional, journalType, largeMessagesDirectory, logJournalWriteRate, managementAddress, managementClusterPassword, managementClusterUser, managementNotificationAddress, managementRequestTimeout, messageCounterEnabled, messageCounterMaxDayHistory, messageCounterSamplePeriod, messageExpiryScanPeriod, messageExpiryThreadPriority, pagingDirectory, pagingMaxGlobalSize, persistDeliveryCountBeforeDelivery, persistenceEnabled, persistIDCache, queueActivationTimeout, queueConfigurations, scheduledThreadPoolMaxSize, securityEnabled, securityInvalidationInterval, threadPoolMaxSize, transactionTimeout, transactionTimeoutScanPeriod, wildcardRoutingEnabled
 
Constructor Summary
FileConfiguration()
           
 
Method Summary
 java.lang.String getConfigurationUrl()
           
 void setConfigurationUrl(java.lang.String configurationUrl)
           
 void start()
           
 void stop()
           
 
Methods inherited from class org.jboss.messaging.core.config.impl.ConfigurationImpl
equals, getAcceptorConfigurations, getAIOBufferSize, getAIOBufferTimeout, getBackupConnectorName, getBindingsDirectory, getBridgeConfigurations, getBroadcastGroupConfigurations, getClusterConfigurations, getConnectionTTLOverride, getConnectorConfigurations, getDiscoveryGroupConfigurations, getDivertConfigurations, getFileDeployerScanPeriod, getGlobalPagingSize, getIDCacheSize, getInterceptorClassNames, getJournalDirectory, getJournalFileSize, getJournalMaxAIO, getJournalMinFiles, getJournalPerfBlastPages, getJournalType, getLargeMessagesDirectory, getManagementAddress, getManagementClusterPassword, getManagementClusterUser, getManagementNotificationAddress, getManagementRequestTimeout, getMessageCounterMaxDayHistory, getMessageCounterSamplePeriod, getMessageExpiryScanPeriod, getMessageExpiryThreadPriority, getPagingDirectory, getPagingMaxGlobalSizeBytes, getQueueActivationTimeout, getQueueConfigurations, getScheduledThreadPoolMaxSize, getSecurityInvalidationInterval, getThreadPoolMaxSize, getTransactionTimeout, getTransactionTimeoutScanPeriod, isAIOFlushOnSync, isBackup, isClustered, isCreateBindingsDir, isCreateJournalDir, isFileDeploymentEnabled, isJMXManagementEnabled, isJournalSyncNonTransactional, isJournalSyncTransactional, isLogJournalWriteRate, isMessageCounterEnabled, isPersistDeliveryCountBeforeDelivery, isPersistenceEnabled, isPersistIDCache, isSecurityEnabled, isStarted, isWildcardRoutingEnabled, setAcceptorConfigurations, setAIOBufferSize, setAIOBufferTimeout, setAIOFlushOnSync, setBackup, setBackupConnectorName, setBindingsDirectory, setBridgeConfigurations, setBroadcastGroupConfigurations, setClusterConfigurations, setClustered, setConnectionTTLOverride, setConnectorConfigurations, setCreateBindingsDir, setCreateJournalDir, setDiscoveryGroupConfigurations, setDivertConfigurations, setFileDeployerScanPeriod, setFileDeploymentEnabled, setGlobalPagingSize, setIDCacheSize, setInterceptorClassNames, setJMXManagementEnabled, setJournalDirectory, setJournalFileSize, setJournalMaxAIO, setJournalMinFiles, setJournalPerfBlastPages, setJournalSyncNonTransactional, setJournalSyncTransactional, setJournalType, setLargeMessagesDirectory, setLogJournalWriteRate, setManagementAddress, setManagementClusterPassword, setManagementNotificationAddress, setManagementRequestTimeout, setMessageExpiryScanPeriod, setMessageExpiryThreadPriority, setPagingDirectory, setPagingMaxGlobalSizeBytes, setPersistDeliveryCountBeforeDelivery, setPersistenceEnabled, setPersistIDCache, setQueueActivationTimeout, setQueueConfigurations, setScheduledThreadPoolMaxSize, setSecurityEnabled, setSecurityInvalidationInterval, setThreadPoolMaxSize, setTransactionTimeout, setTransactionTimeoutScanPeriod, setWildcardRoutingEnabled
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileConfiguration

public FileConfiguration()
Method Detail

start

public void start()
           throws java.lang.Exception
Specified by:
start in interface MessagingComponent
Overrides:
start in class ConfigurationImpl
Throws:
java.lang.Exception

stop

public void stop()
          throws java.lang.Exception
Specified by:
stop in interface MessagingComponent
Overrides:
stop in class ConfigurationImpl
Throws:
java.lang.Exception

getConfigurationUrl

public java.lang.String getConfigurationUrl()

setConfigurationUrl

public void setConfigurationUrl(java.lang.String configurationUrl)


Copyright © 2006 JBoss Inc. All Rights Reserved.