01: /**
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */package org.apache.openejb.assembler.classic;
17:
18: import java.util.ArrayList;
19: import java.util.List;
20:
21: public abstract class EnterpriseBeanInfo extends InfoObject {
22:
23: public static final int ENTITY = 0;
24:
25: public static final int STATEFUL = 1;
26:
27: public static final int STATELESS = 2;
28:
29: public static final int MESSAGE = 3;
30:
31: public int type;
32:
33: public String codebase;
34: public String description;
35: public String displayName;
36: public String smallIcon;
37: public String largeIcon;
38: public String ejbDeploymentId;
39: public String home;
40: public String remote;
41: public String localHome;
42: public String local;
43: public final List<String> businessLocal = new ArrayList<String>();
44: public final List<String> businessRemote = new ArrayList<String>();
45: public String ejbClass;
46: public String ejbName;
47:
48: public String transactionType;
49: public JndiEncInfo jndiEnc;
50: public NamedMethodInfo timeoutMethod;
51:
52: public String runAs;
53:
54: public final List<SecurityRoleReferenceInfo> securityRoleReferences = new ArrayList<SecurityRoleReferenceInfo>();
55:
56: public final List<CallbackInfo> aroundInvoke = new ArrayList<CallbackInfo>();
57:
58: public final List<CallbackInfo> postConstruct = new ArrayList<CallbackInfo>();
59: public final List<CallbackInfo> preDestroy = new ArrayList<CallbackInfo>();
60:
61: public String containerId;
62: public String serviceEndpoint;
63:
64: public List<JndiNameInfo> jndiNamess = new ArrayList<JndiNameInfo>();
65:
66: public List<String> jndiNames = new ArrayList<String>();
67: }
|