Examples of supportsFeature()


Examples of com.dci.intellij.dbn.database.DatabaseCompatibilityInterface.supportsFeature()

    public abstract boolean hasReturnArgument();

    private void createUIComponents() {
        ConnectionHandler connectionHandler = getConnectionHandler();
        DatabaseCompatibilityInterface compatibilityInterface = connectionHandler.getInterfaceProvider().getCompatibilityInterface();
        boolean enforceInArguments = hasReturnArgument() && !compatibilityInterface.supportsFeature(DatabaseFeature.FUNCTION_OUT_ARGUMENTS);
        argumentListPanel = new ArgumentFactoryInputListPanel(connectionHandler, enforceInArguments);
        argumentListComponent = argumentListPanel.getComponent();
        returnArgumentDataTypeEditor = new DataTypeEditor(getConnectionHandler());
    }
View Full Code Here

Examples of com.dci.intellij.dbn.database.DatabaseCompatibilityInterface.supportsFeature()

        } else {

            DBSchemaObject schemaObject = virtualFile.getObject();
            if (schemaObject != null) {
                DatabaseCompatibilityInterface compatibilityInterface = DatabaseCompatibilityInterface.getInstance(schemaObject);
                if (schemaObject.getProperties().is(DBObjectProperty.COMPILABLE) &&  compatibilityInterface.supportsFeature(DatabaseFeature.OBJECT_INVALIDATION)) {
                    CompilerSettings compilerSettings = getCompilerSettings(schemaObject.getProject());
                    CompileType compileType = compilerSettings.getCompileType();
                    DBObjectStatusHolder status = schemaObject.getStatus();
                    DBContentType contentType = virtualFile.getContentType();
View Full Code Here

Examples of com.sun.appserv.management.base.SystemInfo.supportsFeature()

    final boolean  offline  = getter.getboolean( TEST_OFFLINE_KEY );
   
    final SystemInfo    systemInfo  = domainRoot == null ? null : domainRoot.getSystemInfo();
   
    final boolean   clustersSupported   = systemInfo == null ?
        false : systemInfo.supportsFeature( SystemInfo.CLUSTERS_FEATURE );
       
    final boolean   multipleServersSupported   = systemInfo == null ?
        false : systemInfo.supportsFeature( SystemInfo.MULTIPLE_SERVERS_FEATURE );
       
    final boolean   monitorsSupported   = ! offline;
View Full Code Here

Examples of com.sun.appserv.management.base.SystemInfo.supportsFeature()

   
    final boolean   clustersSupported   = systemInfo == null ?
        false : systemInfo.supportsFeature( SystemInfo.CLUSTERS_FEATURE );
       
    final boolean   multipleServersSupported   = systemInfo == null ?
        false : systemInfo.supportsFeature( SystemInfo.MULTIPLE_SERVERS_FEATURE );
       
    final boolean   monitorsSupported   = ! offline;
   
    final List<Class<junit.framework.TestCase>>   included   = new ArrayList<Class<junit.framework.TestCase>>();
    final List<Class<junit.framework.TestCase>>   omitted    = new ArrayList<Class<junit.framework.TestCase>>();
View Full Code Here

Examples of com.sun.appserv.management.base.SystemInfo.supportsFeature()

  LoaderOfOldConfig( final Loader loader )
  {
    super( loader );
   
    final SystemInfo  systemInfo  = getDomainRoot().getSystemInfo();
    mSupportsClusters  = systemInfo.supportsFeature( systemInfo.CLUSTERS_FEATURE );
   
    if ( NEEDS_SUPPORT.size() != 0 )
    {
      getLogger().warning(
        "Support for the following old config mbean types is not yet implemented: {" +
View Full Code Here

Examples of com.sun.appserv.management.base.SystemInfo.supportsFeature()

    super( loader );
   
    mAMXJMXDomain  = loader.getAMXJMXDomainName();
   
    final SystemInfo  systemInfo  = loader.getDomainRoot().getSystemInfo();
    mIsDAS  = systemInfo.supportsFeature( SystemInfo.RUNNING_IN_DAS_FEATURE );
  }
 
    public Set<ObjectName>
  findAllOldCandidates()
  {
View Full Code Here

Examples of com.sun.appserv.management.base.SystemInfo.supportsFeature()

        return null;
    }
   
    public static boolean isEE(){
        SystemInfo systemInfo = getDomainRoot().getSystemInfo();
        return systemInfo.supportsFeature(SystemInfo.CLUSTERS_FEATURE);
    }
   
   
    public static boolean supportCluster(){
        SystemInfo systemInfo = getDomainRoot().getSystemInfo();
View Full Code Here

Examples of com.sun.appserv.management.base.SystemInfo.supportsFeature()

    }
   
   
    public static boolean supportCluster(){
        SystemInfo systemInfo = getDomainRoot().getSystemInfo();
        return systemInfo.supportsFeature(SystemInfo.CLUSTERS_FEATURE);
    }
   
    /**
     *  <p> Returns the value of the given property and MBean
     *
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.