Skip to content

Commit

Permalink
Add literals for *Type
Browse files Browse the repository at this point in the history
git-svn-id: http://anonsvn.jboss.org/repos/weld/ri/trunk@2912 1c488680-804c-0410-94cd-c6b725194a0e
  • Loading branch information
pmuir committed Jun 28, 2009
1 parent 6d6fb78 commit 911e46e
Show file tree
Hide file tree
Showing 4 changed files with 121 additions and 0 deletions.
@@ -0,0 +1,25 @@
/*
* JBoss, Home of Professional Open Source
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* 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.jboss.webbeans.literal;

import javax.enterprise.inject.AnnotationLiteral;
import javax.enterprise.inject.BindingType;

public class BindingTypeLiteral extends AnnotationLiteral<BindingType> implements BindingType
{

}
@@ -0,0 +1,25 @@
/*
* JBoss, Home of Professional Open Source
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* 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.jboss.webbeans.literal;

import javax.enterprise.inject.AnnotationLiteral;
import javax.interceptor.InterceptorBindingType;

public class InterceptorBindingTypeLiteral extends AnnotationLiteral<InterceptorBindingType> implements InterceptorBindingType
{

}
@@ -0,0 +1,44 @@
/*
* JBoss, Home of Professional Open Source
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* 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.jboss.webbeans.literal;

import javax.enterprise.context.ScopeType;
import javax.enterprise.inject.AnnotationLiteral;

public class ScopeTypeLiteral extends AnnotationLiteral<ScopeTypeLiteral> implements ScopeType
{

private final boolean normal;
private final boolean passivating;

public ScopeTypeLiteral(boolean normal, boolean passivating)
{
this.normal = normal;
this.passivating = passivating;
}

public boolean normal()
{
return normal;
}

public boolean passivating()
{
return passivating;
}

}
@@ -0,0 +1,27 @@
/*
* JBoss, Home of Professional Open Source
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* 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.jboss.webbeans.literal;

import javax.enterprise.inject.AnnotationLiteral;
import javax.enterprise.inject.stereotype.Stereotype;

public class StereotypeLiteral extends AnnotationLiteral<Stereotype> implements Stereotype
{



}

0 comments on commit 911e46e

Please sign in to comment.