pax_global_header 0000666 0000000 0000000 00000000064 12422211101 0014474 g ustar 00root root 0000000 0000000 52 comment=3335afa209647a4bf14d2ccbaf2529ed6743909b
plexus-containers-plexus-containers-1.6/ 0000775 0000000 0000000 00000000000 12422211101 0020506 5 ustar 00root root 0000000 0000000 plexus-containers-plexus-containers-1.6/.gitignore 0000664 0000000 0000000 00000000067 12422211101 0022501 0 ustar 00root root 0000000 0000000 target/
.project
.classpath
.settings/
bin
*.iml
.idea
plexus-containers-plexus-containers-1.6/plexus-component-annotations/ 0000775 0000000 0000000 00000000000 12422211101 0026361 5 ustar 00root root 0000000 0000000 plexus-containers-plexus-containers-1.6/plexus-component-annotations/pom.xml 0000664 0000000 0000000 00000001354 12422211101 0027701 0 ustar 00root root 0000000 0000000
4.0.0
org.codehaus.plexus
plexus-containers
1.6
plexus-component-annotations
Plexus :: Component Annotations
Plexus Component "Java 5" Annotations, to describe plexus components properties in java sources with
standard annotations instead of javadoc annotations.
plexus-containers-plexus-containers-1.6/plexus-component-annotations/src/ 0000775 0000000 0000000 00000000000 12422211101 0027150 5 ustar 00root root 0000000 0000000 plexus-containers-plexus-containers-1.6/plexus-component-annotations/src/main/ 0000775 0000000 0000000 00000000000 12422211101 0030074 5 ustar 00root root 0000000 0000000 plexus-containers-plexus-containers-1.6/plexus-component-annotations/src/main/java/ 0000775 0000000 0000000 00000000000 12422211101 0031015 5 ustar 00root root 0000000 0000000 plexus-containers-plexus-containers-1.6/plexus-component-annotations/src/main/java/org/ 0000775 0000000 0000000 00000000000 12422211101 0031604 5 ustar 00root root 0000000 0000000 plexus-containers-plexus-containers-1.6/plexus-component-annotations/src/main/java/org/codehaus/ 0000775 0000000 0000000 00000000000 12422211101 0033377 5 ustar 00root root 0000000 0000000 0000775 0000000 0000000 00000000000 12422211101 0034640 5 ustar 00root root 0000000 0000000 plexus-containers-plexus-containers-1.6/plexus-component-annotations/src/main/java/org/codehaus/plexus 0000775 0000000 0000000 00000000000 12422211101 0036642 5 ustar 00root root 0000000 0000000 plexus-containers-plexus-containers-1.6/plexus-component-annotations/src/main/java/org/codehaus/plexus/component 0000775 0000000 0000000 00000000000 12422211101 0041177 5 ustar 00root root 0000000 0000000 plexus-containers-plexus-containers-1.6/plexus-component-annotations/src/main/java/org/codehaus/plexus/component/annotations Component.java 0000664 0000000 0000000 00000003060 12422211101 0044003 0 ustar 00root root 0000000 0000000 plexus-containers-plexus-containers-1.6/plexus-component-annotations/src/main/java/org/codehaus/plexus/component/annotations /*
* Copyright (C) 2007 the original author or authors.
*
* 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.codehaus.plexus.component.annotations;
import java.lang.annotation.Documented;
import static java.lang.annotation.ElementType.TYPE;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Target;
/**
* Marks a class as a Plexus component.
*
* @since 1.0-alpha-33
* @version $Id$
*/
@Documented
@Retention(RUNTIME)
@Target(TYPE)
@Inherited
public @interface Component
{
Class> role();
String hint() default "";
String version() default "";
String alias() default "";
String description() default "";
String lifecycleHandler() default "";
String instantiationStrategy() default "";
String factory() default "";
String type() default "";
String profile() default "";
String composer() default "";
String configurator() default "";
boolean isolatedRealm() default false;
}
Configuration.java 0000664 0000000 0000000 00000002263 12422211101 0044654 0 ustar 00root root 0000000 0000000 plexus-containers-plexus-containers-1.6/plexus-component-annotations/src/main/java/org/codehaus/plexus/component/annotations /*
* Copyright (C) 2007 the original author or authors.
*
* 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.codehaus.plexus.component.annotations;
import java.lang.annotation.Documented;
import static java.lang.annotation.ElementType.FIELD;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Target;
/**
* Marks a field as a configuration element with a default value.
*
* @since 1.0-alpha-33
* @version $Id$
*/
@Documented
@Retention(RUNTIME)
@Target(FIELD)
@Inherited
public @interface Configuration
{
String name() default "";
String value();
}
Requirement.java 0000664 0000000 0000000 00000002637 12422211101 0044352 0 ustar 00root root 0000000 0000000 plexus-containers-plexus-containers-1.6/plexus-component-annotations/src/main/java/org/codehaus/plexus/component/annotations /*
* Copyright (C) 2007 the original author or authors.
*
* 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.codehaus.plexus.component.annotations;
import java.lang.annotation.Documented;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Target;
/**
* Configures a requirement.
*
* @since 1.0-alpha-33
* @version $Id$
*/
@Documented
@Retention(RUNTIME)
@Target({ FIELD, METHOD })
@Inherited
public @interface Requirement
{
Class> role() default Object.class;
String hint() default "";
//
// HACK: This is here to support component requirement lists, which can take a list of hints
//
String[] hints() default {};
boolean optional() default false;
}
plexus-containers-plexus-containers-1.6/plexus-component-annotations/src/site/ 0000775 0000000 0000000 00000000000 12422211101 0030114 5 ustar 00root root 0000000 0000000 plexus-containers-plexus-containers-1.6/plexus-component-annotations/src/site/apt/ 0000775 0000000 0000000 00000000000 12422211101 0030700 5 ustar 00root root 0000000 0000000 plexus-containers-plexus-containers-1.6/plexus-component-annotations/src/site/apt/index.apt 0000664 0000000 0000000 00000002034 12422211101 0032514 0 ustar 00root root 0000000 0000000 -----
Overview
-----
Hervé Boutemy
-----
2011-10-02
-----
About Plexus :: Component Annotations
Plexus Component "Java 5" Annotations, to describe plexus components properties in java sources with standard annotations instead of javadoc annotations.
3 "Java 5" annotations are provided to replace javadoc annotations:
*-----------------------------+----------------------+
| <> | <> |
*-----------------------------+----------------------+
| <<<@plexus.component>>> | {{{./apidocs/org/codehaus/plexus/component/annotations/Component.html}<<<@Component>>>}} |
*-----------------------------+----------------------+
| <<<@plexus.requirement>>> | {{{./apidocs/org/codehaus/plexus/component/annotations/Requirement.html}<<<@Requirement>>>}} |
*-----------------------------+----------------------+
| <<<@plexus.configuration>>> | {{{./apidocs/org/codehaus/plexus/component/annotations/Configuration.html}<<<@Configuration>>>}} |
*-----------------------------+----------------------+
plexus-containers-plexus-containers-1.6/plexus-component-annotations/src/site/site.xml 0000664 0000000 0000000 00000002523 12422211101 0031604 0 ustar 00root root 0000000 0000000