[jboss-cvs] jbosside/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/publishers ...
Robert Stryker
rawblem at gmail.com
Mon Nov 6 12:03:34 EST 2006
User: rawb
Date: 06/11/06 12:03:34
Added: as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/publishers
NullPublisher.java
Log:
Some new stuff to help support ejb3.0. This branch of .as will be replaced this week and this is a stopgap commit to get ejb3.0 and its dependencies in ASAP.
Revision Changes Path
1.1 date: 2006/11/06 17:03:34; author: rawb; state: Exp;jbosside/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/publishers/NullPublisher.java
Index: NullPublisher.java
===================================================================
/**
* JBoss, a Division of Red Hat
* Copyright 2006, Red Hat Middleware, LLC, and individual contributors as indicated
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package org.jboss.ide.eclipse.as.core.server.publishers;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.wst.server.core.IModule;
import org.eclipse.wst.server.core.IServer;
import org.eclipse.wst.server.core.model.ServerBehaviourDelegate;
import org.jboss.ide.eclipse.as.core.model.ServerProcessLog.ProcessLogEvent;
import org.jboss.ide.eclipse.as.core.util.ASDebug;
/**
*
* @author rob.stryker at jboss.com
*/
public class NullPublisher implements IJbossServerPublisher {
public ProcessLogEvent[] getLogEvents() {
return new ProcessLogEvent[0];
}
public int getPublishState() {
return IServer.PUBLISH_STATE_NONE;
}
public void publishModule(int kind, int deltaKind, IModule[] module,
IProgressMonitor monitor) throws CoreException {
// delta = [no_change, added, changed, removed] = [0,1,2,3]
// kind = [incremental, full, auto, clean] = [1,2,3,4]
ASDebug.p("Publishing with kind,deltakind = " + kind + "," + deltaKind, this);
}
}
More information about the jboss-cvs-commits
mailing list