/** * Initializes the bean and its metadata */ @Override public void internalInitialize(BeanDeployerEnvironment environment) { super.internalInitialize(environment); checkEJBTypeAllowed(); checkConflictingRoles(); checkObserverMethods(); checkScopeAllowed(); }