001: /**
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */package org.apache.geronimo.deployment.plugin;
017:
018: import java.util.Enumeration;
019: import java.io.FileNotFoundException;
020: import java.io.InputStream;
021: import javax.enterprise.deploy.model.J2eeApplicationObject;
022: import javax.enterprise.deploy.model.DDBeanRoot;
023: import javax.enterprise.deploy.model.XpathListener;
024: import javax.enterprise.deploy.model.DDBean;
025: import javax.enterprise.deploy.model.DeployableObject;
026: import javax.enterprise.deploy.model.exceptions.DDBeanCreateException;
027: import javax.enterprise.deploy.shared.ModuleType;
028:
029: /**
030: *
031: *
032: * @version $Rev: 476049 $ $Date: 2006-11-16 20:35:17 -0800 (Thu, 16 Nov 2006) $
033: */
034: public class Application implements J2eeApplicationObject {
035: private final DDBeanRoot root;
036:
037: public Application(DDBeanRoot root) {
038: this .root = root;
039: }
040:
041: public void addXpathListener(ModuleType type, String xpath,
042: XpathListener xpl) {
043: throw new UnsupportedOperationException();
044: }
045:
046: public Enumeration entries() {
047: throw new UnsupportedOperationException();
048: }
049:
050: public DDBean[] getChildBean(ModuleType type, String xpath) {
051: throw new UnsupportedOperationException();
052: }
053:
054: public DDBean[] getChildBean(String xpath) {
055: throw new UnsupportedOperationException();
056: }
057:
058: public Class getClassFromScope(String className) {
059: throw new UnsupportedOperationException();
060: }
061:
062: public DDBeanRoot getDDBeanRoot() {
063: return root;
064: }
065:
066: public DDBeanRoot getDDBeanRoot(String filename)
067: throws FileNotFoundException, DDBeanCreateException {
068: throw new UnsupportedOperationException();
069: }
070:
071: public DeployableObject getDeployableObject(String uri) {
072: throw new UnsupportedOperationException();
073: }
074:
075: public DeployableObject[] getDeployableObjects() {
076: throw new UnsupportedOperationException();
077: }
078:
079: public DeployableObject[] getDeployableObjects(ModuleType type) {
080: throw new UnsupportedOperationException();
081: }
082:
083: public InputStream getEntry(String name) {
084: throw new UnsupportedOperationException();
085: }
086:
087: public String getModuleDTDVersion() {
088: throw new UnsupportedOperationException();
089: }
090:
091: public String[] getModuleUris() {
092: throw new UnsupportedOperationException();
093: }
094:
095: public String[] getModuleUris(ModuleType type) {
096: throw new UnsupportedOperationException();
097: }
098:
099: public String[] getText(ModuleType type, String xpath) {
100: throw new UnsupportedOperationException();
101: }
102:
103: public String[] getText(String xpath) {
104: throw new UnsupportedOperationException();
105: }
106:
107: public ModuleType getType() {
108: return ModuleType.EAR;
109: }
110:
111: public void removeXpathListener(ModuleType type, String xpath,
112: XpathListener xpl) {
113: throw new UnsupportedOperationException();
114: }
115: }
|