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.jee;
17:
18: import java.util.Collection;
19: import java.util.Map;
20:
21: /**
22: * @version $Rev: 607077 $ $Date: 2007-12-27 06:55:23 -0800 $
23: */
24: public interface JndiConsumer {
25:
26: String getJndiConsumerName();
27:
28: Collection<EnvEntry> getEnvEntry();
29:
30: Map<String, EnvEntry> getEnvEntryMap();
31:
32: Collection<EjbRef> getEjbRef();
33:
34: Map<String, EjbRef> getEjbRefMap();
35:
36: Collection<EjbLocalRef> getEjbLocalRef();
37:
38: Map<String, EjbLocalRef> getEjbLocalRefMap();
39:
40: Collection<ServiceRef> getServiceRef();
41:
42: Map<String, ServiceRef> getServiceRefMap();
43:
44: Collection<ResourceRef> getResourceRef();
45:
46: Map<String, ResourceRef> getResourceRefMap();
47:
48: Collection<ResourceEnvRef> getResourceEnvRef();
49:
50: Map<String, ResourceEnvRef> getResourceEnvRefMap();
51:
52: Collection<MessageDestinationRef> getMessageDestinationRef();
53:
54: Map<String, MessageDestinationRef> getMessageDestinationRefMap();
55:
56: Collection<PersistenceContextRef> getPersistenceContextRef();
57:
58: Map<String, PersistenceContextRef> getPersistenceContextRefMap();
59:
60: Collection<PersistenceUnitRef> getPersistenceUnitRef();
61:
62: Map<String, PersistenceUnitRef> getPersistenceUnitRefMap();
63:
64: }
|