Interface AuthorizationInfo
Group items matching
in title, tags, annotations or url
6More
AuthorizationInfo (Apache Shiro :: Core 1.1.0 API) - 0 views
-
AuthorizationInfo represents a single Subject's stored authorization data (roles, permissions, etc) used during authorization (access control) checks only
- ...3 more annotations...
-
Permissions are provided in two ways: A Collection of Strings, where each String can usually be converted into Permission objects by a Realm's PermissionResolver A Collection of Permission objects
-
a Realm implementation to utilize an implementation of the Account interface instead, which is a convenience interface that combines both AuthenticationInfo and AuthorizationInfo
22More
Java EE 7 Roadmap (The Aquarium) - 0 views
- ...19 more annotations...
-
we believe that providing solid support for standardized PaaS-based programming and multi-tenancy would delay the release of Java EE 7 until the spring of 2014
30More
3. Gas3 Code Generator - Confluence - 0 views
- ...26 more annotations...
-
except of enum type
-
must declare your classes in separated source files if you want them to be correctly handled by the generator
-
GraniteDS comes with an ActionScript3 code generator that writes AS3 beans for all externalized JavaBeans, with specific support for lazily loaded EJB 3 entities
19More
Emulating "self types" using Java Generics to simplify fluent API implementation | Pass... - 0 views
- ...16 more annotations...
-
necessary because otherwise it would not be possible to add methods to a call chain which are defined in the concrete assertion class, but not in the more generic superclass where isNotNull is implemented
22More
shared by kuni katsuya on 27 Mar 13
- No Cached
Unquiet Code | Using Generics To Build Fluent API's In Java - 0 views
www.unquietcode.com/...s-to-build-fluent-apis-in-java
Java generics FluentAPI DesignPatterns ApiDesign

- ...19 more annotations...
-
creates a bad sort of dependency where we need to update the base class every time we make a new derived class. Not good!
-
The type parameter is saying “the Child class must extend Base<Child>”, forcing the Child class to provide its own type to the type system
-
Now that we can return the derived class in our chained method calls we are free to alternately call methods from the base class and the derived class
-
All of the normal polymorphic abilities are retained (you can see that we’ve implemented the abstract bake() method required by BakedGood)
8More
shared by kuni katsuya on 27 Mar 13
- No Cached
The Java Social Media API is dead: Long Live Agorava - 0 views
jaxenter.com/d-long-live-agorava-43362.html
SocialNetwork authentication CDI SeamSocial ApacheDeltaSpike jsr-357 OAuth

6More
8. Type Conversions (Java ~ ActionScript3) - Confluence - 0 views
-
GDS will neither convert AS3 String to Java numeric types or boolean, nor AS3 numeric types or boolean to String
- ...3 more annotations...
3More
Best Practices - 0 views
-
start with some of the obvious rulesets - just run unusedcode and fix any unused locals and fields. Then, run basic and fix all the empty if statements and such-like. Then peruse the design and controversial rulesets and use the ones you like via a custom ruleset
-
Using PMD within your IDE is much more enjoyable than flipping back and forth between an HTML report and your IDE
12More
UML Profile Diagrams Examples - 0 views
-
Java 1.3, EJB 1.1 and most likely UML 1.4, so it could be only of some interest
- ...8 more annotations...
17More
shared by kuni katsuya on 14 Jun 12
- No Cached
JPA Reference Guide - JBoss AS 7.0 - Project Documentation Editor - 0 views
docs.jboss.org/...JPA+Reference+Guide
jbossas7 jpa reference documentation persistence-unit jpaprovider

-
Should be hibernate3-bundled if Hibernate 3 jars are in the application archive (adapterModule and adapterClass will automatically be set for hibernate3-bundled).
- ...14 more annotations...
-
“org.jboss.as.jpa” logging can be enabled to get the following information: INFO - when persistence.xml has been parsed, starting of persistence unit service (per deployed persistence.xml), stopping of persistence unit service DEBUG - informs about entity managers being injected, creating/reusing transaction scoped entity manager for active transaction TRACE - shows how long each entity manager operation took in milliseconds, application searches for a persistence unit, parsing of persistence.xml
-
To enable TRACE, open the as/standalone/configuration/standalone.xml (or as/domain/configuration/domain.xml) file. Search for <subsystem xmlns="urn:jboss:domain:logging:1.0"> and add the org.jboss.as.jpa category
-
Applications can share the same Hibernate3 (for Hibernate 3.5 or greater) persistence provider by manually creating an org.hibernate:3 module (in the AS/modules folder). Steps to create the Hibernate3 module:
25More
Chapter 4. Remoting and Serialization - 0 views
- ...21 more annotations...
-
Due to the limited capabilities of the ActionScript 3 reflection API than cannot access private fields, it is necessary to create an externalizable AS3 class (implementing flash.utils.IExternalizable and its corresponding externalizable Java class
-
With GraniteDS automated externalization and without any modification made to our bean, we may serialize all properties of the Person class, private or not
-
In order to externalize the Person.java entity bean, we must tell GraniteDS which classes we want to externalize with a
-
externalize all classes named com.myapp.entity.Person by using the org.granite.hibernate.HibernateExternalizer
-
<include annotated-with="javax.persistence.Entity"/> <include annotated-with="javax.persistence.MappedSuperclass"/> <include annotated-with="javax.persistence.Embeddable"/>
-
found in the classloader of the GraniteConfig class, and discover all externalizers (classes that implements the GDS Externalizer interface)
5More
CDI AOP Tutorial: Java Standard Method Interception Tutorial - Java EE | Javalobby - 0 views
- ...2 more annotations...
-
allows additional behavior to be added to an existing class by wrapping the original class and duplicating its interface and then delegating to the original
105More
Java Persistence/Inheritance - Wikibooks, open books for an open world - 0 views
- ...101 more annotations...
-
Single Table Inheritance
-
table is defined for each class in the inheritance hierarchy to store only the local attributes of that class
-
similar to table per class inheritance, but does not allow querying, persisting, or relationships to the superclass
1More
Java 5 EnumUserType | Hibernate | JBoss Community - 0 views
21More
Java API Design Checklist « The Amiable API - 0 views
3More