RequestMethodConstants.java :  » J2EE » openejb3 » org » apache » openejb » client » Java Open Source

Java Open Source » J2EE » openejb3 
openejb3 » org » apache » openejb » client » RequestMethodConstants.java
/**
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You 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.
 */
package org.apache.openejb.client;

public class RequestMethodConstants {

    private RequestMethodConstants() { }

    public static final byte EJB_REQUEST = (byte) 0;
    public static final byte JNDI_REQUEST = (byte) 1;
    public static final byte AUTH_REQUEST = (byte) 2;
    public static final byte CLUSTER_REQUEST = (byte) 3;
    public static final byte STOP_REQUEST_Quit = (byte) 'Q';
    public static final byte STOP_REQUEST_quit = (byte) 'q';
    public static final byte STOP_REQUEST_Stop = (byte) 'S';
    public static final byte STOP_REQUEST_stop = (byte) 's';

    public static final int EJB_HOME_GET_EJB_META_DATA = 1;
    public static final int EJB_HOME_GET_HOME_HANDLE = 2;
    public static final int EJB_HOME_REMOVE_BY_HANDLE = 3;
    public static final int EJB_HOME_REMOVE_BY_PKEY = 4;

    public static final int EJB_HOME_FIND = 9;
    public static final int EJB_HOME_CREATE = 10;

    public static final int EJB_OBJECT_GET_EJB_HOME = 14;
    public static final int EJB_OBJECT_GET_HANDLE = 15;
    public static final int EJB_OBJECT_GET_PRIMARY_KEY = 16;
    public static final int EJB_OBJECT_IS_IDENTICAL = 17;
    public static final int EJB_OBJECT_REMOVE = 18;

    public static final int EJB_OBJECT_BUSINESS_METHOD = 23;
    public static final int EJB_HOME_METHOD = 24;

    public static final int JNDI_LOOKUP = 27;
    public static final int JNDI_LIST = 28;
    public static final int JNDI_LIST_BINDINGS = 29;

}

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.