Package com.sun.enterprise.config.serverbeans

Examples of com.sun.enterprise.config.serverbeans.SipContainerAvailability


     * sip-container-availability element in domain.xml.
     *
     * @return The SIP persistence type, or null if not found
     */
    public PersistenceType getSipPersistenceTypeFromConfig() {
        SipContainerAvailability sca = getSipContainerAvailability();

        if (sca == null) {
            return null;
        }

        String persistenceTypeString = sca.getPersistenceType();

        PersistenceType persistenceType = null;

        if (persistenceTypeString != null) {
            persistenceType = PersistenceType.parseType(persistenceTypeString);
View Full Code Here


     * sip-container-availability element in domain.xml.
     *
     * @return The SIP persistence frequency, or null if not found
     */
    public String getSipPersistenceFrequencyFromConfig() {
        SipContainerAvailability sca = getSipContainerAvailability();

        if (sca == null) {
            return null;
        }

        return sca.getPersistenceFrequency();
    }
View Full Code Here

     * sip-container-availability element in domain.xml.
     *
     * @return The SIP persistence scope, or null if not found
     */
    public String getSipPersistenceScopeFromConfig() {
        SipContainerAvailability sca = getSipContainerAvailability();

        if (sca == null) {
            return null;
        }

        return sca.getPersistenceScope();
    }
View Full Code Here

     * sip-container-availability element in domain.xml if present,
     * otherwise the global availability-enabled
     */
    public boolean getSipContainerAvailabilityEnabledFromConfig() {
        boolean globalAvailabilityEnabled = getAvailabilityEnabledFromConfig();
        SipContainerAvailability sca = getSipContainerAvailability();

        if (sca == null) {
            return globalAvailabilityEnabled;
        }

        String value = sca.getAvailabilityEnabled();

        if (value == null) {
            return globalAvailabilityEnabled;
        } else {
            return ConfigBean.toBoolean(value);
View Full Code Here

     * sip-container-availability element in domain.xml if present,
     * otherwise the provided inherited value
     */
    public boolean getSipContainerAvailabilityEnabledFromConfig(
        boolean inheritedValue) {
        SipContainerAvailability sca = getSipContainerAvailability();

        if (sca == null) {
            return inheritedValue;
        }

        String value = sca.getAvailabilityEnabled();

        if (value == null) {
            return inheritedValue;
        } else {
            return ConfigBean.toBoolean(value);
View Full Code Here

     *
     * @return The sip-container-availability properties, or an array
     * containing a single empty ElementProperty if not found
     */
    private ElementProperty[] getSipContainerAvailabilityProperties() {
        SipContainerAvailability sca = getSipContainerAvailability();

        if (sca == null) {
            return new ElementProperty[0];
        }

        return sca.getElementProperty();
    }
View Full Code Here

TOP

Related Classes of com.sun.enterprise.config.serverbeans.SipContainerAvailability

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.