blob: 57a090bec1f21822abdcc71b8df8603be97b9276 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
/*******************************************************************************
* Copyright (c) 2007 WSO2 Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* WSO2 Inc. - initial API and implementation
* yyyymmdd bug Email and other contact information
* -------- -------- -----------------------------------------------------------
* 20070314 168762 sandakith@wso2.com - Lahiru Sandakith, Initial code to introduse
* the Axis2 runtime to the framework for 168762
*******************************************************************************/
package org.eclipse.jst.ws.axis2.creation.core.command;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
public class Axis2CleanupCommand extends AbstractDataModelOperation
{
public Axis2CleanupCommand(){
}
public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
{
// Cleanup the reflection over head by increasing the priority to the garbage thread
System.gc();
return Status.OK_STATUS;
}
}
|