All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.semispace.actor.SwingActor Maven / Gradle / Ivy

/*
 * ============================================================================
 *
 *  File:     SwingActor.java
 *----------------------------------------------------------------------------
 *
 * Copyright 2008 Erlend Nossum
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at 
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and 
 * limitations under the License.
 *
 *  Description:  See javadoc below
 *
 *  Created:      Sep 12, 2008
 * ============================================================================ 
 */

package org.semispace.actor;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * This annotation indicates that the actor in question is a swing action, which 
 * means that the messages sent to this actor are sent on the swing thread
 * and not via an internal pool. This is useful when using actors to take care
 * of asynchronous form processing (for example).
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Inherited
public @interface SwingActor {
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy