-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from baranowb/JBMETA-355
trim ops in application exception MD parser
- Loading branch information
Showing
12 changed files
with
409 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...ces/org/jboss/test/metadata/ejb/whitespace/Whitespace_testEjbJar30ActivateInterceptor.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0"?> | ||
|
||
<ejb-jar | ||
xmlns="http://java.sun.com/xml/ns/javaee" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee | ||
http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd" | ||
version="3.0"> | ||
<display-name>Whitespace</display-name> | ||
<interceptors> | ||
<interceptor> | ||
<interceptor-class>InterceptorClass </interceptor-class> | ||
<post-activate> | ||
<lifecycle-callback-class>lifecycleCallbackClass </lifecycle-callback-class> | ||
<lifecycle-callback-method>interceptLifeCycle </lifecycle-callback-method> | ||
</post-activate> | ||
</interceptor> | ||
</interceptors> | ||
</ejb-jar> |
19 changes: 19 additions & 0 deletions
19
...org/jboss/test/metadata/ejb/whitespace/Whitespace_testEjbJar30AroundInvokeInterceptor.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0"?> | ||
|
||
<ejb-jar | ||
xmlns="http://java.sun.com/xml/ns/javaee" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee | ||
http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd" | ||
version="3.0"> | ||
<display-name>Whitespace</display-name> | ||
<interceptors> | ||
<interceptor> | ||
<interceptor-class>InterceptorClass </interceptor-class> | ||
<around-invoke> | ||
<class>Class </class> | ||
<method-name>interceptMethodCall </method-name> | ||
</around-invoke> | ||
</interceptor> | ||
</interceptors> | ||
</ejb-jar> |
16 changes: 16 additions & 0 deletions
16
...ss/test/metadata/ejb/whitespace/Whitespace_testEjbJar30AssemblyDescriptorAppException.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0"?> | ||
|
||
<ejb-jar | ||
xmlns="http://java.sun.com/xml/ns/javaee" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee | ||
http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd" | ||
version="3.0"> | ||
<display-name>Whitespace</display-name> | ||
<assembly-descriptor> | ||
<!-- app exceptions --> | ||
<application-exception> | ||
<exception-class>ExceptionClass </exception-class> | ||
</application-exception> | ||
</assembly-descriptor> | ||
</ejb-jar> |
16 changes: 16 additions & 0 deletions
16
...oss/test/metadata/ejb/whitespace/Whitespace_testEjbJar30AssemblyDescriptorInterceptor.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0"?> | ||
|
||
<ejb-jar | ||
xmlns="http://java.sun.com/xml/ns/javaee" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee | ||
http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd" | ||
version="3.0"> | ||
<display-name>Whitespace</display-name> | ||
<assembly-descriptor> | ||
<interceptor-binding> | ||
<ejb-name>*</ejb-name> | ||
<interceptor-class>InterceptorClass </interceptor-class> | ||
</interceptor-binding> | ||
</assembly-descriptor> | ||
</ejb-jar> |
19 changes: 19 additions & 0 deletions
19
...es/org/jboss/test/metadata/ejb/whitespace/Whitespace_testEjbJar30ConstructInterceptor.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0"?> | ||
|
||
<ejb-jar | ||
xmlns="http://java.sun.com/xml/ns/javaee" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee | ||
http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd" | ||
version="3.0"> | ||
<display-name>Whitespace</display-name> | ||
<interceptors> | ||
<interceptor> | ||
<interceptor-class>InterceptorClass </interceptor-class> | ||
<post-construct> | ||
<lifecycle-callback-class>lifecycleCallbackClass </lifecycle-callback-class> | ||
<lifecycle-callback-method>interceptLifeCycle </lifecycle-callback-method> | ||
</post-construct> | ||
</interceptor> | ||
</interceptors> | ||
</ejb-jar> |
19 changes: 19 additions & 0 deletions
19
...rces/org/jboss/test/metadata/ejb/whitespace/Whitespace_testEjbJar30DestroyInterceptor.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0"?> | ||
|
||
<ejb-jar | ||
xmlns="http://java.sun.com/xml/ns/javaee" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee | ||
http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd" | ||
version="3.0"> | ||
<display-name>Whitespace</display-name> | ||
<interceptors> | ||
<interceptor> | ||
<interceptor-class>InterceptorClass </interceptor-class> | ||
<pre-destroy> | ||
<lifecycle-callback-class>lifecycleCallbackClass </lifecycle-callback-class> | ||
<lifecycle-callback-method>interceptLifeCycle </lifecycle-callback-method> | ||
</pre-destroy> | ||
</interceptor> | ||
</interceptors> | ||
</ejb-jar> |
Oops, something went wrong.