You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ek...@apache.org on 2006/07/27 15:35:05 UTC
svn commit: r426070 - in /beehive/wsm/trunk/src:
axis/org/apache/beehive/wsm/axis/annogen/
core/org/apache/beehive/wsm/processor/model/factory/reflection/
Author: ekoneil
Date: Thu Jul 27 06:35:04 2006
New Revision: 426070
URL: http://svn.apache.org/viewvc?rev=426070&view=rev
Log:
Add some files missed last night. I though IDEA had taken care of adding these...oh well. :)
Test: WSM pass
Added:
beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/HandlerChainAnnoBean.java
beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/InitParamAnnoBean.java
beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/OnewayAnnoBean.java
beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/SOAPBindingAnnoBean.java
beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/SOAPMessageHandlerAnnoBean.java
beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/SOAPMessageHandlersAnnoBean.java
beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/WebMethodAnnoBean.java
beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/WebParamAnnoBean.java
beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/WebResultAnnoBean.java
beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/WebServiceAnnoBean.java
beehive/wsm/trunk/src/core/org/apache/beehive/wsm/processor/model/factory/reflection/ReflectionTypeResolver.java
Added: beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/HandlerChainAnnoBean.java
URL: http://svn.apache.org/viewvc/beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/HandlerChainAnnoBean.java?rev=426070&view=auto
==============================================================================
--- beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/HandlerChainAnnoBean.java (added)
+++ beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/HandlerChainAnnoBean.java Thu Jul 27 06:35:04 2006
@@ -0,0 +1,42 @@
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ *
+ * 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.
+ */
+package org.apache.beehive.wsm.axis.annogen;
+
+public class HandlerChainAnnoBean extends org.codehaus.annogen.override.internal.AnnoBeanBase implements javax.jws.HandlerChain {
+
+ public static final java.lang.String PROXY_FOR = "javax.jws.HandlerChain";
+
+ private java.lang.String _file;
+
+ public java.lang.String file() {
+ return this._file;
+ }
+
+ public void set_file(java.lang.String in) {
+ this._file = in;
+ }
+
+ private java.lang.String _name;
+
+ public java.lang.String name() {
+ return this._name;
+ }
+
+ public void set_name(java.lang.String in) {
+ this._name = in;
+ }
+
+}
Added: beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/InitParamAnnoBean.java
URL: http://svn.apache.org/viewvc/beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/InitParamAnnoBean.java?rev=426070&view=auto
==============================================================================
--- beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/InitParamAnnoBean.java (added)
+++ beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/InitParamAnnoBean.java Thu Jul 27 06:35:04 2006
@@ -0,0 +1,42 @@
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ *
+ * 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.
+ */
+package org.apache.beehive.wsm.axis.annogen;
+
+public class InitParamAnnoBean extends org.codehaus.annogen.override.internal.AnnoBeanBase implements javax.jws.soap.InitParam {
+
+ public static final java.lang.String PROXY_FOR = "javax.jws.soap.InitParam";
+
+ private java.lang.String _name;
+
+ public java.lang.String name() {
+ return this._name;
+ }
+
+ public void set_name(java.lang.String in) {
+ this._name = in;
+ }
+
+ private java.lang.String _value;
+
+ public java.lang.String value() {
+ return this._value;
+ }
+
+ public void set_value(java.lang.String in) {
+ this._value = in;
+ }
+
+}
Added: beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/OnewayAnnoBean.java
URL: http://svn.apache.org/viewvc/beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/OnewayAnnoBean.java?rev=426070&view=auto
==============================================================================
--- beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/OnewayAnnoBean.java (added)
+++ beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/OnewayAnnoBean.java Thu Jul 27 06:35:04 2006
@@ -0,0 +1,21 @@
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ *
+ * 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.
+ */
+package org.apache.beehive.wsm.axis.annogen;
+
+public class OnewayAnnoBean extends org.codehaus.annogen.override.internal.AnnoBeanBase implements javax.jws.Oneway {
+
+ public static final java.lang.String PROXY_FOR = "javax.jws.Oneway";
+}
Added: beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/SOAPBindingAnnoBean.java
URL: http://svn.apache.org/viewvc/beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/SOAPBindingAnnoBean.java?rev=426070&view=auto
==============================================================================
--- beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/SOAPBindingAnnoBean.java (added)
+++ beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/SOAPBindingAnnoBean.java Thu Jul 27 06:35:04 2006
@@ -0,0 +1,37 @@
+package org.apache.beehive.wsm.axis.annogen;
+
+public class SOAPBindingAnnoBean extends org.codehaus.annogen.override.internal.AnnoBeanBase implements javax.jws.soap.SOAPBinding {
+
+ public static final java.lang.String PROXY_FOR = "javax.jws.soap.SOAPBinding";
+
+ private javax.jws.soap.SOAPBinding.ParameterStyle _parameterStyle;
+
+ public javax.jws.soap.SOAPBinding.ParameterStyle parameterStyle() {
+ return this._parameterStyle;
+ }
+
+ public void set_parameterStyle(javax.jws.soap.SOAPBinding.ParameterStyle in) {
+ this._parameterStyle = in;
+ }
+
+ private javax.jws.soap.SOAPBinding.Style _style;
+
+ public javax.jws.soap.SOAPBinding.Style style() {
+ return this._style;
+ }
+
+ public void set_style(javax.jws.soap.SOAPBinding.Style in) {
+ this._style = in;
+ }
+
+ private javax.jws.soap.SOAPBinding.Use _use;
+
+ public javax.jws.soap.SOAPBinding.Use use() {
+ return this._use;
+ }
+
+ public void set_use(javax.jws.soap.SOAPBinding.Use in) {
+ this._use = in;
+ }
+
+}
Added: beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/SOAPMessageHandlerAnnoBean.java
URL: http://svn.apache.org/viewvc/beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/SOAPMessageHandlerAnnoBean.java?rev=426070&view=auto
==============================================================================
--- beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/SOAPMessageHandlerAnnoBean.java (added)
+++ beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/SOAPMessageHandlerAnnoBean.java Thu Jul 27 06:35:04 2006
@@ -0,0 +1,72 @@
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ *
+ * 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.
+ */
+package org.apache.beehive.wsm.axis.annogen;
+
+public class SOAPMessageHandlerAnnoBean extends org.codehaus.annogen.override.internal.AnnoBeanBase implements javax.jws.soap.SOAPMessageHandler {
+
+ public static final java.lang.String PROXY_FOR = "javax.jws.soap.SOAPMessageHandler";
+
+ private java.lang.String _className;
+
+ public java.lang.String className() {
+ return this._className;
+ }
+
+ public void set_className(java.lang.String in) {
+ this._className = in;
+ }
+
+ private java.lang.String[] _headers;
+
+ public java.lang.String[] headers() {
+ return this._headers;
+ }
+
+ public void set_headers(java.lang.String[] in) {
+ this._headers = in;
+ }
+
+ private javax.jws.soap.InitParam[] _initParams;
+
+ public javax.jws.soap.InitParam[] initParams() {
+ return this._initParams;
+ }
+
+ public void set_initParams(javax.jws.soap.InitParam[] in) {
+ this._initParams = in;
+ }
+
+ private java.lang.String _name;
+
+ public java.lang.String name() {
+ return this._name;
+ }
+
+ public void set_name(java.lang.String in) {
+ this._name = in;
+ }
+
+ private java.lang.String[] _roles;
+
+ public java.lang.String[] roles() {
+ return this._roles;
+ }
+
+ public void set_roles(java.lang.String[] in) {
+ this._roles = in;
+ }
+
+}
Added: beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/SOAPMessageHandlersAnnoBean.java
URL: http://svn.apache.org/viewvc/beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/SOAPMessageHandlersAnnoBean.java?rev=426070&view=auto
==============================================================================
--- beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/SOAPMessageHandlersAnnoBean.java (added)
+++ beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/SOAPMessageHandlersAnnoBean.java Thu Jul 27 06:35:04 2006
@@ -0,0 +1,32 @@
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ *
+ * 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.
+ */
+package org.apache.beehive.wsm.axis.annogen;
+
+public class SOAPMessageHandlersAnnoBean extends org.codehaus.annogen.override.internal.AnnoBeanBase implements javax.jws.soap.SOAPMessageHandlers {
+
+ public static final java.lang.String PROXY_FOR = "javax.jws.soap.SOAPMessageHandlers";
+
+ private javax.jws.soap.SOAPMessageHandler[] _value;
+
+ public javax.jws.soap.SOAPMessageHandler[] value() {
+ return this._value;
+ }
+
+ public void set_value(javax.jws.soap.SOAPMessageHandler[] in) {
+ this._value = in;
+ }
+
+}
Added: beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/WebMethodAnnoBean.java
URL: http://svn.apache.org/viewvc/beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/WebMethodAnnoBean.java?rev=426070&view=auto
==============================================================================
--- beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/WebMethodAnnoBean.java (added)
+++ beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/WebMethodAnnoBean.java Thu Jul 27 06:35:04 2006
@@ -0,0 +1,42 @@
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ *
+ * 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.
+ */
+package org.apache.beehive.wsm.axis.annogen;
+
+public class WebMethodAnnoBean extends org.codehaus.annogen.override.internal.AnnoBeanBase implements javax.jws.WebMethod {
+
+ public static final java.lang.String PROXY_FOR = "javax.jws.WebMethod";
+
+ private java.lang.String _action;
+
+ public java.lang.String action() {
+ return this._action;
+ }
+
+ public void set_action(java.lang.String in) {
+ this._action = in;
+ }
+
+ private java.lang.String _operationName;
+
+ public java.lang.String operationName() {
+ return this._operationName;
+ }
+
+ public void set_operationName(java.lang.String in) {
+ this._operationName = in;
+ }
+
+}
Added: beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/WebParamAnnoBean.java
URL: http://svn.apache.org/viewvc/beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/WebParamAnnoBean.java?rev=426070&view=auto
==============================================================================
--- beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/WebParamAnnoBean.java (added)
+++ beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/WebParamAnnoBean.java Thu Jul 27 06:35:04 2006
@@ -0,0 +1,62 @@
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ *
+ * 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.
+ */
+package org.apache.beehive.wsm.axis.annogen;
+
+public class WebParamAnnoBean extends org.codehaus.annogen.override.internal.AnnoBeanBase implements javax.jws.WebParam {
+
+ public static final java.lang.String PROXY_FOR = "javax.jws.WebParam";
+
+ private boolean _header;
+
+ public boolean header() {
+ return this._header;
+ }
+
+ public void set_header(boolean in) {
+ this._header = in;
+ }
+
+ private javax.jws.WebParam.Mode _mode;
+
+ public javax.jws.WebParam.Mode mode() {
+ return this._mode;
+ }
+
+ public void set_mode(javax.jws.WebParam.Mode in) {
+ this._mode = in;
+ }
+
+ private java.lang.String _name;
+
+ public java.lang.String name() {
+ return this._name;
+ }
+
+ public void set_name(java.lang.String in) {
+ this._name = in;
+ }
+
+ private java.lang.String _targetNamespace;
+
+ public java.lang.String targetNamespace() {
+ return this._targetNamespace;
+ }
+
+ public void set_targetNamespace(java.lang.String in) {
+ this._targetNamespace = in;
+ }
+
+}
Added: beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/WebResultAnnoBean.java
URL: http://svn.apache.org/viewvc/beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/WebResultAnnoBean.java?rev=426070&view=auto
==============================================================================
--- beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/WebResultAnnoBean.java (added)
+++ beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/WebResultAnnoBean.java Thu Jul 27 06:35:04 2006
@@ -0,0 +1,42 @@
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ *
+ * 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.
+ */
+package org.apache.beehive.wsm.axis.annogen;
+
+public class WebResultAnnoBean extends org.codehaus.annogen.override.internal.AnnoBeanBase implements javax.jws.WebResult {
+
+ public static final java.lang.String PROXY_FOR = "javax.jws.WebResult";
+
+ private java.lang.String _name;
+
+ public java.lang.String name() {
+ return this._name;
+ }
+
+ public void set_name(java.lang.String in) {
+ this._name = in;
+ }
+
+ private java.lang.String _targetNamespace;
+
+ public java.lang.String targetNamespace() {
+ return this._targetNamespace;
+ }
+
+ public void set_targetNamespace(java.lang.String in) {
+ this._targetNamespace = in;
+ }
+
+}
Added: beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/WebServiceAnnoBean.java
URL: http://svn.apache.org/viewvc/beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/WebServiceAnnoBean.java?rev=426070&view=auto
==============================================================================
--- beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/WebServiceAnnoBean.java (added)
+++ beehive/wsm/trunk/src/axis/org/apache/beehive/wsm/axis/annogen/WebServiceAnnoBean.java Thu Jul 27 06:35:04 2006
@@ -0,0 +1,72 @@
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ *
+ * 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.
+ */
+package org.apache.beehive.wsm.axis.annogen;
+
+public class WebServiceAnnoBean extends org.codehaus.annogen.override.internal.AnnoBeanBase implements javax.jws.WebService {
+
+ public static final java.lang.String PROXY_FOR = "javax.jws.WebService";
+
+ private java.lang.String _endpointInterface;
+
+ public java.lang.String endpointInterface() {
+ return this._endpointInterface;
+ }
+
+ public void set_endpointInterface(java.lang.String in) {
+ this._endpointInterface = in;
+ }
+
+ private java.lang.String _name;
+
+ public java.lang.String name() {
+ return this._name;
+ }
+
+ public void set_name(java.lang.String in) {
+ this._name = in;
+ }
+
+ private java.lang.String _serviceName;
+
+ public java.lang.String serviceName() {
+ return this._serviceName;
+ }
+
+ public void set_serviceName(java.lang.String in) {
+ this._serviceName = in;
+ }
+
+ private java.lang.String _targetNamespace;
+
+ public java.lang.String targetNamespace() {
+ return this._targetNamespace;
+ }
+
+ public void set_targetNamespace(java.lang.String in) {
+ this._targetNamespace = in;
+ }
+
+ private java.lang.String _wsdlLocation;
+
+ public java.lang.String wsdlLocation() {
+ return this._wsdlLocation;
+ }
+
+ public void set_wsdlLocation(java.lang.String in) {
+ this._wsdlLocation = in;
+ }
+
+}
Added: beehive/wsm/trunk/src/core/org/apache/beehive/wsm/processor/model/factory/reflection/ReflectionTypeResolver.java
URL: http://svn.apache.org/viewvc/beehive/wsm/trunk/src/core/org/apache/beehive/wsm/processor/model/factory/reflection/ReflectionTypeResolver.java?rev=426070&view=auto
==============================================================================
--- beehive/wsm/trunk/src/core/org/apache/beehive/wsm/processor/model/factory/reflection/ReflectionTypeResolver.java (added)
+++ beehive/wsm/trunk/src/core/org/apache/beehive/wsm/processor/model/factory/reflection/ReflectionTypeResolver.java Thu Jul 27 06:35:04 2006
@@ -0,0 +1,43 @@
+/**
+ Copyright 2006 The Apache Software Foundation.
+
+ 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.
+ */
+package org.apache.beehive.wsm.processor.model.factory.reflection;
+
+import org.apache.beehive.wsm.processor.model.factory.TypeResolver;
+
+/**
+ * A resolver that maps a String to a ReflectAnnoViewer
+ */
+public class ReflectionTypeResolver
+ extends TypeResolver {
+
+ private ClassLoader cl;
+
+ public ReflectionTypeResolver(ClassLoader cl) {
+ this.cl = cl;
+ }
+
+ public Object resolveType(String className) {
+ assert className != null;
+ Class c = null;
+ try{
+ c = Class.forName(className,true,cl);
+ }catch(Exception e){
+ e.printStackTrace();
+ }
+ return c;
+ }
+}
+