") 4, Slf4j-nop-1.6.4.jar (if you want to change the implementation of other logs, such as log4j, please replace them with other packages) 5. Jsr305-2.0.0.jar (said to have supported the standard in JDK7, but was postponed to JDK8. In addition, I did not find in the official website JDK7 Support jsr305 Standard, http://www.jarvana.com/jarvana/archive-details/com/google/code/findbugs/
inflater.
pojo Object Injection : Injects and initializes the Pojo object using the @inject method, for example: @Inject foo foo.
Installation To use Roboguice, you need to download the jar files and add them to the environment variable:
Http://repo1.maven.org/maven2/org/roboguice/roboguice/2.0/roboguice-2.0.jar
Http://repo1.maven.org/maven2/com/google/inject/guice/3.0/guice-3.0-no_aop.jar
Http://repo1.maven.org/maven2/com/google/code/findbugs/
@inject method to inject and initialize the Pojo object, for example: @Inject foo foo.
InstallationTo use Roboguice, you need to download the jar files and add them to the environment variable:
http:// Repo1.maven.org/maven2/org/roboguice/roboguice/2.0/roboguice-2.0.jar
http:// Repo1.maven.org/maven2/com/google/inject/guice/3.0/guice-3.0-no_aop.jar
http:// Repo1.maven.org/maven2/com/google/code/findbugs/jsr305/1.3.9/
: Use the @inject method to inject and initialize the Pojo object, for example: @Inject foo foo.
InstallationTo use Roboguice, you need to download the jar files and add them to the environment variable:
Http://repo1.maven.org/maven2/org/roboguice/roboguice/2.0/roboguice-2.0.jar
Http://repo1.maven.org/maven2/com/google/inject/guice/3.0/guice-3.0-no_aop.jar
Http://repo1.maven.org/maven2/com/google/code/findbugs/jsr305/1.3.9/
need to download following JAR files and add them to your classpath:Http://repo1.maven.org/maven2/org/roboguice/roboguice/2.0/roboguice-2.0.jarHttp://repo1.maven.org/maven2/com/google/inject/guice/3.0/guice-3.0-no_aop.jarHttp://repo1.maven.org/maven2/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jarLet's look at a example of general activity code:Exampleactivity{ TextView1; TextView2; ImageVi
1.nineoldandroids-2.4.0.jar: http://nineoldandroids.com/Function: Animation set, support animation rotation, zoom, move, fade in effect2.guava.jar: Https://github.com/google/guavaRole:The Guava project contains several of Google ' s core libraries that we rely on in our java-based projects:collections, CAC Hing, primitives support, concurrency libraries, common annotations, string processing, I/O, and so forth.Requires JDK 1.6 or higher (as of 12.0).3.jsr305
MANIFEST.MF to your Web UI (Google yourself)manifest-version:1.0Main-class:/home/ubuntu/floodlight/src/main/java/net/floodlightcontroller/core/main.javaClass-path:/home/ubuntu/floodlight/lib/oro/jakarta-oro-2.0.8.jar/home/ubuntu/floodlight/lib/args4j-2.0.16.jar/home/ubuntu/floodlight/lib/asm-3.0.jar/home/ubuntu/floodlight/lib/asm-tree-3.0.jar/home/ubuntu/floodlight/lib/cglib-nodep-2.2.2.jar/home/ubuntu/floodlight/lib/cobertura-1.9.4.1.jar/home/ubuntu/floodlight/lib/concurrentlinkedhashmap-lru-1
First, ready to run the required jar package1) Avro-1.7.4.jar2) Commons-cli-1.2.jar3) Commons-codec-1.4.jar4) Commons-collections-3.2.1.jar5) Commons-compress-1.4.1.jar6) Commons-configuration-1.6.jar7) Commons-io-2.4.jar8) Commons-lang-2.6.jar9) Commons-logging-1.2.jar) Commons-math3-3.1.1.jarOne) Commons-net-3.1.jarCurator-client-2.7.1.jar)Curator-recipes-2.7.1.jar)Gson-2.2.4.jar)Guava-20.0.jar)Hadoop-annotations-2.8.0.jar)Hadoop-auth-2.8.0.jar)) Hadoop-common-2.8.0.jarHadoop-hdfs-2.8.0.jar)Ha
Roboguice 2.0.jar has three dependent packages: guice-3.0-no_aop.jar, javax. inject-1.jar, jsr305-1.3.9.jarRoboguice 1. *. Jar has a dependency package: guice-2.0-no_aop.jar
2.0 to 1. * advantages:Improved StabilityFragment supportedSimpler and easier to use
The difference between 2.0 and 1. * is:
2.0 does not overwrite the application. The roboapplication contained in 2.0 does not exist.
The module binding of 2.0 must inherit abstractmodules.
Google App common jar descriptions, googleappjar Summary
1. nineoldandroids-2.4.0.jar
: Http://nineoldandroids.com/
Role: an animation set that supports rotation, scaling, movement, and gradient of an animation.
2. guava. jar
: Https://github.com/google/guava
Purpose:
The Guava project contains several of Google's core libraries that we rely on in our Java-based projects: collections, caching, primitives support, concurrency libraries, common annotations, string processing, i/O, and so forth.
Re
, and When.unknown coercion type is the platform type.
You can compile the library for JSR-305 annotations, but you do not need to specify the annotation widget (such as Jsr305.jar) as a compilation dependency for the consumer of the library. The Kotlin compiler can read JSR-305 annotations from the library and does not need the annotation to appear in the classpath.
Custom Nullable Qualifiers (KEEP-79) are also supported since Kotlin 1.1.50
Type qu
Contact Us
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.