fixing OpenejbTest

git-svn-id: https://svn.apache.org/repos/asf/openejb/trunk@1352251 13f79535-47bb-0310-9956-ffa450edef68
TOMEE-247 allow to use postcontruct and predestroy annotations on hooks

git-svn-id: https://svn.apache.org/repos/asf/openejb/trunk@1352256 13f79535-47bb-0310-9956-ffa450edef68
TOMEE-247 test inithooks

git-svn-id: https://svn.apache.org/repos/asf/openejb/trunk@1352261 13f79535-47bb-0310-9956-ffa450edef68
TOMEE-247 InitHooks replaced by ServerObservers and using CDI like API

git-svn-id: https://svn.apache.org/repos/asf/openejb/trunk@1352279 13f79535-47bb-0310-9956-ffa450edef68
TOMEE-247 forgot observer package

git-svn-id: https://svn.apache.org/repos/asf/openejb/trunk@1352280 13f79535-47bb-0310-9956-ffa450edef68
temporarily yanking to re-add with svn history


git-svn-id: https://svn.apache.org/repos/asf/openejb/trunk@1352296 13f79535-47bb-0310-9956-ffa450edef68
readding with svn history
TOMEE-247


git-svn-id: https://svn.apache.org/repos/asf/openejb/trunk@1352300 13f79535-47bb-0310-9956-ffa450edef68
some missing headers

git-svn-id: https://svn.apache.org/repos/asf/openejb/trunk@1352347 13f79535-47bb-0310-9956-ffa450edef68
moving wink module to sandbox

git-svn-id: https://svn.apache.org/repos/asf/openejb/trunk@1352352 13f79535-47bb-0310-9956-ffa450edef68
removing wink since it is in sandbox

git-svn-id: https://svn.apache.org/repos/asf/openejb/trunk@1352353 13f79535-47bb-0310-9956-ffa450edef68
Make the observer capabilities hardwired into SystemInstance like Options, Properties and Components
Added Assembler{Created,Destroyed} events
@Event annotation we can use for creating validation rules on event classes and perhaps use for testing
TOMEE-247


git-svn-id: https://svn.apache.org/repos/asf/openejb/trunk@1352365 13f79535-47bb-0310-9956-ffa450edef68
TOMEE-247 managing META-INF/org.apache.openejb.observer/<alias>, keeping conf in tomee.xml (important to avoid to add all observer available if some of them should be turnable on on demand only), adding event configurationloaded

git-svn-id: https://svn.apache.org/repos/asf/openejb/trunk@1352371 13f79535-47bb-0310-9956-ffa450edef68
using ObserverAdded for update checker

git-svn-id: https://svn.apache.org/repos/asf/openejb/trunk@1352372 13f79535-47bb-0310-9956-ffa450edef68
removing dep between assembler.classic.event and assembler.classic packages, it is not really nedded

git-svn-id: https://svn.apache.org/repos/asf/openejb/trunk@1352436 13f79535-47bb-0310-9956-ffa450edef68
more validation for singleton, stateless and stateful pacakge deps

git-svn-id: https://svn.apache.org/repos/asf/openejb/trunk@1352437 13f79535-47bb-0310-9956-ffa450edef68
force juli config loading before all other (before multi threading)

git-svn-id: https://svn.apache.org/repos/asf/openejb/trunk@1352442 13f79535-47bb-0310-9956-ffa450edef68
Returned the observers to be a list rather than a map (TOMEE-247)
TOMEE-250: Added <Service> element to the config xml


git-svn-id: https://svn.apache.org/repos/asf/openejb/trunk@1352450 13f79535-47bb-0310-9956-ffa450edef68
yank unused import


git-svn-id: https://svn.apache.org/repos/asf/openejb/trunk@1352467 13f79535-47bb-0310-9956-ffa450edef68
TOMEE-247 if no service-jar.xml is found simply mock it. Add services as observer if they contain a @Observes method

git-svn-id: https://svn.apache.org/repos/asf/openejb/trunk@1352468 13f79535-47bb-0310-9956-ffa450edef68
TOMEE-251 extracting openejb integration with jpa provider to be able to import it in a webapp if it provides the jpa provider

git-svn-id: https://svn.apache.org/repos/asf/openejb/trunk@1352476 13f79535-47bb-0310-9956-ffa450edef68