Package org.jboss.ide.eclipse.as.core.server.bean

Examples of org.jboss.ide.eclipse.as.core.server.bean.ServerBean


   * @return      the runtime working copy or null if invalid
   */
  public IRuntimeWorkingCopy getRuntimeFromDir(File dir, IProgressMonitor monitor) {
    String absolutePath = dir.getAbsolutePath();
    ServerBeanLoader l = new ServerBeanLoader(dir);
    ServerBean sb = l.getServerBean();
    if( sb != null ) {
      ServerBeanType type = sb.getBeanType();
      if( type != null ) {
        if( type.equals(KarafBeanProvider.KARAF_2x) ||
          type.equals(KarafBeanProvider.KARAF_3x) ) {
          String serverType = l.getServerAdapterId();
          if( serverType != null ) {
View Full Code Here


   * @return      the runtime working copy or null if invalid
   */
  public IRuntimeWorkingCopy getRuntimeFromDir(File dir, IProgressMonitor monitor) {
    String absolutePath = dir.getAbsolutePath();
    ServerBeanLoader l = new ServerBeanLoader(dir);
    ServerBean sb = l.getServerBean();
    if( sb != null ) {
      ServerBeanType type = sb.getBeanType();
      if( type != null ) {
        if( type.equals(FuseBeanProvider.FUSE_6x)) {
          String serverType = l.getServerAdapterId();
          if( serverType != null ) {
            IServerType t = ServerCore.findServerType(serverType);
View Full Code Here

    if (monitor.isCanceled() || root == null) {
      return null;
    }
   
    ServerBeanLoader loader = new ServerBeanLoader(root);
    ServerBean serverBean = loader.getServerBean();
    ServerBeanType type = serverBean.getBeanType();
    if( ServiceMixBeanProvider.SMX_4x.equals(type) ||
      ServiceMixBeanProvider.SMX_5x.equals(type) ) {
      RuntimeDefinition runtimeDefinition = new RuntimeDefinition(serverBean.getName(),
          serverBean.getVersion(), type.getId(), new File(serverBean.getLocation()));
      return runtimeDefinition;
    }
    return null;
  }
View Full Code Here

   * @return      the runtime working copy or null if invalid
   */
  public IRuntimeWorkingCopy getRuntimeFromDir(File dir, IProgressMonitor monitor) {
    String absolutePath = dir.getAbsolutePath();
    ServerBeanLoader l = new ServerBeanLoader(dir);
    ServerBean sb = l.getServerBean();
    if( sb != null ) {
      ServerBeanType type = sb.getBeanType();
      if( type != null ) {
        if( type.equals(ServiceMixBeanProvider.SMX_4x) ||
          type.equals(ServiceMixBeanProvider.SMX_5x) ) {
          String serverType = l.getServerAdapterId();
          if( serverType != null ) {
View Full Code Here

TOP

Related Classes of org.jboss.ide.eclipse.as.core.server.bean.ServerBean

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.